Topic
  • 2 replies
  • Latest Post - ‏2012-11-28T08:12:26Z by SystemAdmin
WiseMind
WiseMind
3 Posts

Pinned topic How to call SOAP WebService in Message Flow?

‏2012-11-13T11:57:04Z |
Hi,

How to call SOAP webservice in message flow and which nodes are required to use it ?

And how to read the SOAP header of the message? Any example ?
Many Thanks.
Updated on 2012-11-28T08:12:26Z at 2012-11-28T08:12:26Z by SystemAdmin
  • Kalicharan
    Kalicharan
    49 Posts

    Re: How to call SOAP WebService in Message Flow?

    ‏2012-11-14T18:01:16Z  
    you can use HTTP Request node or Soap Request Node.

    You can read the soap header by using correlation name. it will be something like

    InputRoot.XMLNSC.soap:envelope.hdr:header.ns:date
  • SystemAdmin
    SystemAdmin
    4179 Posts

    Re: How to call SOAP WebService in Message Flow?

    ‏2012-11-28T08:12:26Z  
    use HTTP Request
    and SOAPExtract
    replace XXXX by your value

    SET OutputRoot.HTTPRequestHeader.SOAPAction = "XXXXX"';
    DECLARE asi NAMESPACE 'xxxxx';
    DECLARE soapenv NAMESPACE 'http://schemas.xmlsoap.org/soap/envelope/';
    SET OutputRoot.XMLNSC.{soapenv}:Envelope.(XMLNSC.NamespaceDecl)xmlns:soapenv = 'http://schemas.xmlsoap.org/soap/envelope/';
    SET OutputRoot.XMLNSC.{soapenv}:Envelope.(XMLNSC.NamespaceDecl)xmlns:asi = 'xxxx';

    SET OutputRoot.XMLNSC.{soapenv}:Envelope.{soapenv}:Body.{asi}:XXX.{asi}:XXXX =XXXXX;