cancel
Showing results for 
Search instead for 
Did you mean: 

SOAP Scenario

Former Member
0 Kudos
72

Hi All,

We have a scenario where Sender will send IDOC XML as request and it should reach the Target R/3 system. In this case, we create a Webservice on XI server. As and when we receive a request from Sender, a response should go to Sender from XI ( not from R/3 system).How can we achieve this ?

Few questions:

as the sender is sending the IDOC XML and this is the structure which shuold be posted at R/3 system.No transformation is required.How can we achieve this mapping..Can we do Graphical mappingwhere in we perform direct mapping?

Please help.

Regards,

Venki

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

answered

Former Member
0 Kudos

HI Venkat

What kind of response you are looking for from XI on this?

If sender send IDOC XML then you can sent it to R/3 but webservice as you say is required. Then at R/3 side ABAP need to consume this webservice. Then you can directly map the data as one to one mapping from IDOC XML to Webservice XML.

Thanks

Gaurav

Former Member
0 Kudos

Hi Gaurav,

Thanks for your quick response.

Actually as and when sender sends this XML IDOC , XI should send the response " Received request succesfully" and now XI should send this XML IDOC to R/3 System which is receiver in this.

It is SYNC- ASYNC scenario... I ensure that response is not from R/3 system but from XI server.

I dont understand why did you say ABAP has to consume that webservice.. By doing one-one direct mapping, XI can send that request message (IDOC XML) to R/3 system...

Please correct me if I am wrong..

Please suggest some pointers..

Regards,

Venkat.

Former Member
0 Kudos

Hi Venkat

Sorry my understanding of the requirement was wrong.

Yes by one to one mapping XI can send message to R/3.

SOAP already generates system level acknowledgment status like 200, 400 etc but in case you need to send response back as you receive data. Use BPM here as you are not using JMS adapter and RequestResponseBean also not in picture.

Thanks

Gaurav

dharamveer_gaur2
Active Contributor
0 Kudos

Hi

You can achieve this Using creation of WebService in XI.

You will send Request using SOAP client to XI then XI will send Message to other Receiver system.

You can do one to one Mapping in XI.

look this SOAP scenario

SOAP <-> XI <-> RFC/BAPI

Former Member
0 Kudos

Hi Dharamveer,

Thanks for your quick reply..

But my case is SYNC- ASYNC... Do I need BPM in this case..

The sender should get the response from XI server but not from R/3 system which is receiver in this case.

The sender sends IDOC XML and XI receives taht and sends a response to Sender "Received request successfully"..Now XI should send that IDOC XML to R/3 System..

In this case, IDOC XML sent by Sender and IDOC structure imported from R/3 system are same..So I hope Direct mapping with each field will solve the issue..

But to handle SYNC-ASYNC, do I need to BPM...This is where I am bit confused.

Regards,

Venkat.