cancel
Showing results for 
Search instead for 
Did you mean: 

Web Services - calling multiple methods

Former Member
0 Kudos

Hi All

I have a requirement to integrate sales orders from a e-commerce solution (Oxatis) into SAP via XI, using web services.

The WSDL provided contains multiple methods. In particular, there is one method to retrieve the Order Headers, a second method to retrieve the related order details, and a third to update the order status.

When calling the service, the results of the first method need to be passed as inputs into the second and third methods. The results from the second method need to be mapped to Idocs in XI and sent Async.

I am looking for some design ideas please, on how to meet this requirement.

Thanks in advance.

Accepted Solutions (1)

Accepted Solutions (1)

former_member854360
Active Contributor
0 Kudos

Hi andy,

You need to go for BPM for your requirement.

For multiple SOAP Action you need to specify the action name in SOAP receiver adapter.

You can create 3 SOAp channel with 3 different action.

or create one channel and set the Action name dynamically in Mapping.

SOAP Action

Specify the SOAP action. The action species the value for the SOAPAction in Web service messages.

Refer this link for help

http://help.sap.com/saphelp_nw04/helpdata/en/29/5bd93f130f9215e10000000a155106/content.htm

When calling the service, the results of the first method need to be passed as inputs into the second and third methods. The results from the second method need to be mapped to Idocs in XI and sent Async.

BPM step:

Receive the requyest in BPM

Send step: Make Fisrt call to SOAP(Mapping: Receive request toSOAP request)

Send step: Make second call to SOAP(Mapping First SOAP response to second SOAP Request)

Send step: Make third call to SOAP(Mapping: First SOAP response to Third SOAP Request)

Send step: Send Step to ECC(Mapping : Second response to IDOC)

Answers (0)