[jboss-dev-forums] [JBoss AS 7 Development] - Problem with generated WSDL containing wsdl:import

sscpeter do-not-reply at jboss.com
Thu Apr 26 04:24:28 EDT 2012


sscpeter [https://community.jboss.org/people/sscpeter] created the discussion

"Problem with generated WSDL containing wsdl:import"

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

--------------------------------------------------------------
We created a web application and deployed it on JBOSS 7.1.1 and in our development environment it works great. Now we face a problem in the real world environment. The generated WSDL contains a wsdl:import with the actual address of the server. Something like this:

<wsdl:import location="http://ourserver:8080/ourapplication/OurService?wsdl=OurServicePortType.wsdl" namespace="http://net.ourcompany.ourservice.service">
    </wsdl:import>

The problem now is, that for security reasons the port 8080 is closed to access from outside and the wsdl is reached via a proxy pass to an URL without the port number like this:

http://ourcompany.net/services/OurService?wsdl


For the WSDL itself that works just fine, but the import fails because it tries to contact port 8080 directly. So my question now is: Is there a way to tell JBOSS to either use the "outside" URL (http://ourcompany/services/) for the import WSDL as well or to generate a WSDL containing the complete webservice information in one WSDL file without an import?
--------------------------------------------------------------

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

Start a new discussion in JBoss AS 7 Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2225]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20120426/33073e16/attachment.html 


More information about the jboss-dev-forums mailing list