Dear Experts,
I have developed an OData service in my Gateway system. I have created a function import in the service.
I have a requirement to pass xml as data to import parameter of this function import.
Below is my xml data which i am passing to import parameter i_xml_value
<?xml version="1.0" encoding="utf-8"?>
<asx:abap xmlns:asx="http://www.sap.com/abapxml" version="1.0">
<asx:values>
<DATA SEMANTIC_OBJECT="Recommendation-maintainScenario&/Scenarios/SAP_CROSS_SELL_WEB_CHECKOUT " COMPLETE_URL="">
</DATA>
</asx:values>
</asx:abap>
Below is the complete call
/sap/opu/odata/sap/MyServiceName/MyFunctionImportName?I_XML_VALUE='
<?xml version="1.0" encoding="utf-8"?>
<asx:abap xmlns:asx="http://www.sap.com/abapxml" version="1.0"><asx:values><DATA SEMANTIC_OBJECT="Recommendation-maintainScenario&/Scenarios/SAP_CROSS_SELL_WEB_CHECKOUT " COMPLETE_URL=""></DATA></asx:values></asx:abap>
'
I am getting repose as "Malformed URI literal syntax" (please find attachment), Could you please guide me about how can i send xml as input value to my service function import.
Help is much appreciated.
Thanks,
Anurag.