cancel
Showing results for 
Search instead for 
Did you mean: 

Synchronous MultiMapping Question

Former Member
0 Kudos

Hello Everyone, I have run into a scenario that I have not been able to figure out how to fit into PI and am looking for some input, so here is what we have- a Synchronous sending system that needs to send a request . That request message has to break out to 2 distinct xml documents that have to be delivered via http at the same time to the receiver. The HTTP Receiver then responds synchronously with 1 xml document that needs to go back to the initiating synchronous call. I headed down the Multimapping without BPM path till I realized that the interfaces for multimapping have to be asynchronous. Is it possible to build this scenario using BPM? We have been able to avoid BPM up to this point, and have not had the training, so I am trying to guage whether it is possible before I start experimenting.

Accepted Solutions (0)

Answers (3)

Answers (3)

henrique_pinto
Active Contributor
0 Kudos

I think you're missing a couple of details in your scenario description.

In a http message, specially a sync one, just one payload is possible.

You're talking about having 2 payloads, I don't see that working (not just in PI, in anywhere, since it'd be a violation of HTTP protocol). Either you are sending 1 XML as payload and the other as attachment, or the HTTP call wouldn't be sync.

If it's the first case, then you wouldn't need BPM, you'd just need a custom module (or not even that, if you're using PI 7.1 you could handle the attachment in a Java mapping).

A BPM would help in the second scenario: a sender system sends a file throuhg a sync call, you need to send 2 files to a http receiver which later sends you another file (asynchronously), which needs then to be sent back to the sender (sync call from the sender would be open meanwhile during the async processing). That would be the case for sync/async bridge.

Anyway, this all could and should be avoided, if you have some possibility to change the receiver side.

If you developed your interface in the receiver side in a practical manner, it would be achieved without BPM or multimapping.

Just define a super-XML schema which includes both of the XML messages you have.

The receiver side could split that to the necessary services and send back the response message.

Best,

Henrique.

Former Member
0 Kudos

Thank you for the replies. due to time constraints and some other issues we are going to implement this in MS .Net outside of PI. however once we get up and going and can catch our breath, this scenario is the first one we want to come back and cut our teeth on with bpm.

Former Member
0 Kudos

Yes, this can only be achieved by using BPM. You'll need a sync/async bridge as described by SAP help: http://help.sap.com/saphelp_nwpi711/helpdata/en/3c/831620a4f1044dba38b370f77835cc/frameset.htm