XML port as WS function argument

scooxscoox Member Posts: 7
edited 2013-04-07 in NAV Three Tier
Hi all,

I have created a simple xmlport and codeunit for data import using webservice. If I try to see wsdl in the browser I get this error:

This XML file does not appear to have any style information associated with it. The document tree is shown below.
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"&gt;
<s:Body>
<s:Fault>
<faultcode xmlns:a="urn:microsoft-dynamics-schemas/error">
a:Microsoft.Dynamics.Nav.Types.Exceptions.NavNCLNoExecutePermissionException
</faultcode>
<faultstring xml:lang="lt-LT">No execute permission on '' XmlPort with ID 50002.</faultstring>
<detail>
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">No execute permission on '' XmlPort with ID 50002.</string>
</detail>
</s:Fault>
</s:Body>
</s:Envelope>

http://i.imgur.com/V1SHO.jpg

For testing purposes I have tried to add any standard xmlport instead of mine and I got the same error.

Anybody has any ideas what might be wrong?

Comments

  • ara3nara3n Member Posts: 9,256
    make sure the service tier user account has SUPER role or a role that allows xmplorts to run. I'm guessing you can manually run the xmport
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • kriptkript Member Posts: 3
    Hi,

    I had the same problem and the clients license did not include XML ports.
    Adding that solved it for me.
Sign In or Register to comment.