Skip to Content
avatar image
Former Member

XI to webservice(async) and Webservice to XI (Async)

Here is my requirement.

I want to send some details from XI async and i do not want any reponse from webservice.

I need to have some basic information about webservice like how it stores the data,how it receives the data from XI(don mention by SOAP adater),how it sends data to XI incase of async..etc..

Please make me clear about the basics of webservice.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Sep 22, 2008 at 09:43 AM

    Hi,

    Check this link.

    You will get all required basic information about Webservice.

    http://www.w3schools.com

    Regards,

    Krish

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 22, 2008 at 09:44 AM

    The SOAP adapter FAQ on service market place explain Asynch SOAP calls the best, and I quote,

    2. Sender Asynchronous Calls

    * Q: What are the correct sender options for asynchronous calls?

    A: The setting in the channel configuration determines how the message is passed to the XI infrastructure. Setting the channel's quality of service to ExactlyOnce guarantees the delivery of the message exactly once between the adapter and the back end. This will not automatically guarantee the delivery with exactly once between the client and the back end. The behavior of the client determines the level of quality of service achieved.

    When the client sends a SOAP message and ignores the response completely as in "fire-and-forget", the quality of service with AtMostOnce may be realized.

    When the client sends a SOAP message and checks if the response is an HTTP 200 response message, the quality of service with AtLeastOnce can be realized. In this case, the client must resend the message until such a successful response is returned. When the message successfully accepted by the adapter, an HTTP 200 response with an empty SOAP envelope is returned.

    When the client resends the message, there is a possibility that the message may arrive more than once. However, this possible duplicate only happens, when the client previously received no response message at all or an HTTP 500 with duplicate message ID error. For all other cases, the client can resend the message without resulting any duplicate. In order to eliminate duplicates for all cases, the client may send the message with a unique message ID. This message ID will be used to create an XI message so that the identity of the created XI message and that of the original SOAP message are coupled. The client must resend the message with the same message ID until an HTTP 200 reponse is returned or an HTTP 500 response with SOAP fault DuplicateMessageException. In either case, the client can assume that the message is delivered exactly once (theoretically the message ID could be identical to another message ID used previously but the probability of this is extremely low).

    Receiver Asynchronous Calls

    * Q: What are the correct receiver options for asynchronous calls?

    A: The processing mode of the receiver is determined by the message that reaches the receiver. If you are sending a message with some quality of service, to provide this service of quality to the server, your must make sure two things. First, your receiver channel must be configured to pass the XI message ID to the server. Second, your web service must check duplicates using this message ID.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      I think it is not best for SOAP only but for all adapters that can be Synch.

      It also some in SAP XI/PI best practices to make Aynch call as much as possible (until and unless there is not real requirement)

      Reason: For QoS BE, it is mendatory that receiver service should be up and send responce back.

      This is also slow process...XI send the message to receiver...the receiver takes its own time to process it and then send the responce back....so they are tightly coupled.

      Thanks

      Farooq

  • Sep 22, 2008 at 12:07 PM

    You should do request mapping only, not response mapping.

    It will work.

    Add comment
    10|10000 characters needed characters exceeded