[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
WSDL2RPG and ISO 8601 Timestamp
New to wsdl2rpg, but I've got the first program talking to a web
service on a Linux/Unix box using DB2 LUW.
Their "timestamp" is ccyy-mm-ddThh:mm:ss (optional subseconds) and
according to them, matches both ISO 8601 standard and the W3C standards
for XML Schema�dateTime.
[1]http://www.w3.org/TR/xmlschema-2/#dateTime
Also the xml editing for dateTime
[2]http://www.w3schools.com/xml/schema_dtypes_date.asp
<xs:element name="startdate" type="xs:dateTime"/>
<startdate>2002-05-30T09:00:00</startdate>
They point to our (Power I) timestamp ccyy-mm-dd-hh.mm.ss.msmsms and
said it's "not ISO".
We call it ISO, but so far have lost the argument.
Had to alter the program to put the required timestamp parameter in
their format (and that works).
I did replace the Marshaller stuff for dateTime with text fields (for
now)� Is there a way to code this for what other systems call an ISO
TimeStamp ?
And is there a difference between� "Timestamp" and a xsd "dateTime".
Searching the web it seems this can often be an issue.
Jim Franz
References
1. http://www.w3.org/TR/xmlschema-2/#dateTime
2. http://www.w3schools.com/xml/schema_dtypes_date.asp
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------