Popular Posts
ListSelectionListener & ItemListener import java.awt.Dimension; import java.awt.FlowLayout; import java.awt.Toolkit; import java.awt.event.ItemEvent; import java.awt.event.ItemL... netbean shortcut Ctrl + F:尋找 F3:尋找下一個字串 Ctrl + G:跳到第 N 行 Ctrl + H:取代 Tab:增加縮排 Shift + Tab:減少縮排 Ctrl + E:刪除一行 Ctrl + Shift + I:修正 import 項目 Alt + Ent... Capture response output stream using HttpModule using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Web; namespace TestWebA...
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.