[ 
http://issues.apache.org/jira/browse/AXIS-1664?page=comments#action_59700 ]
     
Dr. Patrick Martin commented on AXIS-1664:
------------------------------------------

Failure in the test package is

- <testcase name="testTimeUKWinter" classname="test.encoding.TestDeser2001" 
time="0.094">
  <failure message="Failed to decode <result 
xsi:type="xsd:time">12:01:30.150-00:00</result> [time=12:01:30.150Z; 
tz=GMT+00:00; offset=-00:00] : expected:<12:01:30.150Z> but 
was:<13:01:30.150Z>" 
type="junit.framework.AssertionFailedError">junit.framework.AssertionFailedError:
 Failed to decode <result xsi:type="xsd:time">12:01:30.150-00:00</result> 
[time=12:01:30.150Z; tz=GMT+00:00; offset=-00:00] : expected:<12:01:30.150Z> 
but was:<13:01:30.150Z> at 
test.encoding.TestDeser.deserialize(TestDeser.java:198) at 
test.encoding.TestDeser2001.deserializeCalendar(TestDeser2001.java:196) at 
test.encoding.TestDeser2001.deserializeCalendar(TestDeser2001.java:176) at 
test.encoding.TestDeser2001.testTimeUKWinter(TestDeser2001.java:150) at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)</failure>
 
  </testcase>


I think I know what the problem is: I'm in the UK, and it's Winter.

My test case uses a Date as a field of the JavaBean parameter, which explains 
why it fails for me.

I'll modify the JavaBean and post the outcome

> Allow doAutoTypes to be configured through AxisProperties
> ---------------------------------------------------------
>
>          Key: AXIS-1664
>          URL: http://issues.apache.org/jira/browse/AXIS-1664
>      Project: Axis
>         Type: Improvement
>   Components: Serialization/Deserialization
>     Versions: current (nightly)
>     Reporter: Mark Chai
>  Attachments: AXIS Tests.zip, AutoTypesTest.jws, TypeMappingImpl.java, 
> reference.html, reference.ihtml
>
> I suggest a patch that allows for an "axis.doAutoTypes" in the AxisProperties 
> to dictate whether or not to turn doAutoTypes on or off by default. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira

Reply via email to