In Navision I want to consume a function that is defined in Visual Studio through Webservice. I can Publish a function defined in navsion and consume this function in Visual Studio.net through webservice .But I want to know if the Vice versa is possible or not.Can any one clarify my doubt.
Currently NAV only supports this direction of integration using COM (Automation and OCX types) from AL, and then you need to wrap your .Net component and make it COM Exportable. This link should help you:
If the function you have in .NET is a .asmx-webservice, you can call this from NAV using an automation of the type of XMLHTTP.