on 04-01-2011 10:51 AM
Hello dear experts,
I'm trying to send a simple SOAP EPC capture request to SAP OER. The request:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:pta="http://sap.com/xi/PTA" xmlns:stan="http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader">
<soapenv:Body>
<pta:EPCISDocument schemaVersion="1.0" creationDate="2011-04-01T10:02:59+00:00">
<EPCISBody>
<EventList>
<ObjectEvent>
<eventTime>2012-12-12T06:36:17Z</eventTime>
<eventTimeZoneOffset>+00:00</eventTimeZoneOffset>
<epcList>
<epc type="sgtin">urn:epc:id:sgtin:0000.0000.11112</epc>
</epcList>
<action>ADD</action>
</ObjectEvent>
</EventList>
</EPCISBody>
</pta:EPCISDocument>
</soapenv:Body>
</soapenv:Envelope>
But than I'm getting an error, that I not understand:
<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP:Body>
<SOAP:Fault>
<faultcode>SOAP:Server</faultcode>
<faultstring>System Error</faultstring>
<detail>
<s:SystemError xmlns:s="http://sap.com/xi/WebService/xi2.0">
<context></context>
<code>ABAP.PARSE_APPLICATION_DATA</code>
<text>Error during XML => ABAP conversion: Request Message; CX_ST_DESERIALIZATION_ERROR in /1SAI/SAS261BFEA7FED17BDDAAA1 Line 19 An error occurred when deserializing in the simple transformation program /1SAI/SAS261BFEA7FED17BDDAAA1 (Der Wert '' liegt nicht im Wertebereich des XML-Schema-Typs 'decimal' oder verletzt eine der angegeben Einschränkungen. Kernel ErrorId: ST_VALIDATION_</text>
</s:SystemError>
</detail>
</SOAP:Fault>
</SOAP:Body>
</SOAP:Envelope>
Can somebody help me please?
Hi Juergen Mueller
I think on receiver side you have Proxy. so the thing is debug your inbound Proxy and you come to know where it is getting failed. You can do it by following way..
take payload which is there after mapping and test your inbound proxy in debug.
to debug use
go to sproxy.. then select your inbound proxy and click execute(F8) and provide the payload in provided window click on execute and debug the proxy..
problem is somewhere the data type is not matching or length is not matching..
Thanks,
Bhupesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
The error
Der Wert '' liegt nicht im Wertebereich des XML-Schema-Typs 'decimal' oder verletzt eine der angegeben Einschränkungen
Means you are passing '' to a field that expects a decimal value. That is why it cannot be parsed by your ABAP program.
Hope this helps,
Mark
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.