[jbossws-users] Rewriting soap:address location

Richard Opalka ropalka at redhat.com
Sat Oct 17 19:38:17 EDT 2009


Hi,

    try the following:

set
<property name="webServiceHost">LOAD_BALANCER_HOST</property>
in file
jbossws.deployer/META-INF/stack-agnostic-jboss-beans.xml
(applies for e.g. JBossAS TAG 5.1.0.GA)

and start JBossAS. All JBossWS generated files should use that host name.

Richard

On 10/17/2009 10:58 PM, tag wrote:
> Yes, they are generated by JBoss.  I was hoping to find a file that I
> can configure in the deployed WAR that will instruct it on how to build
> the WSDL with a static soap:address location.
>
> Thanks,
> Ben
>
> Richard Opalka wrote:
>> Hi,
>>
>>      are your WSDL files generated by JBossWS runtime?
>>
>> Richard
>>
>> On 10/17/2009 02:37 AM, tag wrote:
>>
>>> Hello,
>>>
>>> I am using a load balancer, normally it's fine if the client gets the
>>> WSDL every time it calls it, but some clients cache it, and parse out
>>> the soap:address.  This means they will always hit the same server, I
>>> believe.
>>>
>>> Is there a simple way to change the following part of the WSDL:
>>>
>>> <port binding="ServiceBinding" name="ServicePort">
>>>       <soap:address location="http://host.com:8780/service/ServiceService"/>
>>> </port>
>>>
>>> Instead of host.com:8780, I would like to set this value on a per
>>> deployment basis and not on the entire instance.
>>>
>>> Which file(s) could I modify to accomplish this?
>>>
>>> Thanks,
>>> Ben
>>> _______________________________________________
>>> jbossws-users mailing list
>>> jbossws-users at lists.jboss.org
>>> https://lists.jboss.org/mailman/listinfo/jbossws-users
>>>
>>
>>
>
> _______________________________________________
> jbossws-users mailing list
> jbossws-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jbossws-users

-- 
Richard Opalka
JBoss Software Engineer

Mail: ropalka at redhat.com
Mobile: +420731186942



More information about the jbossws-users mailing list