Hi,

In response to "ow"s request for java.util.Date <-> xsd:dateTime
conversion, I have written an Axis sample that uses a custom generator
in WSDL2Java to bind dateTime to java.util.Date instead of
java.util.Calendar. You can download the sample set at [1], the sample
is called StaffLocator.

Note: I am not endorsing (or condemning) this approach and I understand
that this mapping is contra the JAX-RPC spec. It's just a sample. :-)

Please let me know if there are better approaches or if there are other
samples you would like to see.

Stu

[1] http://staff.develop.com/halloway/wsdlAndAxis/axisSamples.zip

Stuart Halloway
DevelopMentor
Guerrilla Java Web Services June 16! 
http://www.develop.com/courses/gjws 


Reply via email to