NAV service giving NULL parameter error

svikas1svikas1 Member Posts: 25
edited 2011-10-25 in NAV Three Tier
Hi All,

In NAV 2009 i published a codeunit as webservice. While invoking that service it is giving error

- <s:Fault>
<faultcode xmlns:a="urn:microsoft-dynamics-schemas/error">a:Microsoft.Dynamics.Nav.Service.WebServices.ServiceBrokerException</faultcode>
<faultstring xml:lang="en-US">Parameter iNPUTSTRING in method Changetoupper in service testservice is null!</faultstring>
- <detail>
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">Parameter iNPUTSTRING in method Changetoupper in service testservice is null!</string>
</detail>
</s:Fault>

Can anyone help me....


Regards
Vikas

Comments

  • freddy.dkfreddy.dk Member, Microsoft Employee Posts: 360
    Can you share the code from the consuming application?
    Freddy Kristiansen
    Group Program Manager, Client
    Microsoft Dynamics NAV
    http://blogs.msdn.com/freddyk

    The information in this post is provided "AS IS" with no warranties, and confers no rights. This post does not represent the thoughts, intentions, plans or strategies of my employer. It is solely my opinion.
  • Erik_HeirbautErik_Heirbaut Member Posts: 16
    I also had a Webservice that gave a parameter NULL error, while the parameter (In our case a User ID) was certainly not NULL.

    At the customers site, the WebService servicetier was installed after and separated from the RTC Servicetier with another name.
    And believe it or not, but our solution to get rid of the NULL error was to remove both servicetiers and create them again, in one Service- subdirectory and, most important, with 1 instance name!
Sign In or Register to comment.