cancel
Showing results for 
Search instead for 
Did you mean: 

acknowledgement for asynch scenario using SOAP adapter

Former Member
0 Kudos

Hi,

My scenario is SOAP to proxy asynchronous (using PI 7.1)

Sender is able to send the messages to XI using HTTPs protocol (SOAP adapter). since this is an asynchronous scenario XI could not send back any application acknowledge .

I understand if handshake is successful sender can see HTTP code 200 which is success.

1) Is it possible that though HTTP connection is successful and sender could not pass payload.

2) Is there any configuration needs to be done in PI 7.1 to send an acknowledge back to assure the sender that XI received payload.

3) Can we do the above using non BPM scenario.

or if BPM scenario is mandatory.

Thanks in advance.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Vamsi,

By default once xi receives the data, it would trigger automatically. Please try to test from altova xml spy or soap ui, you should see it. But if you test it from integration engine you will not see it.

Regards,

---Satish

Former Member
0 Kudos

Thanks for the reply.

I did test using SOAP UI.

This is the message I got back which does not have any meaning.

<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">

<SOAP:Header/>

<SOAP:Body/>

</SOAP:Envelope>

But I can see the HTTP status code as 200 which is success, but this is not we want.

Can PI send any other form of acknowledgement.

Former Member
0 Kudos

No Vamsi. Thats the only thing we can send. Until unless you do synchronous communication.

Regards,

---Satish

sunil_singh13
Active Contributor
0 Kudos

Hi Vamsi,

<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">

<SOAP:Header/>

<SOAP:Body/>

</SOAP:Envelope>

above acknowledgement is seen on SOAP UI as soon as SOAP UI delivers the message to the PI (irrespective of what will happen with the message in the PI).

As you know in case of Async scenario Application Ack is not possible !

But if you want to be sure if payload is received successfully the you can use BPM wherein you can have a switch which will check the existance of payload. and as per your requirment you can take a decision.

Thanks,

Sunil Singh

Former Member
0 Kudos

Hi,

You can Create a Web Service on Sender side to which PI can send a proper response. Thus your scenario will be as follows.

Sender makes SOAP call to PI >> Async server proxy executes. >> from within proxy, trigger outbound proxy to send response >> PI send this response to Sender using SOAP Receiver.

You will need to have sender send some kind of identifier for message and return back to it as part of response.

Regards,

Vikas

Former Member
0 Kudos

Sender makes SOAP call to PI >> Async server proxy executes. >> from within proxy, trigger outbound proxy to send response >> PI send this response to Sender using SOAP Receiver

server Proxy is asynchornous - how could it send a response

Could you anybody give little more details.

Thank You for your responses.

Former Member
0 Kudos

You can trigger an outbound proxy from an inbound proxy using following code within the inbound proxy.

SAP Link: http://help.sap.com/saphelp_nw70/helpdata/en/f4/8620c6b58c422c960c53f3ed71b432/content.htm

You will find sample code here.

Edited by: Vikas Aggarwal on Sep 4, 2009 7:31 PM

former_member200962
Active Contributor
0 Kudos
Sender makes SOAP call to PI >> Async server proxy executes. >> from within proxy, trigger outbound proxy to send 
response >> PI send this response to Sender using SOAP Receiver

This now becomes two different scenarios:

SOAP_Sender --> PI --> Inbound_Proxy

Outbound_Proxy--> PI --> SOAP_Receiver.

Ask the ABAPer to trigger the Outbound_Proxy once the data is received by the Inbound_Proxy.

Both the proxies are different each with an asynchronous mode of execution. Get the service details from the original sender application to which you should send the response.

Regards,

Abhishek.