You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Benson Margulies (JIRA)" <ji...@apache.org> on 2010/08/17 19:42:17 UTC

[jira] Commented: (CXF-2946) Unexpected namespace behavior in wsdl2java

    [ https://issues.apache.org/jira/browse/CXF-2946?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12899486#action_12899486 ] 

Benson Margulies commented on CXF-2946:
---------------------------------------

I'm beginning to wonder if this is specific to retrieving the WSDL from maven, since it works fine when I run it from command line against a WSDL in the file system. It's going to take me a bit to set up to test that hypothesis.

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