cancel
Showing results for 
Search instead for 
Did you mean: 

Webservice and idoc communication.

Former Member
0 Kudos

Hi,

I am new to XI.

I have one external webservice. My web service returns customer records by taking some imput parameters.

I want to send this data to R3 using DEBMAS idoc.

I totally lost in my interface mapping.

Can anybody throgh me some light on this?

Regards,

Jo.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

Thanks for replies.

According to my knowledege,this idoc is asynchronous and webservice is synchronous.

Assume I have getRecords(String name) and returns customer arraylist.

Now,I created 1) datatype,message type for input name say dt_input and mt_input.

I imported WSDL structure of the web service.

I imported DEBMAS06 from my r3 system.

I mapped 1)mt_input to getRecord_In 2)getRecord_out to debmas06.

Now,

1) What should be my inbound message interface ? Synchrous or Asynchronous? what should be my input and output messages?

2) What should be my outbound message interface ? Synchrous or Asynchronous? what should be my input and output messages?

3) Can I have interface mapping between Synchrous and asychnous message interfaces?

4) BPM required with sync async bridge for this? Any sample blogs availble on this?

former_member187339
Active Contributor
0 Kudos

Hi,

You are having a synchronous to asynchronous communication here... so you can't use Webservice interface as syc and Idoc as Async

<i>>>I have one external webservice. My web service returns customer records by taking some imput parameters</i>

Then try to use RFC at receiver side... so that u can have both intefaces as Synchronous...

Regards

Suraj

Former Member
0 Kudos

Hi Ramu,

<i>What should be my inbound message interface ? Synchrous or Asynchronous? what should be my input and output messages?</i> - Asynchronous IDOC messge

<i>What should be my outbound message interface ? Synchrous or Asynchronous? what should be my input and output messages?</i> - Synchronous webservice messge interface you created.........

Source - webservice messge interface - outbound

Target - DEBMAS06 idoc of R/3 -Inbound

Thanks,

Rajeev Gupta

Former Member
0 Kudos

I would look at some documents that show you how to configure the adapters that you are going to be using. The <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d19fe210-0d01-0010-4094-a6fba344e098">IDoc adapter</a> and the <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d23cbe11-0d01-0010-5287-873a22024f79">SOAP adapter</a>

Also you may want to look at some sample [url=https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/cdded790-0201-0010-6db8-beb9bb2b2660]IDoc scenarios[/url]

Former Member
0 Kudos

Hi Ramu,

Get the wsdl of the web service and import it in XI. Use it as the outbound interface. U can also use the same as msg type in message mapping whr u will the wsdl struc to the DEBMAS struc.

You hv to either write a client or use sm software like altova to send the SOAP request from the web service to the XI using SOAP sender adapter. On the receiver side u hv to use the IDoc receiver adaper and do the req ale settings.

Check the following link

<a href="/people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi:///people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi

Regards,

Akshay

Check the following link as well...

<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/befdeb90-0201-0010-059b-f222711d10c0">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/befdeb90-0201-0010-059b-f222711d10c0</a>

Message was edited by:

Akshay Salunke