rodolfo tocci [
https://community.jboss.org/people/jbossEngAccount] created the discussion
"JBoss 7.0.2 soap rewrite issue"
To view the discussion, visit:
https://community.jboss.org/message/730530#730530
--------------------------------------------------------------
Dear All,
I have a problem with the soap address rewrite .
My setup is as follows:
S.O. : centos
A.S. : JBoss 7.0.2 - standalone private network
Upstream of the AS is a Hardware Load Balancer that receives requests to https and http
runs.
The address rewrite is done properly and then I find the DNS in my WSDL associated with
the LB, but the protocol is not maintained.
so
https://mydns/mycontext/myservice?wsdl https://mydns/mycontext/myservice?wsdl is
translated into <soap12:address location=
http://mydns/mycontext/myservice
http://mydns/mycontext/myservice />
After reading the documentation I have changed the subsystem webservice
<subsystem xmlns="urn:jboss:domain:webservices:1.0">
<modify-wsdl-address>true</modify-wsdl-address>
<wsdl-host>miodns</wsdl-host>
<endpoint-config
xmlns:ws="urn:jboss:jbossws-jaxws-config:4.0">
<ws:config-name>Standard-Endpoint-Config</ws:config-name>
</endpoint-config>
<endpoint-config
xmlns:ws="urn:jboss:jbossws-jaxws-config:4.0">
<ws:config-name>Recording-Endpoint-Config</ws:config-name>
<ws:pre-handler-chains>
<handler-chain xmlns="
http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee">
<protocol-bindings>##SOAP11_HTTP ##SOAP11_HTTP_MTOM
##SOAP12_HTTP ##SOAP12_HTTP_MTOM</protocol-bindings>
<handler>
<handler-name>RecordingHandler</handler-name>
<handler-class>org.jboss.ws.common.invocation.RecordingServerHandler</handler-class>
</handler>
</handler-chain>
</ws:pre-handler-chains>
</endpoint-config>
</subsystem>
I believe that you have configured the server but still not working.
thanks in advance
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/730530#730530]
Start a new discussion in JBoss Web Services at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]