hi!

we started to make use of a webservice with generating an Apache Axis2 ADB
webservice client stub. 
the webservice itself is provided by .NET on a IIS server.

the problem we have is that when the webservice serialize a DateTime Object
in a format of yyyy-MM-dd'T'HH:mm:ss.ssssss'Z'   ssssss - dynamic positions
for the fractional seconds
but the ADB (org.apache.axis2.databinding.utils.ConvertorUtil ) that used by
Axis2 expect to format like yyyy-MM-dd'T'HH:mm:ss.sss'Z' when the fractional
seconds no more then a three positions

we understands from the webservice suppliers that the format is as define in
W3 specification 
http://www.w3.org/TR/xmlschema-2/#dateTime
http://www.w3.org/TR/xmlschema-2/#dateTime 

some samples that we get in invoking the  webservice 
2007-06-20T17:00:37.8380863GMT+02:00
2007-06-20T17:00:45.3GMT+02:00


java.lang.RuntimeException: java.lang.NumberFormatException: Unparseable
date: "2007-06-20T17:00:37.8380863GMT+02:00"
        at
com.orbograph.www.orboservice.OrboServiceStub.fromOM(OrboServiceStub.java:9400)
        at
com.orbograph.www.orboservice.OrboServiceStub.GetServerTime(OrboServiceStub.java:777)




Thanks,
zvika.
-- 
View this message in context: 
http://www.nabble.com/axis2-Calendar-convertToDateTime-tf3952614.html#a11214119
Sent from the Axis - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to