cancel
Showing results for 
Search instead for 
Did you mean: 

DateTime Field causes dump in SOAP webservice

Former Member
0 Kudos

We're consuming a web service written in C# (.NET 4.0) which has datetime (xsd:dateTime) fields. The ABAP proxy class dumps when the service response is returned with:

CX_SY_CONVERSION_NO_DATE_TIME:XSLT exception.An error occurred when deserializing in the simple transformation program /1SAI/TXS72F7E0958348097F34D9.Value 2011-12-15T00:00:00 is not a valid date with time in accordance with the XML format for ABAP

Apparently SAP expects 2011-12-15T00:00:00Z but we are getting 2011-12-15T00:00:00 (without the Z). What does this mean and how can we fix it? Our .NET developer apparently has no control over the "Z" and this all seems a bit of strange reason to dump.

Here is the partial SOAP response:

<Expires>2011-07-18T00:00:00</Expires>

Here is the relevant WSDL:

<xsd:element minOccurs="0" name="expires" type="xsd:dateTime" />

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

ping