Meaningless Drivel is fun!
The moose likes Web Services and the fly likes Https connection with CXF Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Https connection with CXF" Watch "Https connection with CXF" New topic

Https connection with CXF

Dave Castle

Joined: Oct 04, 2012
Posts: 1
I'm new to web services, CXF, WSDl's

I'm creating a Java command line app that is supposed to test a web service already in place. I have the WSDL and I generated the JAVA code using wsdl2java provided by CXF.
Now I need to establish an https connection with the service and I have the url, the keystore and the trustore but I really have no idea on how to go about this.
I have found the information online varies a lot, and to be confusing. Can someone point me out to a recent easy to understand tutorial?

This is what I'm trying so far to at least get an http connection going but even this is not working for me

Exception in thread "main" org.apache.cxf.service.factory.ServiceConstructionException: Failed to create service.
I agree. Here's the link:
subject: Https connection with CXF
It's not a secret anymore!