Results 1 to 2 of 2

Thread: JaxRpcPortPFB endpoint

  1. #1
    Join Date
    Jan 2009
    Location
    México
    Posts
    9

    Thumbs up 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://host:port/.../services/MyService

    to:
    http://host:port/.../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.:D
    Last edited by ricksoft; Feb 24th, 2009 at 09:37 AM. Reason: fixed

  2. #2
    Join Date
    Jan 2009
    Location
    México
    Posts
    9

    Default solved

    Ok, i did it!

    this post help me:

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

    greetings!

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •