Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

abap web service

Former Member
0 Likes
696

Hi Guys,

Does anybody know if an abap webservice can accept an xml file as a parameter?

Thanks!!

Jon

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
668

Hi, jon,

look at this

http://sample-code-abap.blogspot.com/2009/05/simple-code-consume-web-service-using.html

Edited by: Bhavana Amar on Jun 1, 2010 5:12 PM

Hi Guys,

Does anybody know if an abap webservice can accept an xml file as a parameter?

Thanks!!

Jon

4 REPLIES 4
Read only

Former Member
0 Likes
669

Hi, jon,

look at this

http://sample-code-abap.blogspot.com/2009/05/simple-code-consume-web-service-using.html

Edited by: Bhavana Amar on Jun 1, 2010 5:12 PM

Read only

0 Likes
668

Thanks, but i don't want this.

what i want to know is if it's possible to pass an XML file to an abap webservice as input parameter.

Thanks Anyway.

Best regards

Jon

Read only

0 Likes
668

Hi ,

If you get a wsdl(WSDL is a document written in XML. The document describes a Web service. It specifies the location of the service and the operations (or methods) the service exposes.), any web service could be called in ABAP so easily. But, some wsdl does not imported to abap workbench.

Probably, wsdl standard rule is violated. Along the way, i find some useful wsdl from http://www.webservicex.net/airport.asmx.

http://wiki.sdn.sap.com/wiki/display/Snippets/WebServiceconsumerusingABAP-PROXY

bhavana

Read only

0 Likes
668

Sure. Just declare a parameter with type STRING and send your XML using that parameter. Alternately, use a table...