C# 调用JAVA WebService
假如你的连接是
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 测试通过
 
                     
                    
                 
                    
                 
 
                
            
         
         浙公网安备 33010602011771号
浙公网安备 33010602011771号