code unit web service url

Steve_ContrisSteve_Contris Member Posts: 114
edited 2013-07-29 in NAV Three Tier
I need to access a code unit function via web services. I have no problem doing this from a c# program but I would like to access the function via an URL. What is the syntax for hitting that function with an URL only like in a browser and how would the parameters be passed? I can't find any examples of this but suspect it can be done.

This will show me the soap details of the code unit:
http://tsd3:7047/DynamicsNAV/WS/Codeunit/Wlib

This shows me a page with functions and parameters as elements.

Wlib is the published name of the codeunit. How do I reference functions within it in a URL?

thanks for any help
What would Elvis do?

Comments

  • mihail_kolevmihail_kolev Member Posts: 379
    You can't call NAV services with query string url (or any aspx). You may need a middle layer webservice to call your methods.
    -Mihail- [MCTS]
Sign In or Register to comment.