Jerome Lacoste-2 wrote:
> 
> For those who use xfire in a maven2 environment, I've started writing
> a xfire maven2 plugin.
> 
> http://mojo.codehaus.org/xfire-maven-plugin/
> Hi there,
> 
> I am trying to make use of the plugin and I get an error. Before
> discussing the error let me say I am new to XFire and webservices in
> general. I was hoping it was a fade that would go away :(
> 
> Anyway here is the error I get
> 
> org.springframework.beans.factory.BeanCreationException: Error creating
> bean with name 'org.codehaus.xfire.spring.ServiceBean' defined in file
> [/home/mark/workspace/crm/src/main/resources/META-INF/xfire/services.xml]:
> Initialization of bean failed; nested exception is
> java.lang.NullPointerException: null
> java.lang.NullPointerException
>         at
> org.codehaus.xfire.aegis.type.java5.Java5TypeCreator.createDefaultType(Java5TypeCreator.java:242)
> 
> 
> I get this when running "mvn xfire:wsdlgen". I have the following in my
> pox.xml
> 
> 
>      <plugin>
>         <groupId>org.codehaus.mojo</groupId>
>         <artifactId>xfire-maven-plugin</artifactId>
>         <executions>
>            <execution>
>               <phase>test-compile</phase>
>               <goals>
>                  <goal>wsdlgen</goal>
>               </goals>
>            </execution>
>         </executions>
>         <!-- this shows the default -->
>         <configuration>
>          
> <outputDirectory>${project.build.directory}/generated-sources/xfire/wsdlgen</outputDirectory>
>           <configs>
>            
> <wsdl>${basedir}/src/main/resources/META-INF/xfire/services.xml</wsdl>
>           </configs>
>         </configuration>
>       </plugin>
> 
> Is there anything obvious that I am doing wrong?
> 
> Thanks
> 
> Mark
> 
> 
> The plugin has 2 mojos: wsgen and wsdlgen.
> 
> The plugin also contains a WsdlGenTask Ant task soon to be moved to
> the official xfire-gen. Feel free to test/improve them.
> 
> Cheers
> 
> Jerome
> 
> 

-- 
View this message in context: 
http://www.nabble.com/xfire-maven2-plugin---WsdlGenTask-tf1204658.html#a9782632
Sent from the XFire - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to