File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Services and the fly likes Changing - is it recommended Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Changing - is it recommended" Watch "Changing - is it recommended" New topic

Changing - is it recommended

rakesh sugirtharaj
Ranch Hand

Joined: Dec 16, 2007
Posts: 151
Hello All,

I m creating a CXF client that tries to access a webservice over SSL. I have the certificate and I was able to generate the stubs by providing vm args for Trust store and keystore like<keystore location> etc. For the actual invocation of the service i tried the method specified in CXF site which uses a 'cxf.xml' file to define a http-conduit element but it didnt work(or i did it wrong). One way i know this will work is by setting the "System.setProperty". But is this recommended? Because i have a very bad feeling about changing system properties.

Thanks in advance.

I agree. Here's the link:
subject: Changing - is it recommended
It's not a secret anymore!