Announcement Announcement Module
Collapse
No announcement yet.
JaxRpcPortPFB endpoint Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • JaxRpcPortPFB endpoint

    Hello, i'm writing a web service client using JaxRpcPortProxyFactoryBean, i'm consuming a login service (that returns a loginID), then to be able to invoke another services i have to change dinamically the JaxRpcPortProxyFactoryBean's endpoint:

    from:
    http://hostort/.../services/MyService

    to:
    http://hostort/.../services/MyService?sessionID=XXXX

    is this posible? how can i do that?

    My bean definition it's something like this:

    Code:
    <bean id="sessionService" class="org.springframework.remoting.jaxrpc.JaxRpcPortProxyFactoryBean">
    	<property name="wsdlDocumentUrl" value="http://host:port/services/MyService?wsdl"/>
    	<property name="serviceInterface" value="com.xxx..MyService"/>
    	<property name="portName" value="MyServiceService"/>
    	<property name="serviceName" value="MyServiceService"/>
    	<property name="namespaceUri" value="http://.../.../..."/>
    	<property name="servicePostProcessors">
    		<list>
    			<ref bean="MyServicePostProcessor"/>
    		</list>
    	</property>
    </bean>
    Thank you for your support.
    Last edited by ricksoft; Feb 24th, 2009, 10:37 AM. Reason: fixed

  • #2
    solved

    Ok, i did it!

    this post help me:

    http://forum.springframework.org/showthread.php?t=24886

    greetings!

    Comment

    Working...
    X