2010 Jun 01 3:47 PM
Hi Guys,
Does anybody know if an abap webservice can accept an xml file as a parameter?
Thanks!!
Jon
2010 Jun 01 4:12 PM
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, 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
2010 Jun 01 4:12 PM
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
2010 Jun 01 4:35 PM
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
2010 Jun 01 5:44 PM
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
2010 Jun 01 6:19 PM
Sure. Just declare a parameter with type STRING and send your XML using that parameter. Alternately, use a table...
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |