I'm getting invalid results from my Web Service based under Axis2
v.1.1.1.  It is serializing my Calendar attribute of my Javabean to GMT
- without respect for DST offset in effect.
 
We have a server running BST (TimeZone="GB-Eire") where DST is in
effect, offset =1).
 
Assumptions:
---------------------
Date in: "16-MAY-2007"
TimeZone = "'GB-Eire"
ZONE_OFFSET: 0  
DST_OFFSET: 1
 
Javabean:
-------------
// default TimeZone & Locale
private Calendar basePriceDate = new GregorianCalendar();

As a test, If I parse into a Date like: 
------------------------------------------------------
new SimpleDateFormat("dd-MMM-yyyy").parse("15-MAY-2007").toString)
=   Wed May 16 00:00:00 BST 2007
new SimpleDateFormat("dd-MMM-yyyy").parse("15-MAY-2007").toGMTString) =
15 May 2007 23:00:00 GMT
 
SOAP result to my Webservice
-----------------------------------------------
 
            <basePriceDate
xmlns="http://types.ws.gcs.ubs.com/xsd";>2007-05-15T23:00:00.000Z</basePr
iceDate>

As you can see it follows the same conversion to GMT......but without
respect to DST offset.  
 
Is there a way to override this behavior????
 
Ken
 
Visit our website at http://www.ubs.com

This message contains confidential information and is intended only 
for the individual named.  If you are not the named addressee you 
should not disseminate, distribute or copy this e-mail.  Please 
notify the sender immediately by e-mail if you have received this 
e-mail by mistake and delete this e-mail from your system.
        
E-mails are not encrypted and cannot be guaranteed to be secure or 
error-free as information could be intercepted, corrupted, lost, 
destroyed, arrive late or incomplete, or contain viruses.  The sender 
therefore does not accept liability for any errors or omissions in the 
contents of this message which arise as a result of e-mail transmission.  
If verification is required please request a hard-copy version.  This 
message is provided for informational purposes and should not be 
construed as a solicitation or offer to buy or sell any securities 
or related financial instruments.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to