cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Kulp <>
Subject Re: Assocating WSDLs with a WebServiceProvider using code
Date Thu, 08 Dec 2011 17:14:18 GMT
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? 

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 -
Talend Community Coder -

View raw message