cancel
Showing results for 
Search instead for 
Did you mean: 

Sync BPM , SOAP

Former Member
0 Kudos

Hello,

I've got another problem and hope someone could give me a hint, because reading some blogs concerning BPM and trying to adapt the things to my problem did not really help me.

The last days I created a sync process that gets information via http adapter, does some mappings and sends a soap message to a receiver, then gets the response and evaluates it. Everything ok...

Then I tried to implement the same with a sync BPM and it drives me mad...

message interfaces I created (status quo):

outbound async "message" that is sent via http adapter

abstract async "message" for integration process

abstract asynch "soap" for integration process

inbound synch "soap" to send via soap adapter

I also built an interface mapping between abstract async "message" and abstract async "soap", but there I could not enter a response mapping, of course.

Maybe I should use an outbound synch "message" and change the message interfaces in the mapping to synch types?

My process contains a receive step (async) that receives the abstract async "message", after that the message is transformed via transformation step to abstract async "soap".

At last there is a send step (sync) to send the soap and get the response.

Leaving the transformation step out and putting the mapping into the interface determination did not work either.

I always have problems with creating sender/receiver agreement and interface determination:

There is one sender and receiver agreement, two sender determinations and also two interface determinations.

What do I have to change?

Thanks a lot for your help,

Julia

Message was edited by:

Julia Poplawski

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Hello,

the message flow is like this:

1) message is sent via http adapter and received by business process

2) transformation from message into message with another message format via xsl / java mapping

3) business process sends the transformed message to receiver via soap adapter

4) receiver sends sync response

5) response mapping

If you need further information please let me know.

Thanks,

Julia

Former Member
0 Kudos

Julia,

Steps in the BPM

1. Receive Asynch ( To get data from HTTP)

2. Send synch (To send data synch to WS)

Have the mapping in the interface determination (outside of BPM).

But again, this is not the entire flow right? After getting the response from WS, what do you need to do?

Regards,

Jai Shankar

bhavesh_kantilal
Active Contributor
0 Kudos

This is a standard requirement . This is what you need,

<b>Message Interfaces</b>

1. Outbound Synch ( for HTTP )

2. Abstract Synch ( for HTTP)

3. Inbound Synch ( for SOAP )

4. Abstract Synch (for SOAP)

5. Abstract Asynch ( one each for HTTP request and HTTP response)

6. Abstract Asynch ( one each for SOAP request and SOAP response).

<b>BPM Design</b>

1. Receive --> Mode --> Open Synch Asynch Bridge

2. Transform --> Map HTTP request to SOAP request

3. Send --> Mode --> Synchronous

4. Transform --> SOAP response to HTTP response

5. . Send --> Mode Closes Synch Asynch Bridge.

<b>InterfaceMapping</b>

1. Between Abs HTTP request and Abs Asynch SOAP request

2. Between Asynch Abs SOAP response and Asynch ABs HTTP response

<b>

Receiver Determination</b>

1. Between Outbound Synch HTTP and Abstract Synch HTTP

2. Between Abstract Synch SOAP and Inbound SOAP

Regards

Bhavesh

Former Member
0 Kudos

Thanks for your response.

> But again, this is not the entire flow right? After

> getting the response from WS, what do you need to do?

That's right, I want to evaluate the response and start an rfc. Maybe I have to start this rfc several times, depending on the evaluation.

Regards,

Julia

Former Member
0 Kudos

Hi,

To implement Sync-Async in BPM see the below links

/people/sriram.vasudevan3/blog/2005/01/11/demonstrating-use-of-synchronous-asynchronous-bridge-to-integrate-synchronous-and-asynchronous-systems-using-ccbpm-in-sap-xi - Use of Synch - Asynch bridge in ccBPM

https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken] [original link is broken] - Use of Synch - Asynch bridge in ccBPM

Regards

Chilla

Former Member
0 Kudos

Hi ,

<i>My process contains a receive step (async) that receives the abstract async "message", after that the message is transformed via transformation step to abstract async "soap".

At last there is a send step (sync) to send the soap and get the response.</i>

BPM is not required for this scenario......

If you want to implement this scenario with BPM,Follow the below procedure....

/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit

BPM steps

1)Receive -Asynch(Receiving data from HTTP Adapter)

2)Send -Synch(Send data to SOAP and get the SOAP Response)

3)Send -Asynch (Send Response to the File System).....Use File system here....

Let me know If u need any further help....

Sekhar

Former Member
0 Kudos

Thanks for your reply. I am going to check the link soon.

Regards,

Julia

bhavesh_kantilal
Active Contributor
0 Kudos

><i>outbound async "message" that is sent via http adapter

abstract async "message" for integration process</i>

These should be Outbound Synch and Abstract Synch Messages. The mode of the Receive Step of the BPM will be <b>Opens Synch Asynch Bridge</b>.

><i>abstract asynch "soap" for integration process

inbound synch "soap" to send via soap adapter</i>

Same as above. Both should be synch interfaces. You need to use a Send with mode as Synchronous to send the Call to the SOAP adapter and get the response.

If you provide as exact info on what you are trying, we can give more info.

Regards

Bhavesh

Former Member
0 Kudos

Julia,

Can you give us the flow of your scenario. SO that we can help you better.

Regards,

Jai Shankar