急:如何在c#中用soap传递数据到远程服务器
如何在c#中用soap传递数据到远程服务器
比如:
Soap服务器地址为:http://1.1.1.1
通过输入用户信息,返回用户列表
getUserList(
long accountId,
String userName,
String loginName,
String aptNo,
long communityId,
String phone,
int currentState,
String dateOfEnd,
String ipAddress
)
Phone 电话号码
Accountid,.communityid,currentstate都设为-1
其余参数均设为“”即可
返回类型为一个自定义类型数组
Public userinfo{
String accountid,
String username,
String communityName,
String loginName,
String aptNo,
String current_state,
String date_of_end,
String phone,
String[] ipmac
}
Ipmac 为从soap消息中获得的ip、mac数组信息
如何通过soap得到远程服务器返回的结果
望有源码指点!!!