Codeunit Web Service (WSDL)

I have a simple Nav 2017 codeunit which compiles well on Nav Development. I then go forward to Publish and Expose it. But when i paste the URL on my browser (IE) its not showing my Functions. What could be wrong ? Please help. Exide Kenya Ltd/Codeunit/MPESAC2B

<definitions xmlns=""; xmlns:tns="urn:microsoft-dynamics-schemas/codeunit/MPESAC2B" targetNamespace="urn:microsoft-dynamics-schemas/codeunit/MPESAC2B">


<schema xmlns=""; elementFormDefault="qualified" targetNamespace="urn:microsoft-dynamics-schemas/codeunit/MPESAC2B"/>


<portType name="MPESAC2B_Port"/>

<binding name="MPESAC2B_Binding" type="tns:MPESAC2B_Port">

<binding xmlns=""; transport=""/>;


<service name="MPESAC2B">

<port name="MPESAC2B_Port" binding="tns:MPESAC2B_Binding">

<address xmlns=""; location=" Exide Kenya Ltd/Codeunit/MPESAC2B&quot;/&gt;





  • robbonickrobbonick Posts: 39Member
    Make sure your functions are Global Functions, not Local.
  • xenosxenos Posts: 16Member
    Open the CodeUnit. ALT+V+B or CTRL+G. Then go to the functions TAB and "stand" on the relevant function name. Open properties (SHIT+F4) and set Local to No.
Sign In or Register to comment.