摘要:
假如你的连接是http://192.168.1.31:8080/webapi/services/StudentService在你的项目右添加服务引用http://192.168.1.31:8080/webapi/services/StudentService?WSDL ServiceReference1.StudentServicePortTypeClient client = new ServiceReference1.StudentServicePortTypeClient(); MessageBox.Show(client.getJsonDataByName("xi... 阅读全文
posted @ 2012-09-21 11:12
freexiaoyu
阅读(10533)
评论(2)
推荐(0)
摘要:
原因是config节点中多了endpoint相同节点删除不用的即可,不知道为什么我添加JAVA WebService时候出现二个连接。或使用ServiceReference1.StudentServicePortTypeClient client = new ServiceReference1.StudentServicePortTypeClient("StudentServiceHttpSoap11Endpoint");手动指定config中的name 阅读全文
posted @ 2012-09-21 11:09
freexiaoyu
阅读(7687)
评论(2)
推荐(2)
浙公网安备 33010602011771号