Jessica Lundberg [
https://community.jboss.org/people/jessicalundberg] created the
discussion
"StackOverflow error with WSDL11Reader when trying to instantiate client
service"
To view the discussion, visit:
https://community.jboss.org/message/805236#805236
--------------------------------------------------------------
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
http://webservice/address=com.softwarepoint.thisproject.generated</ext...
<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
http://webservice/address=com.softwarepoint.thisproject.generated</ext...
<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/showImage/2-805236-20525/...
https://community.jboss.org/servlet/JiveServlet/downloadImage/2-805236-20...
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!
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/805236#805236]
Start a new discussion in JBoss Web Services at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]