Popular Posts
Enable SSL connection for Jsoup import org.jsoup.Connection; import org.jsoup.Jsoup; import javax.net.ssl.*; import java.io.IOException; import java.security.KeyManagement... javax.net.ssl.SSLHandshakeException: Connection closed by peer in Android 5.0 Lollipop Recently, there is a error occurs when access website via ssl connection like below although it worked fine several days ago. // Enable SSL... Tired of Hibernate? Try JDBI in your code JDBI Quick sample ICategoryDAO.java : create a data access interface (implement is not required) package com.prhythm.erotic.task.data....
Stats
Create web service client cross SSL with eclipse
When creating web service cross SSL using eclipse, it occuss some error like below:

And it can't build the client source from this way.
To solve this problem, there are two ways to achieve it.
1. Connection wsdl using HTTP protocol.
and it seems to be a stupid way when this web service only provide HTTPS protocol.
2. Save the wsdl file from the url and use local file to create client.
a. Save the wsdl as a local file. (Such as myService.wsdl)
b. Copy the wsdl file to the project.
c. right click the wsdl file -> [ Web Services ] -> [ Generate Client ]
d. Congratulations. You got it.