File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java Micro Edition and the fly likes Web Services over https Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Web Services over https" Watch "Web Services over https" New topic

Web Services over https

Ibelio Villalba

Joined: Sep 14, 2009
Posts: 3
I'm trying to consume a web service over https, i got the following error:
Uncaught exception javax/xml/rpc/JAXRPCException: TCP open

Development Environment: Netbeans 6.7

If i make the request on port 8080 of the tomcat, i have no problem.
Also i'm able to consume a web service that is over https with a certificate signed by VeriSign. the one i cannot consume is using a self signed certificate, but i don't get any invalid certificate error. All these test are run on the simulator (maximun domain).

I have tested in two different pcs and have the same result. I have also tested with the webservice explorer of Eclipse and have no problem.

If i run the app on the simulator and use the network monitor i cannot see the request, if i run against port 8080 or https with the valid certificate i'm able to see the request and the answer.

Finally, i want to say that i have searched information on google but didn't find the solution.

Thank you very much.
subject: Web Services over https
It's not a secret anymore!