Skip to Content
author's profile photo Former Member
Former Member

SOAP Sender Async Scenario - return message

In SAP Note, it is provided

<i>Q. What should my web service return to the adapter for asynchronous calls?

A: Currently, the receiver adapter expects an HTTP 200 with a SOAP envelope with an empty content for successful delivery. Any other response will result in a XI system error and triggers retries of the message.</i>

Instead of envelope with empty content, if i want an element, say, : <Result>The Result</Result>, then do i need to add only the response message, or any other modification is also required?

Thanks,

Prateek

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Nov 21, 2007 at 02:07 PM

    Hi Prateek,

    If u need to build a sync-async bridge then you can do that in the Business process Engine. And also you can moniter this process in the T.Code SXMB_MONI_BPE.

    Reward with pts if helpful

    Regards

    Sai Ganesh

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 21, 2007 at 01:49 PM

    Hi,

    As soon as you want a response message, it becomes a synchronous interface.Asynchronous interfaces will fail if a response message is provided and PI will keep trying to resend a number of times. Everything would look ok in SXI_MONITOR but if you checked the message in the RWB, you would see an APPLICATION FAULT being raised.

    So you will need to amend PI accordingly to reflect this change.

    You will need to change:

    1. New data type for response

    2. New message type for response

    3. Change interface from being async to synch

    4. Create message mapping for response

    5. Amend interface mapping for response

    Cheers

    Colin.

    Message was edited by:

    Colin Bickell

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Nov 21, 2007 at 01:54 PM

    Just to reconfirm:

    If such a <Result>The Result</Result> element is required, then it would become a Sync scenario. And my async scenario needs to be converted into Sync Async bridge.

    Thanks,

    Prateek

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.