cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shay Hassidim <>
Subject problems using WSDL with web service CXF endpoint configuration
Date Fri, 20 May 2011 13:00:27 GMT
When deploying a web service without including the wsdlLocation explicitly with the endpoint
configuration, I see that the web service does not expose the contract the WSDL specifies.
It is exposes a different contract. Not sure from where it is coming from. Maybe from the
annotations I have on the service.
When trying to specify the WSDL location at the endpoint configuration I'm getting a strange
exception. See below exception.
Here is how the endpoint is configured (located at the cxf-servlet.xml):
    <jaxws:endpoint xmlns:scada="com.X.Y"

If I remove the wsdlLocation property from the cxf-servlet.xml I don't have any problems deploying
the war, but the service does not expose the contract specified in the WSDL. The funny thing
is I do specify the WSDL location explicitly within the service implementation constructor,
so I don't understand why the deploy process fails.
Any idea what is going on?
Shay Hassidim
The Exception:
[gsc][1/10456] org.apache.cxf.service.factory.ServiceConstructionException:
Could not find definition for service {com.X.Y}DPAPollingAgentProcessor.
[gsc][1/10456]          at org.apache.cxf.jaxws.EndpointImpl.doPublish(
[gsc][1/10456]          at org.apache.cxf.jaxws.EndpointImpl.publish(
[gsc][1/10456]          at org.apache.cxf.jaxws.EndpointImpl.publish(
[gsc][1/10456]          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[gsc][1/10456]          at sun.reflect.NativeMethodAccessorImpl.invoke(
[gsc][1/10456]          at sun.reflect.DelegatingMethodAccessorImpl.invoke(
[gsc][1/10456]          at java.lang.reflect.Method.invoke(
[gsc][1/10456]          at$
[gsc][1/10456]          at Method)
[gsc][1/10456]          at
[gsc][1/10456]          at
[gsc][1/10456]          at
[gsc][1/10456]          at
[gsc][1/10456]          at
[gsc][1/10456]          at$1.getObject(
[gsc][1/10456]          at[gsc][1/10456]          at

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message