Web service integration between 2 NAV databases

KosheKoshe Member Posts: 37
edited 2012-11-08 in NAV Three Tier
Hi,
I'm trying to implement the following scenario:
We have to NAV databases (let's call it Master and Slave). We need to transfer all the items from Master to Slave.
I've create a codeunit with the parameter of type XMLPort and published it as a web service (Master NAV). Now I have to consume this web service in Slave NAV. I tried to follow this post http://www.mibuso.com/forum/viewtopic.php?f=5&t=9247&view=next by letter, but no luck. The problem is that when I get the response it only contains WSDL (the one you would get if you would look at the web service in the internet explorer).
Another interesting issue is that if I use "XMLHttpConn.setRequestHeader('SOAPAction',URL);" I get an error when sending the request.

Could anybody help me with that?

Comments

Sign In or Register to comment.