cancel
Showing results for 
Search instead for 
Did you mean: 

Synchronous BPM starting with HTTP Request

Former Member
0 Kudos

Hello there,

I have a requirement to call 3 web services, consolidate their responses, and sending back the results to the caller (a web page in this case). The request is coming over HTTP (synchronously...the file sender scenario that is on SDN does not apply here).

I have tried the sync/async bridge to prototype this synchronous scenario, but I get the following error.

"The process does not support the given synchronous interface or does not support synchronous messages"

Since the Receive step only allows Async and Sync/Async Bridge options (which doesn't really apply here because all of my web service calls are synchronous), and off course the HTTP as well. What options do I have to build this scenario via BPM (or without BPM)?

Looking forward to the replies.

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Jawwad,

You r getting that error because, you r not giving the correct sender interface correctly. You use Async/Sync Bridge in BPM. There you have to synchronous interface.

You cane send a message to XI using a Web service Client or HTTP client and XI will in turn make a synchronous Webservice call and then route the response to the Web service Client.For this you can use BPM with Async/sync step. In that you have to give the synchronos interface.

I have done the same type of scenario. Give ur mailid, so that i can send one some links for your scenario to complete.

Regards,

Leela

Former Member
0 Kudos

> I have done the same type of scenario. Give ur mailid, so that i can send one some links for your scenario to complete.

>

I think you are not aware of "Rules of Engagement" otherewise you wouldn't have asked the email id..

go thorugh it..

https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/rulesofEngagement

Regards,

Sarvesh

Former Member
0 Kudos

Thanks. I have updated my profile on SDN to be public. Please let me know if you are able to send me more information through that.

Thanks a lot!

Answers (1)

Answers (1)

Former Member
0 Kudos

> Since the Receive step only allows Async and Sync/Async Bridge options (which doesn't really apply here because all of my web service calls are synchronous), and off course the HTTP as well.

Use BPM for this. And I think you are missing something. Plz go through this to get your ans..

http://help.sap.com/saphelp_nw04s/helpdata/en/83/d2a84028c9e469e10000000a1550b0/content.htm

Moreover here is a very good example, if you not gone through it...

Regards,

Sarvesh

Former Member
0 Kudos

Thanks you Sarvesh. I am going through the example you sent. Hopefully, I'll figure out what step I am doing incorrectly. If not, I'll be back

Thanks for the help!

Former Member
0 Kudos

Hi,

I'm trying to build similar ccBPM process which processes a synchronous message sent from XI SOAP sender to a Web Service. Both sender and receiver systems are synchronous.

Instead of going directly to the Web Service receiver, I would like the message to go through ccBPM.

Can you give a sample for such process ?

What receive step mode should be used - "Asynch" or S\A "bridge" ?

I tried to receive the message using "Asynch" mode and than send it with "Synch" mode.

A runtime error is generated:

<SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">

<SAP:Category>XIAdapter</SAP:Category>

<SAP:Code area="BPE_ADAPTER">SYNCHONOUS_MESSAGE</SAP:Code>

<SAP:P1 />

<SAP:P2 />

<SAP:P3 />

<SAP:P4 />

<SAP:AdditionalText />

<SAP:ApplicationFaultMessage namespace="" />

<SAP:Stack>The process does not support the given synchronous interface or does not support synchronous messages Exception CX_WAPI_DEF_PROPERTY_NOT_FOUND occurred (program: SAPMHTTP, include: , line: 0).</SAP:Stack>

<SAP:Retry>N</SAP:Retry>

</SAP:Error>

Please help !

Thanks

Orit