> >
> the JAX-WS 'endpoint' element in Spring XML configuration does indeed
> provide/override the info in the annotation. The reason why it does
not
> work? It might be a bug. If you have access to CXF source code, in
> ReflectionServiceFactoryBean.java line 956, method getEndpointInfo():
>
> public EndpointInfo getEndpointInfo() {
> return getService().getEndpointInfo(getEndpointName());
> }
>
> the getService() returns the service model built from WSDL file, but
> somehow it does not contain an endpoint whose name is
getEndpointName()
> which might come from java class. Could you please report a Jira for
this.
>
> BTW, you may want to try to add an endpointname attribute into your
spring
> config, just a wild guess, not sure if it works. ;-)
>
> <snip>
> <jaxws:endpoint id="myEndpoint" implementor="#genericProvider"
> endpointName="endpointName is the port qname in wsdl"
> address="/myLocation/" serviceName="msp:MyService"
> wsdlLocation="classpath:wsdl/MyWSDL.wsdl"
> xmlns:msp="http://my.service">
> </jaxws:endpoint>
> <snip>
>
[Bokde, Dhiraj] I debugged it a little, and the getEndpointName() method
returns GenericProviderService instead of the serviceName in the
endpoint.
I have tried adding the endpointName attribute as well and it didn't
make any difference.