SAP Knowledge Base Article - Public

2788683 - Error: "SOAP:1.027 SRT: Serialization / Deserialization failed" in Web Service call.

Symptom

You have a failing Web Service call though PDI logic and during debugging in the Cloud Application Studio you see the following error:

eserialization.png

Further on you see the following Error Text or similar in Web Service Message Monitor, while investigating the cause:

"The value 0001-01-01T00:00:00+01:00 is not a valid date with time. It does not correspond to the XML format for ABAP"

Environment

  • SAP Cloud for Customer
  • SAP Cloud Application Studio
  • SAP Business ByDesign

Reproducing the Issue

Prerequisite:

  • You have a Custom solution in Cloud Application Studio.
  • You have created a Custom Business Object.
  • You have created a Custom Web Service.

Cause

The Error Text: "The value 0001-01-01T00:00:00+01:00 is not a valid date with time. It does not correspond to the XML format for ABAP" means that the DateTime parameter that you have provided in the Web Service request does not have the correct pattern.

Resolution

The expected pattern by SAP for DateTime is yyyy-mm-ddThh:mm:ssZ. You need to adjust your Web Service request to this pattern.

Keywords

SOAP, External, Pattern, DateTime, Date, Time, Request, Response, Administrator, Web Service Message Monitoring, Error, XML format for ABAP, not a valid date with time, parameter, Serialization, Deserialization, GET, SDK , KBA , AP-RC-BDS-WS , ByDesign Studio Web Services , Problem

Product

SAP Business ByDesign all versions ; SAP Cloud Applications Studio all versions ; SAP Cloud for Customer add-ins all versions ; SAP Cloud for Customer core applications all versions