<beans>

    <bean id="webservicePort" class="org.springframework.remoting.jaxrpc.JaxRpcPortClientInterceptor" singleton="false">
        <property name="serviceInterface" value="com.example.service.IService"/>
        <property name="namespaceUri" value="..."/>
        <property name="portName" value="..."/>
        <property name="wsdlDocumentUrl" value="..."/>
    </bean>

    <bean id="reliableWebservice" class="org.springframework.aop.framework.ProxyFactoryBean">
        <property name="targetSource">
            <bean class="za.net.kay.JaxRpcPortTargetSource">
                <property name="targetBeanName" value="webservicePort"/>
            </bean>
        </property>
    </bean>

    <bean id="myBusinessComponent" class="com.example.Component">
        <property name="bizService" ref="reliableWebservice"/>
    </bean>

</beans>
