Skip to Content

Multiple Operations - Service Interface - PI 7.11

Hi Experts,

I have doubt and I'd like to share with you.

The scenario is inbound - SOAP TO PROXY

WEBSERVICE ---> SAP PI --->SAP ECC.

I have an structure with header and item, but depend of fields that are populated into header could trigger two different interfaces ((ME21N) Purchase Order + (MIGO) Receipt ) or ((MBST) Reversal Request and (MIGO) Receipt).

What's the point.

When some fields are for trigger ((ME21N) Purchase Order + (MIGO) Receipt ) the Service Interface must be asynchronous and when its ((MBST) Reversal Request and (MIGO) Receipt) must be synchronous.

Is it possible create a Service Interface (SI_Webservice_Sender) with two operations with different characteristics (Sync or Async) Inbound with only one Service Interface Outbound ?

How is the best way to develop this interface ?

The requirement one interface with two characteristic synchronous and asynchronous depends of date will come in header of message, so only one WSDL Outbound to be used from Webservice.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    May 23, 2013 at 09:31 PM

    >Is it possible create a Service Interface (SI_Webservice_Sender) with two operations with different characteristics (Sync or Async) Inbound with only one Service Interface Outbound ?

    You can have two operations but you cannot combine sync and async mode together.  Since you get response from one and not for other, You might have to use ccbpm for this. Otherwise handle logic  in proxy in a way always to get synchornous communication/return response and avoid bpm.

    Add comment
    10|10000 characters needed characters exceeded

    • Ricardo Viana Baskar Gopalakrishnan

      Baskar,

      Sorry but I'm not follow you. What you mean ? >"you can combine response (sync mode) and some dummy response(async mode) both in the target(inbound) and source (outbound) message structure. This way you can have single wsdl on the sender side and have one response/request structure for both sides"

      One service interface inbound synchronous to SAP ECC with Req/Resp structure and only one service interface outbound from ECC with Resp structure asynchronous ?

  • May 23, 2013 at 11:47 PM

    Hi Ricardo,

    You can go with a synchronous structure on the inbound side. Based on response message you can do a receiver determination.For the response which is not required, you can have a dummy file receiver and dump the file in a temp folder on application server while the response for ((MBST) Reversal Request and (MIGO) Receipt) can be mapped to SOAP response.

    for housekeeping, keep deleting the files through a script. Basis can facilitate that.

    hope it helps!

    Ambrish

    Add comment
    10|10000 characters needed characters exceeded