Benson,

Did you figure this one out?   I'm quite surprised by that behavior as well.   
I'm not sure where the com.basistech.rosette.analysis would have come from.

Dan


On Saturday 14 August 2010 4:33:20 pm Benson Margulies wrote:
> Embedded in my WSDL I have a schema:
> 
> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"; targetNamespace="
> http://util.basistech.com"; version="1.0">
> ...
> </xs:schema>
> 
> That TNS is nothing like the overall TNS of the WSDL: urn:basistech.com:
> rosette:analysis.
> 
> Yet, the following codegen invocation generates all of the code into one
> package:
> 
> com.basistech.rosette.analysis
> 
> I have this idea that I used to know why, but I am currently stumped.
> 
> 
> 
>  <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>

-- 
Daniel Kulp
[email protected]
http://dankulp.com/blog

Reply via email to