Daniel Kulp wrote:
>
> My gut feeling says it's not finding the WSDL properly.
>
> My suggestion is to change:
> CMPSWebService service = new CMPSWebService();
>
> to use the constructor that takes the WSDL url and service QName. Grab
> the
> WSDL via getClass().getResource(....) or similar to make sure the WSDL is
> resolvable.
>
What is the name of the resource for the WSDL to supply to getResource()?
And otherwise, it should look something like this?
CMPSWebService service = new CMPSWebService();
URL wsdlURL = service.getClass().getResource("WSDL");
QName serviceName = service.getServiceName();
service = new CMPSWebService(wsdlURL, serviceName);
--
View this message in context:
http://cxf.547215.n5.nabble.com/Calling-cxf-web-service-from-JSP-page-tp3786341p3791083.html
Sent from the cxf-user mailing list archive at Nabble.com.