Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-2946

Unexpected namespace behavior in wsdl2java

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Incomplete
    • 2.2.9
    • NeedMoreInfo
    • Tooling
    • None

    Description

      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.

                       <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>
      
      

      Attachments

        1. Analysis.wsdl
          13 kB
          Benson Margulies
        2. pom.xml
          2 kB
          Daniel Kulp

        Activity

          People

            Unassigned Unassigned
            bmargulies Benson Margulies
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: