cancel
Showing results for 
Search instead for 
Did you mean: 

Consuming a Web service thru XI with Web Dynpro for ABAP

Former Member
0 Kudos

Hi all,

Does anyone know how to call a web service thru XI from Web Dynpro ABAP. The web service will call an RFC and bring back some data.

Some guidelines on how to achieve this will be very much appreciated.

Thanks

KG.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Kunal,

Do you want to use XI at the runtime of the service ? Usually for a synchronous call, XI is used only at the design time to design the message interface. Using this message interface the proxy class in ur ABAP system can be generated. In the interface method of your proxy class you can call your RFC. Finally generate a webservice out of this proxy class via SPROXY tsn.

Get the WSDL url of this webservice in tsn WSADMIN . Using this url you can call the service (peer-to-peer, no XI involved at runtime) with Webdynpro.

I hope this answers your question.

Regards,Girish

Former Member
0 Kudos

Kunal,

You can do this by generating an ABAP proxy from your XI interface. Once you have built your interface in XI, go to transaction SPROXY and generate the ABAP proxy class. You can then use this class in your Web Dynpro ABAP to call XI and return the data you need.

For more information, search help.sap.com on ABAP Proxy.

Hope this helps.

Nick