I've followed the documentation pertaining to a customer binding for wsdl2java. Specifically, replacing the XMLGregorianCalendar with java.util.Date.
The command I'm using is as follows: ./wsdl2java.bat -d s:\\cxf-client\\src -compile -client -b quoteBrokerBinding.ml http://cmathrusxp:8080/QuoteService_r1.6/services/QuoteBroker?wsdl My binding file is as follows: <jaxws:bindings wsdlLocation="http://cmathrusxp:8080/QuoteService_r1.6/services/QuoteBroker?wsdl" xmlns:jaxws="http://java.sun.com/xml/ns/jaxws" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:jxb="http://java.sun.com/xml/ns/jaxb" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"> <jaxws:bindings node="wsdl:definitions/wsdl:types/xs:[EMAIL PROTECTED]'http://quoting.it.sybase.com']"> <jxb:globalBindings xmlns:jxb="http://java.sun.com/xml/ns/jaxb" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <jxb:javaType name="java.util.Date" xmlType="xs:dateTime" parseMethod="org.apache.cxf.tools.common.DataTypeAdapter.parseDateTime" printMethod="org.apache.cxf.tools.common.DataTypeAdapter.printDateTime"/> </jxb:globalBindings> </jaxws:bindings> </jaxws:bindings> And when I run the wsdl2java command I get the following error: s:\cxf-client\src\com\sybase\it\quoting\QuoteLineitemDTO.java:10: package org.w3._2001.xmlschema does not exist import org.w3._2001.xmlschema.Adapter1; I've looked at the generated source and there is an Adapter1.java file located in S:\cxf-client\src\org\w3\_2001\xmlschema So things appear to be genereating but the error seems to be coming from the -compile option. Is there something I need to do to get past this or should I simply manually build? Thanks... Chris Mathrusse [EMAIL PROTECTED] Sybase, Inc One Sybase Drive Dublin, CA 94568 (925) 236-5553
