[ https://issues.apache.org/jira/browse/CXF-2946?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Kulp updated CXF-2946: ----------------------------- Attachment: pom.xml If I use the attached pom placed in the same directory as the above wsdl and run it, it generates stuff into two packages: target/generated/cxf/com/basistech/rosette/analysis: Analysis.java AnalysisResults.java AnalyzePlainText.java NameReference.java XmlResultStyle.java AnalysisInput.java AnalysisService.java AnalyzePlainTextResponse.java ObjectFactory.java package-info.java target/generated/cxf/com/basistech/util: Iso15924.java LanguageCode.java ObjectFactory.java which looks correct. Can you run mvn with -X? It should print a line like: Loading FrontEnd jaxws ... Loading DataBinding jaxb ... wsdl2java -d /tmp/t2/target/generated/cxf -verbose file:/tmp/t2/Analysis.wsdl wsdl2java - Apache CXF 2.2.9 I'm curious to see if it's picking up some extra options in there or something. > Unexpected namespace behavior in wsdl2java > ------------------------------------------ > > Key: CXF-2946 > URL: https://issues.apache.org/jira/browse/CXF-2946 > Project: CXF > Issue Type: Bug > Components: Tooling > Affects Versions: 2.2.9 > Reporter: Benson Margulies > Attachments: Analysis.wsdl, pom.xml > > > I run the attached wsdl through wsdl2java with the following, and all the > generate code ends up in the same package, even though there are several > schemata with several different namespace in the wsdl. > {code} > <plugin> > <groupId>org.apache.cxf</groupId> > <artifactId>cxf-codegen-plugin</artifactId> > <version>${cxf-version}</version> > <executions> > <execution> > <id>generate-sources</id> > <configuration> > > <sourceRoot>${project.build.directory}/generated/cxf</sourceRoot> > <wsdlOptions> > <wsdlOption> > <wsdlArtifact> > > <groupId>com.basistech.jug</groupId> > <artifactId>rex-ws</artifactId> > > <version>${project.version}</version> > </wsdlArtifact> > </wsdlOption> > </wsdlOptions> > </configuration> > <goals> > <goal>wsdl2java</goal> > </goals> > </execution> > </executions> > </plugin> > {code} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.