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

Problem with datetime data type in Web Service

165 Views

Hi,

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:

<CODE>SoapFaultCode:4</CODE>

<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?

Thanks