Salesforce

How Do I Make Web Service Calls Using the HTTP Component? (Magic xpi 4.6)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

How Do I Make Web Service Calls Using the HTTP Component? (Magic xpi 4.6)

Sometimes, you might want or need to send a Web service call using the HTTP component instead of the Web Service component.

This topic explains how to configure the HTTP step (based on the example supplied in the How Do I Configure Magic xpi as a Web Services Consumer? topic) as follows:

  1. Create an HTTP resource.

  1. Drag and drop an HTTP component into the flow area, and set the Post method

.

  1. To see the content of your HTTP request body, use XML Spy, SoapUI, or any third-party tool to trace the request and then take the HTTP header from there.

  2. To know what the sent parameters are in this example (Request Header and Data BLOB – see the following screenshots), the whole header and body were copied ‘as is’ from SoapSpy.

Note:

If the WSDL cannot be loaded in Magic xpi, and therefore SoapSpy cannot be used, you can use SoapUI and Soap ToolKit to trace the call.

Reference
Attachment 
Attachment