[jboss-user] [JBoss Web Services] - StackOverflow error with WSDL11Reader when trying to instantiate client service

Jessica Lundberg do-not-reply at jboss.com
Thu Mar 28 05:48:06 EDT 2013


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</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 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/showImage/2-805236-20525/Jbosserror.PNG  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!
--------------------------------------------------------------

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&containerType=14&container=2044]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20130328/1e0e6c6c/attachment.html 


More information about the jboss-user mailing list