Hi, I was using WSDL2Java (CXF 2.2) and XMLBeans (2.4) to generate the necessary artifacts for my WSDL that imports XSDs. The resulting code has the correct package for the Targetnamespace defined for the WSDL but the package naming is incorrect for the imported XSDs.
Here are the import statements: <xsd:import namespace="urn:com:az:ecom:integration:order:dto" schemaLocation="SubmitOrderRequest.xsd"/> <xsd:import namespace="urn:com:az:ecom:integration:order:dto" schemaLocation="SubmitOrderResponse.xsd"/> The package name generated for the aboves schemas are as follows: comAzEcomIntegrationOrderDto I am not sure what is going on. Can anyone please help? Thank You Uday -- View this message in context: http://www.nabble.com/Incorrect-Package-names-for-generated-code-with-CXF-and-XMLBeans-tp25034386p25034386.html Sent from the cxf-user mailing list archive at Nabble.com.