假如你的连接是 

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("xiaoming"));

Student是JAVA中的类

OK 测试通过

假如你的连接是 

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("xiaoming"));

Student是JAVA中的类

OK 测试通过

相关文章:

  • 2021-07-15
  • 2022-01-12
猜你喜欢
  • 2021-10-11
  • 2022-12-23
  • 2021-07-03
  • 2022-12-23
  • 2021-08-21
  • 2022-12-23
  • 2021-10-13
相关资源
相似解决方案