[
https://issues.jboss.org/browse/JBWS-3538?page=com.atlassian.jira.plugin....
]
Alessio Soldano commented on JBWS-3538:
---------------------------------------
Can perhaps the Dynamic address rewrite [1] help here?
[1]
https://docs.jboss.org/author/display/JBWS/Advanced+User+Guide#AdvancedUs...
SchemaLocation of imported schemas rewritten in WSDL take address
from proxy-host and not wsdl-host.
----------------------------------------------------------------------------------------------------
Key: JBWS-3538
URL:
https://issues.jboss.org/browse/JBWS-3538
Project: JBoss Web Services
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: jbossws-cxf
Affects Versions: jbossws-cxf-4.0.2
Environment: JBoss Enterprise Application Platform 6.0.0.GA
Reporter: Mustafa Musaji
Assignee: Kyle Lape
Labels: web_service
If you add a proxy to the HTTP/1.1 connector in standalone.xml
{code:xml}
<subsystem xmlns="urn:jboss:domain:web:1.1"
default-virtual-server="default-host" native="false">
<connector name="http" protocol="HTTP/1.1"
scheme="http" socket-binding="http"
proxy-name="someothermachine.somewhere" proxy-port="8080"/>
<virtual-server name="default-host"
enable-welcome-root="true">
<alias name="localhost"/>
<alias name="example.com"/>
</virtual-server>
</subsystem>
{code}
and you also have a rewrite rule in web service subsystem
{code:xml}
<subsystem xmlns="urn:jboss:domain:webservices:1.1">
<modify-wsdl-address>true</modify-wsdl-address>
<wsdl-host>wsdlHostAddress</wsdl-host>
<endpoint-config name="Standard-Endpoint-Config"/>
<endpoint-config name="Recording-Endpoint-Config">
<pre-handler-chain name="recording-handlers"
protocol-bindings="##SOAP11_HTTP ##SOAP11_HTTP_MTOM ##SOAP12_HTTP
##SOAP12_HTTP_MTOM">
<handler name="RecordingHandler"
class="org.jboss.ws.common.invocation.RecordingServerHandler"/>
</pre-handler-chain>
</endpoint-config>
</subsystem>
{code}
The resulting WSDL published by JBoss will have the schemaLocation as the proxy-name and
not the wsdl-host. This results in clients unable to process the WSDL
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira