manual installed WebService not working completely

mheijkant
Member Posts: 14
Posted this already on the Dynamics User Group, but didn't get any reply yet.
I won't bother you with all the details, but I've installed a working RTC client for Nav 6.0 sp1. With SQL and the server tier both on a seperate server.
But now i've installed a webservice, that has a dependency with the rtc service tier.
I've configured a codeunit and a page as a webservice in navision.
When connecting to "http://myserver.mydomain:7073/DynamicsNav/WS/CRONUS_International_Ltd/services" the page won't open. But I do see a succesful kerberos logon on my sql server.
When connecting to "http://myserver.mydomain:7073/DynamicsNav/WS/CRONUS_International_Ltd/codeunit/CapitalizeCU" I receive the following page:
- <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
- <s:Body>
- <s:Fault>
<faultcode xmlns:a="urn:microsoft-dynamics-schemas/error">a:Microsoft.Dynamics.Nav.Service.WebServices.ServiceBrokerException</faultcode>
<faultstring xml:lang="nl-NL">Service "CRONUS_International_Ltd/codeunit/CapitalizeCU" was not found!</faultstring>
- <detail>
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">Service "CRONUS_International_Ltd/codeunit/CapitalizeCU" was not found!</string>
</detail>
</s:Fault>
</s:Body>
</s:Envelope>
So, it seems to work only partly.
Can anyone give me some advice on how to proceed.
Thanks for your reply.
I won't bother you with all the details, but I've installed a working RTC client for Nav 6.0 sp1. With SQL and the server tier both on a seperate server.
But now i've installed a webservice, that has a dependency with the rtc service tier.
I've configured a codeunit and a page as a webservice in navision.
When connecting to "http://myserver.mydomain:7073/DynamicsNav/WS/CRONUS_International_Ltd/services" the page won't open. But I do see a succesful kerberos logon on my sql server.
When connecting to "http://myserver.mydomain:7073/DynamicsNav/WS/CRONUS_International_Ltd/codeunit/CapitalizeCU" I receive the following page:
- <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
- <s:Body>
- <s:Fault>
<faultcode xmlns:a="urn:microsoft-dynamics-schemas/error">a:Microsoft.Dynamics.Nav.Service.WebServices.ServiceBrokerException</faultcode>
<faultstring xml:lang="nl-NL">Service "CRONUS_International_Ltd/codeunit/CapitalizeCU" was not found!</faultstring>
- <detail>
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">Service "CRONUS_International_Ltd/codeunit/CapitalizeCU" was not found!</string>
</detail>
</s:Fault>
</s:Body>
</s:Envelope>
So, it seems to work only partly.
Can anyone give me some advice on how to proceed.
Thanks for your reply.
0
Comments
-
Don't know if this should be, how it works but i've removed the companyname in the url like this "http://myserver.mydomain:7073/DynamicsNav/WS/services" and received the following page:
- <discovery xmlns="http://schemas.xmlsoap.org/disco/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<contractRef ref="http://myserver.mydomain:7073/DynamicsNav/WS/SystemService" xmlns="http://schemas.xmlsoap.org/disco/scl/" />
<contractRef ref="http://myserver.mydomain:7073/DynamicsNav/WS/Codeunit/CapitalizeCU" xmlns="http://schemas.xmlsoap.org/disco/scl/" />
<contractRef ref="http://myserver.mydomain:7073/DynamicsNav/WS/Page/CustomerPage" xmlns="http://schemas.xmlsoap.org/disco/scl/" />
</discovery>
This might be the correct answer, but I'm still not convinced because the company name is missing. I've been seeing several examples, including the company name, and i'm wondering how above configuration can get any data to or from a specific company.
After this, i changed th DataPerCompany property from table "2000000076 Web Service" to Yes, but that didn't bring resolve my first issue.
So why does it only work (for now) if the company name is omited?
Or is this the right solution, but how can you make a distinction between calling function in webservices for different companies?0 -
Got it working. Company name should be "CRONUS%20International%20Ltd."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