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

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.

Reply via email to