axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Black <jbl...@ieee.org>
Subject Re: Problem where Java2WSDL\WSDL2Java converts Dates to Java.util.Calendar
Date Wed, 18 Jun 2003 19:19:05 GMT
Reynardine wrote:

>The problem is that when I go in and edit the automatically generated SoapBindingImpl.java,
I find that axis has changed the dates to Calendars i.e. 
>
  Date is mapped to Calender, I believe that is according to a 
specification.  So, using the date class would be a bad idea, since you 
won't necessarily have everything where you want it when it is 
reassembled by the other end (server -> client or whatever).

  For Vector just turn it into an array of some object, and send that 
across instead, as you can then rebuild the vector on the receiving end 
afterwards, though you may find it easier just to leave it as an array 
of objects.

>  
>

-- 
"We do not lose our identity in our relations with others; in part, at least, we achieve our
identity by those relations." Tony Blair, 1993




Mime
View raw message