Discussion:
[jboss-user] [JBoss Web Services] - StackOverflow error with WSDL11Reader when trying to instantiate client service
Jessica Lundberg
2013-03-28 09:48:06 UTC
Permalink
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:

Loading Image... Loading Image...


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]
Alessio Soldano
2013-03-28 09:51:06 UTC
Permalink
Alessio Soldano [https://community.jboss.org/people/asoldano] created the discussion

"Re: StackOverflow error with WSDL11Reader when trying to instantiate client service"

To view the discussion, visit: https://community.jboss.org/message/805237#805237

--------------------------------------------------------------
Jessica, please get in touch with the customer support given you're using JBoss EAP product.
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/805237#805237]

Start a new discussion in JBoss Web Services at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2044]
Loading...