[jboss-dev-forums] [JBoss Web Services Development] - SOAP Addres Rewrite for Endpoint loadbalancing

Stylianos Koussouris do-not-reply at jboss.com
Thu Dec 6 10:55:01 EST 2012


Stylianos Koussouris [https://community.jboss.org/people/steljboss] created the discussion

"SOAP Addres Rewrite for Endpoint loadbalancing"

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

--------------------------------------------------------------
So I have read how to dynamically re-write the web service soap address
 https://docs.jboss.org/author/display/JBWS/Advanced+User+Guide https://docs.jboss.org/author/display/JBWS/Advanced+User+Guide

JBoss 7.0.2 soap rewrite issue
  https://community.jboss.org/thread/198473 https://community.jboss.org/thread/198473
Web services configuration 7.1.x 
  https://docs.jboss.org/author/display/AS71/Web+services+configuration https://docs.jboss.org/author/display/AS71/Web+services+configuration 
soap:address rewrite in 7.1.1. Final 
  https://community.jboss.org/message/734787#734787 https://community.jboss.org/message/734787

and I can set through server properties (host and port), or <wsdl-host>jbossws.undefined.host</wsdl-host>

However my case is that I want the service to be exposed via the web server. So, one might say then IP and Port should be webserver ip:80

but my case is a little more complicated
a) I have 2 web servers utilizing mod_cluster to loadbalance and failover http requests to my 2 JBoss server
b) Both my servers contain the web service

The aim is to have requests to the webservice exposed via the webservers (ie. URL rewrite has to cater for this)  and the web servers be able to loadbalance the requests. I am unsure how both can be achieved because
a) The web server loadbalances AJP requests to 8009
b) The server rewrites the URL of my web service to 8080 and of course only one can be written there

Maybe it is easy as the JBoss web will re-direct the requests from AJP 8009 to 8080 but wanted to be certain if it is just that simple
--------------------------------------------------------------

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

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20121206/014d9db5/attachment.html 


More information about the jboss-dev-forums mailing list