<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Problem with datetime data type in Web Service in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-datetime-data-type-in-web-service/m-p/1531126#M242708</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  I created local ABAP proxy based on a WSDL and some of the fields for the SOAP methods has data type datetime:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;name="MsgEndTimeStamp" type="s:dateTime" /&amp;gt;&lt;/P&gt;&lt;P&gt;name="MsgStatus" type="s:string"/&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;CODE&amp;gt;SoapFaultCode:4&amp;lt;/CODE&amp;gt; &lt;/P&gt;&lt;P&gt; &amp;lt;ERRORTEXT&amp;gt;Server was unable to read request. --&amp;gt; There is an error in XML document (1, 626). --&amp;gt; String was not recognized as a valid DateTime.&amp;lt;/ERRORTEXT&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am sure others have faced the same issue.  Can someone help?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Aug 2006 21:33:07 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-08-01T21:33:07Z</dc:date>
    <item>
      <title>Problem with datetime data type in Web Service</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-datetime-data-type-in-web-service/m-p/1531126#M242708</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  I created local ABAP proxy based on a WSDL and some of the fields for the SOAP methods has data type datetime:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;name="MsgEndTimeStamp" type="s:dateTime" /&amp;gt;&lt;/P&gt;&lt;P&gt;name="MsgStatus" type="s:string"/&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;CODE&amp;gt;SoapFaultCode:4&amp;lt;/CODE&amp;gt; &lt;/P&gt;&lt;P&gt; &amp;lt;ERRORTEXT&amp;gt;Server was unable to read request. --&amp;gt; There is an error in XML document (1, 626). --&amp;gt; String was not recognized as a valid DateTime.&amp;lt;/ERRORTEXT&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am sure others have faced the same issue.  Can someone help?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Aug 2006 21:33:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-datetime-data-type-in-web-service/m-p/1531126#M242708</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-01T21:33:07Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with datetime data type in Web Service</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-datetime-data-type-in-web-service/m-p/1531127#M242709</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Go through the link,&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/en/a2/99af4e693dee43a0519e029549647b/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/a2/99af4e693dee43a0519e029549647b/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Azaz ali.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Aug 2006 21:38:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-datetime-data-type-in-web-service/m-p/1531127#M242709</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-01T21:38:15Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with datetime data type in Web Service</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-datetime-data-type-in-web-service/m-p/1531128#M242710</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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 -&amp;gt; datetime.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks anyway&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Aug 2006 22:12:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-datetime-data-type-in-web-service/m-p/1531128#M242710</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-01T22:12:41Z</dc:date>
    </item>
  </channel>
</rss>

