cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gwena <gwenharol...@yahoo.com>
Subject Failed to create service. Trying to connect to a ssl connection
Date Mon, 19 Aug 2013 01:36:28 GMT
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
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message