Did you specify the required CXF jars in your classpath? e.g.
cxf-rt-transports-http If there is no jar missing, it would be helpful
if you can post all the app and test case.

2013/8/19, gwena <[email protected]>:
> Hi,
>
> I'm trying to connect to a webservice on a secured connection
>
> The certificate has already been added on the server. I tested by curl
> command and successfully connected but on the code.
> curl https://ws.webservice.com:1234/service.asmx?WSDL
> prints out the page
>
> **********************
> I'm getting this exception
>
>
> org.apache.cxf.service.factory.ServiceConstructionException: Failed to
> create service.
> **********************
> Snippet
>          URL wsdlURL = new URL(serviceUrl);
>          QName qServiceName = new QName(NAMESPACE, SERVICE);
>          service = javax.xml.ws.Service.create(wsdlURL, qServiceName);
>
>
> Regards,
> Gwen

Reply via email to