Skip to Content
Former Member
Aug 01, 2006 at 09:33 PM

Problem with datetime data type in Web Service



I created local ABAP proxy based on a WSDL and some of the fields for the SOAP methods has data type datetime:

name="MsgEndTimeStamp" type="s:dateTime" />

name="MsgStatus" type="s:string"/>

Since ABAP stack doesnt support dataTime data type it has created the proxy method with data type STRING. Now when I call the proxy method (consuming the service) I get an error:


<ERRORTEXT>Server was unable to read request. --> There is an error in XML document (1, 626). --> String was not recognized as a valid DateTime.</ERRORTEXT>

I am sure others have faced the same issue. Can someone help?