axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emil Dombagolla <dombago...@gmail.com>
Subject Re: Date help
Date Tue, 01 Mar 2011 12:38:56 GMT
Yes , i was thinking to do that , but i couldn't do that


i use eclipse with axis2 , as i could find it allows only access the wsdl
only from a url , so i can,t download the wsdl and change.

or i have to change the generated stub with string for date objects.

Thanks

Emil

On Tue, Mar 1, 2011 at 6:04 PM, Martin Makundi <
martin.makundi@koodaripalvelut.com> wrote:

> Make it string instead of date.
>
> **
> Martin
>
> 2011/3/1 Emil Dombagolla <dombagolla@gmail.com>:
> > Thank you so much for your help.
> >
> > web server accept only that format. otherwise it gives an error.
> >
> > what is that transport , what i need to do there.
> >
> > thank you so much
> >
> > emil
> >
> >
> >
> >
> > On Tue, Mar 1, 2011 at 5:26 PM, Martin Makundi
> > <martin.makundi@koodaripalvelut.com> wrote:
> >>
> >> Why you need to preserve such format?
> >>
> >> Try using java.util.Calendar for transport.
> >>
> >> **
> >> Martin
> >>
> >> 2011/3/1 Emil Dombagolla <dombagolla@gmail.com>:
> >> > Hi all,
> >> >
> >> > Please help me on this.
> >> >
> >> > axis2 generated all my java codes based on the WSDL.
> >> >
> >> > in my code i set the date in following format,  as java.util.Date
> >> >
> >> > 2001-01-01
> >> >
> >> > what i get when request send to the server is the following,
> >> >
> >> > Mon Jan 01 00:00:00 IST 2001
> >> >
> >> > this becomes an error because of the invalid format of date . how i
> >> > maintain
> >> > the format as yyyy-MM-dd.
> >> >
> >> >
> >> > thanks
> >> > Emil.
> >> >
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
> >> For additional commands, e-mail: java-user-help@axis.apache.org
> >>
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-user-help@axis.apache.org
>
>

Mime
View raw message