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

Oliver Jelinski commented on CXF-3778:
--------------------------------------

I have too much work these days, so I will start further investigations at the 
weekend.

> cxf-wadl2java-plugin (maven) does not generate an implementing service-class, 
> neither with <impl>true</impl> nor with <extraarg>-impl</extraarg>
> ------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CXF-3778
>                 URL: https://issues.apache.org/jira/browse/CXF-3778
>             Project: CXF
>          Issue Type: Bug
>          Components: Tooling
>    Affects Versions: 2.4.1, 2.4.2
>         Environment: Maven 3.0-SNAPSHOT
> Oracle Java jdk1.6_24
>            Reporter: Oliver Jelinski
>         Attachments: RestTestService.wadl, RestTestService.xsd
>
>
> cxf-wadl2java-plugin (maven) does not generate an implementing service-class, 
> neither with <impl>true</true> nor with <extraarg>-impl</extraarg>.
> For example with these declarations:
> ...
>   <properties>
>     <cxf.version>2.4.2</cxf.version>
>   </properties>
>   <dependencies>
>     <dependency>
>       <groupId>org.apache.cxf</groupId>
>       <artifactId>cxf-rt-frontend-jaxrs</artifactId>
>       <version>${cxf.version}</version>
>     </dependency>
>   </dependencies>
> ...
>             <plugin>
>                 <groupId>org.apache.cxf</groupId>
>                 <artifactId>cxf-wadl2java-plugin</artifactId>
>                 <version>${cxf.version}</version>
>                 <executions>
>                     <execution>
>                         <id>generate-sources</id>
>                         <phase>generate-sources</phase>
>                         <configuration>
>                             
> <sourceRoot>${basedir}/target/generated-sources/cxf-rs</sourceRoot>
>                             <wadlOptions>
>                                 <wadlOption>
>                                     
> <wadl>${basedir}/src/main/resources/wadl/RestTestService.wadl</wadl>
>                                                       <extraargs>
>                                                           
> <extraarg>-impl</extraarg>
>                                                           
> <extraarg>-interface</extraarg>
>                                                           
> <extraarg>-verbose</extraarg>
>                                                       </extraargs>
>                                     
>                                     
> <packagename>rest.test.service</packagename>
>                                     <schemaPackagenames>
>                                        
> <schemaPackagename>http://example.com/rest-test=rest.test.types</schemaPackagename>
>                                     </schemaPackagenames>
>                                     
>                                 </wadlOption>
>                             </wadlOptions>
>                         </configuration>
>                         <goals>
>                             <goal>wadl2java</goal>
>                         </goals>
>                     </execution>
>                 </executions>
>             </plugin>
> ...
> Build is sucessful, the interface is generated, as well as the xml-types, but 
> the impl class isn't.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to