Skip to Content
0
Apr 01, 2011 at 09:51 AM

EPC Capture SOAP Request error

107 Views

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?