[jbossws-users] Rewriting soap:address location

Richard Opalka ropalka at redhat.com
Sun Oct 18 09:58:21 EDT 2009


This will apply to JBoss instance - it will just affect web services.
You can't do it in a war file AFAIK.

Richard

On 10/18/2009 03:47 AM, tag wrote:
> Thanks, just to double check, this would apply to the JBoss instance
> correct?  That's still fine, if that's where it has to be.  It would be
> interesting if I could add it in the WAR file I am deploying, but I
> don't see anything that allows that.
>
> Thanks again,
> Ben
>
> Richard Opalka wrote:
>> 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
>>>
>>
>>
>
> _______________________________________________
> 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