| View previous topic :: View next topic |
| Author |
Message |
sfarella
Joined: 20 Nov 2008 Posts: 4
|
Posted: Wed Jan 14, 2009 2:07 pm Post subject: Connecting MIDP Applications to Web Services |
|
|
Good morning,
I’m developing a MIDP application (with Netbeans 6.5) that should be use https web
services (I’m using Tomcat 6). The MIDP application and the web server are in two
different computers. The MIDP application works well if I use the http connection (I can
retrieve the wsdl and generate stubs automatically from the “Java ME Web Service Client
Information” form). To automatically retrieve the wsdl configuration I use the following
address:
http://10.72.167.22:8080/easyMobileWSApplication/easyMobileWS?wsdl
and all work well.
Now I need to connect my MIDP application to the web service using https. How Can I do it?
I use the same wizard as above with the following address:
https://10.72.167.22/easyMobileWSApplication/easyMobileWS?WSDL
but the wizard shows me the following error: “Download file, I/O exception: HTTPS
hostname wrong: should be (Check the proxy settings)."
With MSExplorer or Firefox everything works well: I can see the services list both in http
and https. Note that in the https connection I must confirm the certificate exception
(generated with keytool).
Any suggestions will be appreciate.
Thanks in advance.
Best regards.
Stefano
----
Submitted via the contact form at: http://www.netbeans.info/appl2//index.php
Referer page: http://www.netbeans.org/kb/60/mobility/midp-webservices.html |
|
| Back to top |
|
 |
footix
Joined: 17 Feb 2009 Posts: 4
|
Posted: Tue Feb 17, 2009 3:58 pm Post subject: Connecting MIDP Applications to Web Services |
|
|
Hi Stefano,
I have a similar problem with NetBeans 6.5, Glassfish V2U1, Java 6 U11. The MIDP application works well with http connection.
The problem comes up when netbeans retrieve the wsdl of the HTTPS-Web Service and starts to generate stubs automatically from the “Java ME Web Service Client Client Information” form.
"The validating..." process is started, but it will never terminated, it hangs up.
Do you have find a solution to create a mobile HTTPS-Web Service-Client?
Regards,
Thorsten |
|
| Back to top |
|
 |
sfarella
Joined: 20 Nov 2008 Posts: 4
|
Posted: Fri Jun 26, 2009 11:28 am Post subject: Re: Connecting MIDP Applications to Web Services |
|
|
Hi Thorsten,
sorry for the delay in responding...
Have you found a solution for your problem?
Stefano
| footix wrote: | Hi Stefano,
I have a similar problem with NetBeans 6.5, Glassfish V2U1, Java 6 U11. The MIDP application works well with http connection.
The problem comes up when netbeans retrieve the wsdl of the HTTPS-Web Service and starts to generate stubs automatically from the “Java ME Web Service Client Client Information” form.
"The validating..." process is started, but it will never terminated, it hangs up.
Do you have find a solution to create a mobile HTTPS-Web Service-Client?
Regards,
Thorsten |
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|
|
|