You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Ja kub <jj...@gmail.com> on 2013/06/07 17:00:36 UTC

how to change from java in runtime

Hallo

in my cxf.xml i have conf

<http:conduit name="http://localhost:8080/xxx">
  <http:client ReceiveTimeout="1234" />
</http:conduit>

it works fine, but I would like to change ReceiveTimeout in runtime before
each web service client call,
How can I do it ?


client is configured in application.xml with

    <bean id="wsCli"
class="org.springframework.remoting.jaxws.JaxWsPortProxyFactoryBean">
        <property name="serviceInterface" value="org.Xxx" />
        <property name="wsdlDocumentUrl" value="WEB-INF/conf/xxx.wsdl" />
        <property name="namespaceUri" value="http://xxx" />
        <property name="serviceName" value="xxx" />
        <property name="portName" value="xxx" />
        <property name="endpointAddress" value="${ws.xxx.endpointAddress}"
/>
    </bean>

if it is required, I can change client definition to some other
configuration

Regards
Jakub