aspose file tools*
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


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Https connection with CXF" Watch "Https connection with CXF" New topic
Author

Https connection with CXF

Dave Castle
Greenhorn

Joined: Oct 04, 2012
Posts: 1
Hello,
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: http://aspose.com/file-tools
 
subject: Https connection with CXF
 
Similar Threads
Code improvement: 2 similar methods
EJB Object Null Pointer Exception Inside JAX-WS Web Service
using WS + spring + CXF
Role Authorization using apache cxf.
How can I secure a web service?