File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes JAX-RPC over HTTPS Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "JAX-RPC over HTTPS" Watch "JAX-RPC over HTTPS" New topic
Author

JAX-RPC over HTTPS

Jon Wu
Greenhorn

Joined: May 07, 2003
Posts: 2
I'm trying to contact a web service using a Java client using JAX-RPC over HTTPS. Does anyone have any example of how to do this.
So far I have tried to generate the SOAP proxies using WebLogic clientgen. Using WebLogic's default Certicom SSL implementation I cannot get HTTPS to work at all.
If I use JSSE as the underlying SSL implementation then I can get server authentication to work but not mutual authentication.
I'm also looking at Axis soap so any working example or advice would be appreciated.
Ramesh Nagappan
Author
Ranch Hand

Joined: May 06, 2003
Posts: 159
Originally posted by Jon Wu:
I'm trying to contact a web service using a Java client using JAX-RPC over HTTPS. Does anyone have any example of how to do this.
So far I have tried to generate the SOAP proxies using WebLogic clientgen. Using WebLogic's default Certicom SSL implementation I cannot get HTTPS to work at all.
If I use JSSE as the underlying SSL implementation then I can get server authentication to work but not mutual authentication.
I'm also looking at Axis soap so any working example or advice would be appreciated.

I would recommend you take a look at the complete JAX-RPC SSL example using Sun JWSDP. I think you can apply to Axis as well..as long as you use JAX-RPC APIs.
Here is the link:
http://java.sun.com/webservices/docs/1.0/tutorial/doc/JAXRPC7.html


Ramesh Nagappan CISSP<br />Co-Author of "Core Security Patterns"<br />nramesh@post.harvard.edu<br /><a href="http://www.coresecuritypatterns.com" target="_blank" rel="nofollow">www.coresecuritypatterns.com</a>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JAX-RPC over HTTPS