Author Message
MarcusHuang
Joined: Feb 25, 2014
Messages: 157
Offline
I see the java files get imported in, but my POM XML keeps giving me an error. Cannot resolve this? Anyone have this issue?

Error executing: wsimport [-s, E:\BreezeDev\Workspace Folders\DynamicTasks\workspace\westdiv\tasks\generated-sources\jaxws-wsimport, -d, E:\BreezeDev\Workspace Folders\DynamicTasks\workspace\westdiv\tasks\target\classes, -p, com.company.dasws, -target, 2.1, -Xnocompile, -B-XautoNameResolution, http://das.company.com/DS/cxfservices/Utilities?wsdl] (org.codehaus.mojo:jaxws-maven-plugin:1.12:wsimport:generate-wsclient:generate-sources)

org.apache.maven.plugin.MojoExecutionException: Error executing: wsimport [-s, E:\BreezeDev\Workspace Folders\DynamicTasks\workspace\westdiv\tasks\generated-sources\jaxws-wsimport, -d, E:\BreezeDev\Wor


Added this to POM XML

<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>jaxws-maven-plugin</artifactId>
<version>1.12</version>
<executions>
<execution>
<id>generate-wsclient</id>
<goals>
<goal>wsimport</goal>
</goals>
<configuration>
<wsdlUrls>
<wsdlUrl>
http://ds.company.com/DAS/cxfservices/Utilities?wsdl
</wsdlUrl>
</wsdlUrls>
<target>2.1</target>
<xjcArgs>
<xjcArg>-XautoNameResolution</xjcArg>
</xjcArgs>
<bindingDirectory>src/jaxws/wsdl</bindingDirectory>
<keep>true</keep>
<packageName>com.company.dasws</packageName>
<sourceDestDir>${project.basedir}/generated-sources/jaxws-wsimport</sourceDestDir>
</configuration>
</execution>
</executions>
</plugin>
MarcusHuang
Joined: Feb 25, 2014
Messages: 157
Offline
Think i resolved it by adding this to Maven POM.XML. The version that was there previously was old, 1.12
<groupId>org.codehaus.mojo</groupId>
<artifactId>jaxws-maven-plugin</artifactId>
<version>2.4.1</version>
JoelEzell
Joined: Nov 15, 2013
Messages: 780
Offline
Thanks for letting us knosow. I'm happy to hear that you resolved your issue.
Go to:   
Mobile view