Salesforce

How Do I Send a SOAP Header with the Request and Get the Result? (Magic xpa 2.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

How Do I Send a SOAP Header with the Request and Get the Result? (Magic xpa 2.x)

When you are invoking a Web service, sometimes you may need to send some Header XML files. Soap headers are application-specific code that can contain several different SOAP attributes.

To use the header block in a Magic xpa Invoke operation:

  1. Create the XML needed, in a BLOB or Alpha variable. The XML must be encased in a root element called EDEV_SOAP_HEADERS:

<EDEV_SOAP_HEADERS>

...

</EDEV_SOAP_HEADERS>

  1. Zoom to the Web Service Parameters.

  2. Select the XML header for the Headers field.

Now, the XML you created will be sent to the Web service. If the Web service returns a value, it will replace the content of the Header variable that you sent.

Reference
Attachment 
Attachment