You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Brian Clements <br...@clementscode.com> on 2013/02/06 18:21:09 UTC

Client use-case, single WSDL with many servers

I have a use case where my one client needs to talk to many (perhaps
hundreds) of servers all using one WSDL. I've looked into using
the javax.xml.ws.Service.addPort() method to add the hosts as ports. This
creates separate JAXB contexts and other overhead for each proxy.

The goal is to re-use as much of the client as possible while having a pool
of connections to different hosts. My use case would also require that
individual proxies be destroyed cleanly without affecting other
connections. How would someone go about doing this with CXF?

Thanks in advance.

-Brian