axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tom Hughes" <tomatqa...@hotmail.com>
Subject [Axis2] ConvertUtil.convertToDateTime - Unparseable date
Date Mon, 02 Jul 2007 17:24:57 GMT
Hello,

Just starting out with Axis2. I'm trying to interface with an existing web 
service. I generated my client using the wsdltojava tool and the adb 
binding. When I send a request I get the following stacktrace :

Jul 1, 2007 7:25:33 PM org.apache.commons.httpclient.HttpMethodBase 
readResponse
INFO: Discarding unexpected response: HTTP/1.1 100 Continue
java.lang.RuntimeException: java.lang.NumberFormatException: Unparseable 
date: "2007-07-01T19:20:11.4766598GMT+01:00"
at 
com.globalbettingexchange.www.externalapi.SecureServiceStub.fromOM(Unknown 
Source)
at 
com.globalbettingexchange.www.externalapi.SecureServiceStub.GetAccountBalances(Unknown 
Source)
at com.tom.sportsbetting.Main.main(Main.java:25)
Caused by: java.lang.NumberFormatException: Unparseable date: 
"2007-07-01T19:20:11.4766598GMT+01:00"
at 
org.apache.axis2.databinding.utils.ConverterUtil.convertToDateTime(ConverterUtil.java:589)
at 
com.globalbettingexchange.www.externalapi.SecureServiceStub$GetAccountBalancesResponse$Factory.parse(Unknown

Source)
at 
com.globalbettingexchange.www.externalapi.SecureServiceStub$GetAccountBalancesResponse99$Factory.parse(Unknown

Source)
... 3 more

I'm using the latest release, 1.2
I've attached the wsdl. Can anyone help?

thanks, Tom

_________________________________________________________________
Txt a lot? Get Messenger FREE on your mobile. 
https://livemessenger.mobile.uk.msn.com/

Mime
View raw message