This is more of a JAXB 2.0 problem than an Xfire issue. Take a look at something like
http://weblogs.java.net/blog/kohsuke/archive/2006/03/how_do_i_map_xs.htm l Which should give you some ideas on how to customise the binding. If you're using the Xfire wsgen task, you can also use a bindings file to customise the mapping from POJO to XSD. If you're using JAXB annotated pojos it's even easier. @XmlJavaTypeAdapter(XsdDateAdapter.class) @XmlSchemaType(name = "date") protected Calendar endDate; Where XsdDateAdapter is a type adapter that does what you need on (un)marshall. Dan OAG Best Low Cost Airline Of The Year The content of this e-mail, including any attachments, is a confidential communication between Virgin Blue, Pacific Blue or a related entity (or the sender if this email is a private communication) and the intended addressee and is for the sole use of that intended addressee. If you are not the intended addressee, any use, interference with, disclosure or copying of this material is unauthorized and prohibited. If you have received this e-mail in error please contact the sender immediately and then delete the message and any attachment(s). There is no warranty that this email is error, virus or defect free. This email is also subject to copyright. No part of it should be reproduced, adapted or communicated without the written consent of the copyright owner. If this is a private communication it does not represent the views of Virgin Blue, Pacific Blue or their related entities. Please be aware that the contents of any emails sent to or from Virgin Blue, Pacific Blue or their related entities may be periodically monitored and reviewed. Virgin Blue, Pacific Blue and their related entities respect your privacy. Our privacy policy can be accessed from our website: www.virginblue.com.au --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email
