How to alter the local environment of IIB message assembly to invoke multiple web-service provider dynamically

You can set the values in the local environment tree as below to create the SOAP request message.

Set values in  the below properties in the soap request node under Destination.SOAP.Request.These value will override the properties in the SOAP request node.

  • Operation:
             Overrides the operation property on the node.

               OutputLocalEnvironment.Destination.SOAP.Request.Operation='myOperation';
  • TransportType:
            Overrides the transport  property on the node to switch transport.  

            OutputLocalEnvironment.Destination.SOAP.Request.TransportType ='http';

  • UserContext:
             This value will be ignored by the SOAP request node.It applies only to the          SOAPAsync Request node.            


LocalEnvironment Overrides for HTTP transport

  • HTTPVersion:
            Overrides the HTTP version.
OutputLocalEnvironment.Destination.SOAP.Request.Transport.HTTP.HTTPVersion='HTTP/1.1';
  • Method
             Overrides the Method

OutputLocalEnvironment.Destination.SOAP.Request.Transport.HTTP.Method='GET';
  • ProxyConnectHeaders
             Specify the additional headers used for SSL connection through proxy 
  • ProxyURL
            Overrides the proxy location property on the node

OutputLocalEnvironment.Destination.SOAP.Request.Transport.HTTP.ProxyURL='myproxy';
    • RequestURI
                  it is the file path after the url and port

    OutputLocalEnvironment.Destination.SOAP.Request.Transport.HTTP.RequestURI='myproxy';

    • SSLProtocol
                Overrides the SSL protocol
    • WebServiceURL
              Overrides the webservice URL property on the node

    OutputLocalEnvironment.Destination.SOAP.Request.Transport.HTTP.WebServiceURL='http://test';


        No comments:

        Post a Comment