Invalid URI: The URI is empty error from Nav Wrapper Service

nikhilrajgupta
Member Posts: 4
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
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
0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions