We've been using Axis to generate client APIs from Google's Adwords WSDLs. I
recently started to check out XFire to see if it offers a compelling
alternative to Axis.
However, I got stuck while trying to generate classes from the WSDLs using
wsgen.
I get the following exception:
org.codehaus.xfire.gen.GenerationException: Could not find holder type.
at org.codehaus.xfire.gen.WsGenTask.execute(WsGenTask.java:48)
at org.codehaus.mojo.xfire.WsgenMojo.exec(WsgenMojo.java:184)
As you can tell. I'm using the Maven plugin; I hope that is not the reason
it fails. I tried a number of the WSDLs, but they all had the same problem.
My plugin config looks like this:
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>xfire-maven-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>wsgen</goal>
</goals>
</execution>
</executions>
<configuration>
<package>com.mycompany.adwords</package>
<wsdls>
<wsdl>${basedir}/src/main/wsdl/AdGroupService.wsdl</wsdl>
</wsdls>
</configuration>
</plugin>
The actual WSDL that fails is available here:
https://adwords.google.com/api/adwords/v6/AdGroupService?wsdl
I searched, but couldn't find any references to that particular exception.
Any help would be greatly appreciated.
Thanks,
Tim
--
View this message in context:
http://www.nabble.com/GenerationException%3A-Could-not-find-holder-type-with-wsgen-tf2564474.html#a7148018
Sent from the XFire - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email