Hi All,
I need help regarding an issue with NAV web services. Before describing the problem, i will like to explain the underlying architecture:
Architecture:
There is a physical server hosting 4 NAV databases. Each database has 3-4 webservices exposing different functionalities. These web services have to be comsumed by third party applications (Like Oracle Enterprise Service Bus). since NAV web services requires Windows Login, thus we created a COM wrapper in Dotnet, which will accept the parameters from the external applications and accordingly call the underlying NAV web service based on certain parameters.
Problem:
The other web methods exposed through the wrapper are working absolutely fine. But one method is returning the error
"Invalid URI: The URI is empty". I have diagnosed the following things, but nothing can be concluded as to why it is happening:
1) The config file to identify the NAV web service URL is correct.
2) The login credentials being used to access the NAV web service are correct.
3) I created a sample web application to consume the same web method from wrapper web service; it worked fine and called the NAV web service perfectly.
It is only through the external application that this web method is not being executed. Though, at the same time, same external application is able to call other web methods in the wrapper web service.
Below is the config xml file which is being used to access the appropriate NAV web service:
<?xml version="1.0" encoding="utf-8"?>
<ClientServiceCredentials>
<Client Code="KO" COCO_FOFOCode="F">
<URL>
http://172.30.17.76:7049/UWDKO/ws/FOFO_KO/Codeunit/StoreDeboarding</URL>
<UserName>admin</UserName>
<Password>admin</Password>
<Domain></Domain>
</Client>
<Client Code="KO" COCO_FOFOCode="U">
<URL>
http://172.30.17.76:7049/UWDKO/ws/FOFO_KO/Codeunit/StoreDeboarding</URL>
<UserName>admin</UserName>
<Password>admin</Password>
<Domain></Domain>
</Client>
</ClientServiceCredentials>
Please help me out of this problem as i am not able to reach the root cause of the issue. ](*,)
Thanks & Regards,
Nikhil Raj Gupta