|
@@ -156,7 +156,7 @@ public class ViewController extends Controller {
|
|
|
|
|
|
public void test() throws IOException {
|
|
public void test() throws IOException {
|
|
//第一步:创建服务地址
|
|
//第一步:创建服务地址
|
|
- URL url = new URL("http://ws.webxml.com.cn/WebServices/MobileCodeWS.asmx?wsdl");
|
|
|
|
|
|
+ URL url = new URL("http://10.84.138.254:8080/services/getReportByStudyuid?wsdl");
|
|
//第二步:打开一个通向服务地址的连接
|
|
//第二步:打开一个通向服务地址的连接
|
|
HttpURLConnection connection = (HttpURLConnection) url.openConnection();
|
|
HttpURLConnection connection = (HttpURLConnection) url.openConnection();
|
|
//第三步:设置参数
|
|
//第三步:设置参数
|