08-01-2006 10:33 PM
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
08-01-2006 10:38 PM
Hi,
Go through the link,
http://help.sap.com/saphelp_nw2004s/helpdata/en/a2/99af4e693dee43a0519e029549647b/content.htm
Regards,
Azaz ali.
08-01-2006 11:12 PM
Thanks but I dont think that link is much relevant to the problems I am facing, because I cannot change the web service definition as it is used by many others. Also the target application runs on oracle so thats why some of the fields are datetime and I dont want to change that, even if I could.
I am just stuck in creating the wrapper program to call the service since the SAP converts datetime data type to string and when the messages gets to the application it cannot convert string -> datetime.
thanks anyway