Sam,

This proxy factory will only work for connecting over HTTP.

Have you tried just setting the WSDL url for your service, and the service 
class? (That should work if you're using Aegis. Otherwise you'll also have to 
configure a different ServiceFactory, and maybe a few other things)

The services.xml is not relevant for clients, as far as I know.

Normally this proxy can determine the correct end point, and URL, based on the 
WSDL content.

Fried


-----Original Message-----
From: Sam Wilson [mailto:[EMAIL PROTECTED]
Sent: Fri 2/2/2007 10:26 PM
To: [email protected]
Subject: [xfire-user] Spring Remoting client to service with multiple endpoints.
 
All,

I have successfully configured a service with multiple endpoints (http, 
jms) and would now like to configure my client using the spring remoting 
feature using XFireClientFactoryBean.

However, it's a little unclear to me how to specify this. Should I be 
specifying the endpoint (setEndpoint) or simply provide the appropriate 
URL (setURL) and let XFire figure out which endpoint to target?

When I use the setURL approach I get an exception indicating that there 
is no transport registered for the URL, though I am using the same 
services.xml config file as the server side, which is working fine.

When I set the endpoint, I'm not really sure what value to pass in. I've 
tried a number of different values with no success.

Any ideas? How do you guys normally configure for such a scenario? Does 
the XFireClientFactoryBean make sense here, or should a different 
approach be taken?

Thanks,

Sam Wilson


---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email


<<winmail.dat>>

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to