Send Data to WebService from Navision

shettarvikasshettarvikas Member Posts: 106
Hi,

I need to send data from Navision to web service through MSMQ.
For example: Whenever an Item is blocked, I need to send the item no. to web services.

I have already a codeunit, which recevies messages from webservices and replies back to it.

I refered to MSDN documents, but I am not able to find or replicate the above sceniro.

Please help.

Thanks in advance,

Regards,
Vikas

Comments

  • rvduurenrvduuren Member Posts: 92
    Hello,

    Did you try http://www.mibuso.com/dlinfo.asp?FileID=593 ( NAV database <--> NAS <--> MSMQ <--> Webservice <--> .. )

    Consume a webservice using Dynamics NAV try: http://www.mibuso.com/forum/viewtopic.p ... 952#110952 an out of the box working example.
    Met vriendelijke groet, best regards,

    Rvduuren
  • shettarvikasshettarvikas Member Posts: 106
    Hi Duuren,

    Thanks for the info. I am trying to use SOAP, but I am stuck in one place, i.e.
    "Connector.Property('SoapAction','urn:ec.europa.eu:taxud:vies:services:checkVat:types');"

    In my WSDL file, SoapAction is " <soap:operation soapAction="http://tempuri.org/HelloWorld&quot; style="document" /> "

    When I tried with the above url, I am getting the error,saying that "Server did not recognize the value of HTTP Header SOAPAction: urn:tempuri.org:HelloWorld."

    Can you tell me what exactly I have to pass in SoapAction.

    Regards,
    Vikas
  • rvduurenrvduuren Member Posts: 92
    Met vriendelijke groet, best regards,

    Rvduuren
  • shettarvikasshettarvikas Member Posts: 106
    Hi Duuren,

    Thanks for your valuable help.
    The previous, solution of using Soap worked. Now I will try to work with your new solution. For this I need to change web service.

    Anyways thanks again

    regards,
    vikas
Sign In or Register to comment.