Hello!
I've got a frontend client setup with Apache CXF 2.7 and I'm running JBoss 4.3 EAP (I know.. ancient). At first I was generating with my WSDL hard coded, with the following:
<wsdlOptions>
<wsdlOption>
<wsdl>${basedir}/src/main/resources/myWSDL.wsdl</wsdl>
<extraargs>
<extraarg>-p</extraarg>
<extraarg>http://webservice/address=com.softwarepoint.thisproject.generated</extraarg>
<extraarg>-verbose</extraarg>
</extraargs>
</wsdlOption>
</wsdlOptions>
But this didn't work for deployment at our customer so I switched to the following:
<wsdlOptions>
<wsdlOption>
<wsdl>${basedir}/src/main/resources/myWSDL.wsdl</wsdl>
<wsdlLocation>classpath:myWSDL.wsdl</wsdlLocation>
<extraargs>
<extraarg>-p</extraarg>
<extraarg>http://webservice/address=com.softwarepoint.thisproject.generated</extraarg>
<extraarg>-verbose</extraarg>
</extraargs>
</wsdlOption>
</wsdlOptions>
which is supposed to look on the classpath instead.
Now when I run this though I am getting the following:
https://community.jboss.org/servlet/JiveServlet/downloadImage/2-805236-20525/450-429/Jbosserror.PNG
The system worked locally when the wsdl was hard coded: I came as far as to get an Unknown Host Exception (I can't access the web service locally). But now after generating the code to point to the wsdl on the classpath, I get this.
Any help would be great :) Let me know if I need to provide more information!