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.
Comments
- <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?