On Tuesday 26 October 2010 3:09:04 pm slocum wrote: > Daniel Kulp wrote: > Now the /services pages looks like this (which is what I expected): > > Endpoint address: http://localhost:8080/ppp-1.0/services/PPPWebService > WSDL : {http://ws.ppp.abc.com/}PPPWebService > Target namespace: http://ws.ppp.abc.com/ > > Now the only issue is that it still shows the auto-generated truncated WSDL > when you click the second line link. > > When I add a wsdlLocation="classpath:ppp-1.0.wsdl" to the implementation > file's @WebService annotation, or to the jaxws:endpoint, I get an exception > when I deploy the web service: > > org.apache.cxf.service.factory.ServiceConstructionException: Could not find > definition for service {http://ws.ppp.abc.com/}PPPWebService.
Check the wsdl to make sure it defines a Service with that name and targetNamespace. You definitely need to make sure that the wsdl service and port match the names that are used in the @WebService annotation. (and the namespace as well) -- Daniel Kulp [email protected] http://dankulp.com/blog
