jaxrpc-mapping files are for JAX-RPC based webservices implementations, which 
CXF is NOT one.   CXF implements JAX-WS and thus would require a JAX-WS (or 
JAXB) binding file, not a jaxrpc-mapping file.

Dan


On Tue June 23 2009 5:58:19 am Jochen Hebbrecht wrote:
> Hi,
>
> I'm having a jaxrpc-mapping.xml file. I want CXF (in combination with
> Maven) to use the jaxrpc-mapping.xml file. Is there a way to configure my
> POM that it reads the file.
>
> My current config:
>
>             <plugin>
>                 <groupId>org.apache.cxf</
> groupId>
>                 <artifactId>cxf-codegen-plugin</artifactId>
>                 <version>2.2.1</version>
>                 <executions>
>                     <execution>
>                         <id>generate-sources</id>
>                         <phase>generate-sources</phase>
>                         <configuration>
>                            
> <sourceRoot>${project.build.directory}/generated-sources</sourceRoot>
> <wsdlOptions>
>                                 <wsdlOption>
>                                    
> <wsdl>${basedir}/src/main/wsdl/MYCOMPANY-css.wsdl</wsdl> <extraargs>
>                                         <extraarg>-p</extraarg>
>                                        
> <extraarg>http://www.MYCOMPANY.be/css/2007/03=be.MYCOMPANY.css.MYAPPLICATIO
>N</extraarg> </extraargs>
>                                 </wsdlOption>
>                             </wsdlOptions>
>                         </configuration>
>                         <goals>
>                             <goal>wsdl2java</goal>
>                         </goals>
>                     </execution>
>                 </executions>
>             </plugin>
>
> I need the equivalent for this:
>
>   <wsdl-java location="http://....?wsdl";>
>     <mapping file="META-INF/jaxrpc-mapping.xml" />
>   </wsdl-java>
>
> Regards,
> Jochen

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

Reply via email to