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 <
[email protected]> wrote:

> Make it string instead of date.
>
> **
> Martin
>
> 2011/3/1 Emil Dombagolla <[email protected]>:
> > 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
> > <[email protected]> wrote:
> >>
> >> Why you need to preserve such format?
> >>
> >> Try using java.util.Calendar for transport.
> >>
> >> **
> >> Martin
> >>
> >> 2011/3/1 Emil Dombagolla <[email protected]>:
> >> > 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: [email protected]
> >> For additional commands, e-mail: [email protected]
> >>
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to