2013 Aug 01 9:03 PM
I have to pass the below XML Input my ABAP Method (Techically ABAP Proxy its a External Webservice i consumed in ABAP)
the input i have to pass to Input_string is
<n0:filterDoc
xmlns:n0="http://webservice.facfilter.accuity.com"><n0:requestXML><Request
ClientID="d88b1c85-7d81-4f3f-bf1e-030f488455df" Id="1008"> <Field
Name="Id" UniqueField="Y">1111</Field> <Field Name="Name"
NameField="Y">Varda Lakshmi</Field> </Request></n0:requestXML>
</n0:filterDoc>
TRY.
CREATE OBJECT io_clientproxy
EXPORTING
logical_port_name = 'S31030'.
CATCH cx_ai_system_fault.
ENDTRY.
TRY.
CALL METHOD io_clientproxy->filter_doc
EXPORTING
input = input_string
IMPORTING
output = output.
CATCH cx_ai_system_fault.
CATCH cx_ai_application_fault.
ENDTRY.
Can somebody help me in how to pass the XML input the ABAP Method (Proxy). We are not using PI or XI i consumed the WEB service in ABAP
I have to pass the below XML Input my ABAP Method (Techically ABAP Proxy its a External Webservice i consumed in ABAP)
the input i have to pass to Input_string is
<n0:filterDoc
xmlns:n0="http://webservice.facfilter.accuity.com"><n0:requestXML><Request
ClientID="d88b1c85-7d81-4f3f-bf1e-030f488455df" Id="1008"> <Field
Name="Id" UniqueField="Y">1111</Field> <Field Name="Name"
NameField="Y">Varda Lakshmi</Field> </Request></n0:requestXML>
</n0:filterDoc>
TRY.
CREATE OBJECT io_clientproxy
EXPORTING
logical_port_name = 'S31030'.
CATCH cx_ai_system_fault.
ENDTRY.
TRY.
CALL METHOD io_clientproxy->filter_doc
EXPORTING
input = input_string
IMPORTING
output = output.
CATCH cx_ai_system_fault.
CATCH cx_ai_application_fault.
ENDTRY.
Can somebody help me in how to pass the XML input the ABAP Method (Proxy). We are not using PI or XI i consumed the WEB service in ABAP
2013 Aug 02 12:45 AM
Hi,
May be this wiki will help you.
http://wiki.sdn.sap.com/wiki/display/ABAPConn/How+to+configure+a+Service+Consumer
Cheers,
Arindam
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |