If you don't like the formatting why don't you replace your Date object with
a String in the client and just format the string correctly?
Unless I've misunderstood the problem.
Paul
On Nov 8, 2007 11:53 AM, Nguyen Le <[EMAIL PROTECTED]> wrote:
> Hi,
>
> The issue is that my Soap Message Request is constructed when invoke the
> following method
> _call.invoke(new java.lang.Object[] {requestObj, sessionID});
> It appears that this method construct the Soap Request and then sends it
> to the Web Service Server. So there is no way for me to get a handle on the
> SOAP Request before it is sent to the WebService Server.
>
> Best Regards,
>
> Le
>
>
>
>
>
> On Nov 6, 2007 2:30 PM, Anthony Bull <[EMAIL PROTECTED]> wrote:
>
> > Why don't you just take the date from the soap message, format it with
> > SimpleDateFormat into the form you want and then use it?
> >
> > You need to keep in mind that having a standard date format in your
> > service means third parties can easily connect to it without having to
> > run date formatting code (e.g. .NET clients)
> >
> > Nguyen Le wrote:
> > > Hi,
> > >
> > > I was wondering if the date format for SOAP request generated by axis
> > > are hardcoded. In my SOAP request I have the following format
> > >
> > > 2007-11-21T18:00: 55.437Z
> > >
> > > But I need it to be the following
> > >
> > > 2007-11-21T18:00:
> > >
> > > I have tried modifying the SimpleDateFormat but to no avail. I have
> > > tried to do a search on google but nothing has come up. Does anybody
> > > know how to modify the date format. Any tip would be greatly
> > > appreciated.
> > >
> > > Best Regards,
> > >
> > > Le
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> > >
> > >
> >
> >
> > --
> >
> > Anthony
> > -------------------------------------
> > Anthony Bull
> > Senior Developer
> > Black Coffee Software Ltd
> > PO Box 10-192 The Terrace
> > Wellington, New Zealand
> >
> > [EMAIL PROTECTED]
> > Ph +64 4 472 8818
> > Fax +64 4 472 8811
> > -------------------------------------
> > www.bcsoft.co.nz
> > ---------------------------------------------------------------
> > This email may contain confidential or privileged information,
> > and is intended for use only by the addressee, or addressees.
> > If you are not the intended recipient please advise the sender
> > immediately and do not copy, use or disclose the contents to
> > any other person or organisation.
> > Black Coffee Software Ltd accepts no responsibility for viruses
> > received with this email, or to any changes made to the original
> > content. Any views or opinions expressed in this email may be
> > personal to the sender and are not necessarily those of Black
> > Coffee Software Ltd.
> > ---------------------------------------------------------------
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
--
Paul Fremantle
Co-Founder and VP of Technical Sales, WSO2
OASIS WS-RX TC Co-chair
blog: http://pzf.fremantle.org
[EMAIL PROTECTED]
"Oxygenating the Web Service Platform", www.wso2.com