[jboss-user] [JBoss Web Services] New message: "Re: Webservice behind proxy"

Michael Eibeck do-not-reply at jboss.com
Wed Mar 17 09:34:06 EDT 2010


User development,

A new message was posted in the thread "Webservice behind proxy":

http://community.jboss.org/message/532530#532530

Author  : Michael Eibeck
Profile : http://community.jboss.org/people/skymic

Message:
--------------------------------------------------------------
Hi,
 
ok, I have found it.
 
If one operates a JBossWS endpoint behind a reverse proxy, one must look at the soap:address rewrite of the wsdl.
 
Everything is covered here: http://community.jboss.org/docs/DOC-13972#Address_rewrite
 
The file to modify is $JBOSS_HOME/server/all/deployers/jbossws.deployer/META_INF/stack-agnostic-jboss-beans.xml
Look for the WSServerConfig bean.
 
Replace
<property name="webServiceHost">${jboss.bind.address}</property>
             <property name="modifySOAPAddress">true</property>
with
<property name="webServiceHost">*jbossws.undefined.host*</property>
             <property name="modifySOAPAddress">true</property>
 
JBoss will now rewrite the soap:address of the wsdl with the address from the client http request.
 
This solved my problem.
 
 
 

--------------------------------------------------------------

To reply to this message visit the message page: http://community.jboss.org/message/532530#532530




More information about the jboss-user mailing list