On Wednesday, December 07, 2011 5:06:23 PM cbwhitebu wrote:
> New to CFX and JAX-WS so please forgive my basic ignorance. I might be
> asking the wrong questions.
> 
> Is there a way to associate multiple WSDL URIs with a WebServiceProvider?
> 
> I am trying to right a generic provider that can handle invocations of
> operations defined in different WSDLs. I know I can add an annotation for a
> single WSDL using an annotation
> (@WebServiceProvider(wsdlLocation="test.wsdl")) but I need to add multiple
> WSDLs for the same provider. Of course each Endpoint would only handle a
> single service.

How are you creating the services?  Spring XML?   JaxWsServerFactoryBean? 
Endpoint.publish(...)?

The spring xml and the factory beans all have wsdlLocation properties that can 
be used to set the wsdl that is used for that service.   That would be the 
suggested route to go.


-- 
Daniel Kulp
[email protected] - http://dankulp.com/blog
Talend Community Coder - http://coders.talend.com

Reply via email to