cancel
Showing results for 
Search instead for 
Did you mean: 

SOAP -> SOAP -> SOAP BPM scenario

Former Member
0 Kudos

Hi Experts,

Could you please give me the BPM steps to do SOAP -> SOAP -> SOAP sync scenario.?

1. SOAP1 main service

2. Inside BPM call SOAP2 service.

3. Response of the SOAP2 will be the request to SOAP3 service.

4. Return the SOAP3 response to SOAP1.

Steps inside BPM:

1. Receive Sync Step -> Receive the SOAP1 request.

2. Transform Step -> Map SOAP1 request to SOAP2 request

3. Send sync Step -> Send SOAP2 request and get the response

4. Transform Step -> Map SOAP2 response with SOAP3 request

5. Send sync Step -> Send SOAP3 request and get the response

6. Send Step -> Send SOAP3 response to SOAP1

Do we need to add transformation step in 6th step?

Is the above approach correct?

Only the tranformation step's mapping is enough know?

Please share your suggestions..

Regards

Sara

Accepted Solutions (1)

Accepted Solutions (1)

former_member200962
Active Contributor
0 Kudos

Hi,

As said by Prateek if SOAP2>SOAP3 mapping is not possible in the BPM then you can include the mapping in the Interface Determination after executig the Configuration Wizard for SOAP2>SOAP3 communication. Same will be applicable to other scenarios using a BPM where you need a mapping to be done outside the BPM.

As far as the Message Interfaces are concerned these will be abstract interfaces:

1) SOAP1 Request

2) SOAP2 Request

3) SOAP2 Response

3) SOAP3 Request

4) SOAP3 Response

Regards,

Abhishek.

Do not forget to award points if you find the information useful

Former Member
0 Kudos

If the mapping is outside BPM then, I no need to use transformation step..Right?

Regards

Sara

Former Member
0 Kudos

A transformation step basically contains your mapping. So if you use it within your BPM you would need a Transformation step but outside the BPM just the mapping as such.

Cheers,

Abhy

Former Member
0 Kudos

Hi Abhisek,

Also, we have to create outbound Sync Message Interface for SOAP1 know?

Regards

Sara

former_member200962
Active Contributor
0 Kudos

Hi,

Yes you will have to create a Outbound message Interface for SOAP1 as we have to receive it from the XYZ system into BPM.

As it was stated by you that :

"1. Receive Sync Step -> Receive the SOAP1 request.

2. Transform Step -> Map SOAP1 request to SOAP2 request

3. Send sync Step -> Send SOAP2 request and get the response"

I do not find any need to create the Message Interface as Synchronous(as you dont seem to receive a response for SOAP1). If you need to get a response for SOAP1 and then map the response to SOAP2 then you may need Synchronous Interface. Please get this response thing clear from the person who assigned this work to you.

Regards,

Abhishek.

Do not forget to award points if you find the information useful

Former Member
0 Kudos

In my case I have to send the reponse back to SOAP1.

I have mentioned it in the 6th step. (6. Send Step -> Send SOAP3 response to SOAP1)

Edited by: Sara D on Jan 18, 2008 12:17 PM

former_member200962
Active Contributor
0 Kudos

Hi,

You want to send the response SOAP3_Response to SOAP1, but is it the Response generated for SOAP1_Request? As far as my knowledge goes SOAP3_Response is generated for SOAP3_Request. You can use SOAP1 Interface as Synchronous if you had SOAP1_Response, which is not the case(as far as I know). You cannot assign Response of one message with the Request of other message and make the message as Synchronous. Will be happy to solve other related doubts

Regards,

Abhishek.

Do not forget to award points if you find the information useful

Answers (1)

Answers (1)

prateek
Active Contributor
0 Kudos

---Do we need to add transformation step in 6th step?

Yes if the structures are different.

---Is the above approach correct?

I think there would b some problem in transforms. In step 4, the SOAP2 response cant be mapped to SOAP3 request as u cant map them in interface mapping. Give it a try. Better is to do the mapping outside BPM with the abstract interfaces.

Other option without BPM is to make SOAP1 - XI - SOAP3 scenario with SOAP2 lookup

Regards,

Prateek

Former Member
0 Kudos

Hi Prateek,

Thanks for the response. As per my requirement, I have to use BPM.

One doubt, Could you please tell me the difference between mapping doing it inside BPM and outside BPM. Please provide simple examples too...

Regards

Sara

prateek
Active Contributor
0 Kudos

Mapping inside BPM is done using the transform step.

Mapping outside BPM could execute at the following positions in ur case.

1. Just before receive step for SOAP1

2. After sync send step for SOAP2.

3. After send step for SOAP3

Interface mappings at these positions are not part of BPM but are treated as outside BPM.

So if in ur case if u map SOAP1 request/resp with any interface, then it ll execute before the receive step of BPM.

Regards,

Prateek

Former Member
0 Kudos

Hi Prateek,

Could you please tell me, what all message Interfaces we have to use for this scenario?

Regards

Sara