hi,

i use apache maven 2.0.9 and servicemix 3.2.2

Please give any solution to resolve the Problem. This is how can i avoid the
generation of skeleton stubs.

Thanks 


A.H wrote:
> 
> thank you very much Jean-Baptiste for this Solution. 
> The Problem is that i should use the servicemix-jsr181 component in my
> implementation und not the servicemix-cxf component.
> 
> So how can i avoid the generation of skeleton stubs.In the tutorial
> "orchestration-with-jsr181" i should only set the property 
> <generateServerStubs>false</generateServerStubs> 
> 
> but it seems not to work and i become the fault "duplicate class".
> 
> 
> 
> 
> 
> 
> 
> Jean-Baptiste Onofre wrote:
>> 
>> Have you make a try using directly CXF ?
>> 
>> You can use something like:
>> 
>> <plugin>
>>      <groupId>org.apache.cxf</groupId>
>>      <artifactId>cxf-codegen-plugin</artifactId>
>>      <version>${cxf.version}</version>
>>      <executions>
>>              <execution>
>>                      <id>generate-sources</id>
>>                      <phase>generate-sources</phase>
>>                      <configuration>
>>                              
>> <sourceRoot>${project.build.directory}/generated/cxf</sourceRoot> 
>> 
>>                              <wsdlOptions>
>>                                      <wsdlOption>
>>                                              
>> <wsdl>${basedir}/src/main/wsdl/myService.wsdl</wsdl>
>>                                      </wsdlOption>
>>                              </wsdlOptions>
>>                      </configuration>
>>                      <goals>
>>                              <goal>wsdl2java</goal>
>>                      </goals>
>>              </execution>
>>      </executions>
>> </plugin>
>> 
>> Maybe I haven't right understood your request.
>> 
>> Regards
>> JB
>> 
>> A.H wrote:
>>> Hi, 
>>> i have the same problem like marco. 
>>> i m currently doing a servicemix project inw hich i had to generate
>>> skeletons for couple of webservices i am using
>>> url of the tutorial is here
>>> 
>>> http://servicemix.apache.org/orchestration-with-jsr181.html
>>> 
>>> i have following pom (only relevant part)
>>> 
>>> <plugin>
>>>         <groupId>org.apache.servicemix.tooling</groupId>
>>>         <artifactId>xfire-maven-plugin</artifactId>
>>>         <version>${servicemix-version}</version>
>>>         <executions>
>>>           <execution>
>>>             <phase>generate-sources</phase>
>>>             <goals>
>>>               <goal>wsgen</goal>
>>>             </goals>
>>>             <configuration>
>>>               <generateServerStubs>false</generateServerStubs>
>>>               <wsdls>
>>>                  <wsdl>src/main/resources/service.wsdl</wsdl>
>>>                  <wsdl>src/main/resources/uszip.wsdl</wsdl>
>>>                 <wsdl>src/main/resources/LocalTime.wsdl</wsdl>
>>>               </wsdls>
>>> 
>>>              
>>> <outputDirectory>target/generated-sources</outputDirectory>
>>>              
>>> <profile>org.codehaus.xfire.jaxws.gen.JAXWSProfile</profile>
>>>             </configuration>
>>>           </execution>
>>>         </executions>
>>>       </plugin>
>>> 
>>> 
>>> and i want to avoid the generation of skeleton stubs.....that's why i
>>> have
>>> set the property
>>> <generateServerStubs>false</generateServerStubs>
>>> 
>>> but it seems not to work.....
>>> 
>>> anyone could help me out?
>>> thanks and regarfds
>> 
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/wsgen-and-generateServerStubs-tp25645181p25666153.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to