/*
* 通過url調用
* http://localhost:8080/EFP/webService/TestWebservice/testOut/arg0/liuyx
*/
http://localhost:8080/EFP/webService/TestWebservice/testOut/arg0/liuyx
其中:
http://localhost:8080/EFP/webService/TestWebservice?wsdl是webservice的地址
testOut是要調用的方法名
arg0代表其后邊的liuyx是第一個參數,如果有更多的參數,在地址后邊追加即可——寫法如下
【/arg1/xxx/arg2/yyy】
訪問應該結果是個xml。