The axis documentation says it follows the xml-rpc specification for data typing 
guidelines.  The specifications states xsd:time and xsd:date map to java.util.Calendar.

When I try to send an soap argument like:

<time xsi:type="xsd:time">09:33:16</time>

I receive:  

Exception in thread "main" java.io.IOException: org.xml.sax.SAXException: Bad
types (class org.apache.axis.types.Time -> class java.util.Calendar).

When I try to send an soap argument like:

<date xsi:type="xsd:date">2003-10-15</date>

I receive:  

Exception in thread "main" java.io.IOException: org.xml.sax.SAXException: Bad
types (class java.util.Date -> class java.util.Calendar).

If I change the java class argument to java.util.Date it works ok.

This is an acceptable workaround, but how do you send the aformentioned xsd:time 
argument.  I tried java.sql.Time on a whim, but it doesn't work either.


-SP

Reply via email to