jQuery in Action, 2nd edition*
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
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Web Services over https" Watch "Web Services over https" New topic
Author

Web Services over https

Ibelio Villalba
Greenhorn

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: javax.microedition.io.ConnectionNotFoundException: 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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Web Services over https
 
Similar Threads
Certificate problem: No subject alternative names present
connect to a SOAP webservice using SSL
Problem redirecting through HTTPS
Web Service SSL Client
Problem redirecting through HTTPS