Sending SOAP messages in HL7 format

shettarvikasshettarvikas Member Posts: 106
Hi,

I am trying to send data from Navision to a webservice by using SOAP. But the messages must compile with HL7 standards. ie. the message sent should be in a single string.

eg:
HL7 Message format:
MSH|^~\&|Nav|XYZ|AnotherAppl|ABC|200703021912||XY^AB|1234567890|P|2.3|
PID|1|ID|ID2||Last^First^Middle|||||||||||||||||||
NTE|2|101|Billing Information|
NTE|3|billNumber|B101725|
NTE|4|ids|101725,101811|
NTE|5|billDate|20080323|

How to send above msg using SOAP code in Navision codeunit.

Request your help.

Thanks & Regards,
Vikas

Comments

  • garakgarak Member Posts: 3,263
    search the forum for SOAP
    Do you make it right, it works too!
  • ta5ta5 Member Posts: 1,164
    Hi Vikas
    Additionally to the technical aspect of how to send the soap message is the ffw:
    You must know what schema/wsdl the receiving webservice is using. This means you must know how the xml representation of your standard HL7 message looks like.

    Thomas
  • shettarvikasshettarvikas Member Posts: 106
    Hi Thomas,

    Thanks for the info.

    But the case is that we have to send the whole thing in a string format not in XML.

    Rgds,
    Vikas
  • ta5ta5 Member Posts: 1,164
    But the case is that we have to send the whole thing in a string format not in XML.

    Rgds,
    Vikas

    Yes, but imho your soap message is in xml format anyway, so you'll check with the recipient on how this xml has to look like.
Sign In or Register to comment.