急:如何在c#中用soap传递数据到远程服务器

try530 2006-09-20 01:33:59
如何在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得到远程服务器返回的结果
望有源码指点!!!
...全文
195 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
try530 2006-09-20
  • 打赏
  • 举报
回复

110,538

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 C#
社区管理员
  • C#
  • Web++
  • by_封爱
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

让您成为最强悍的C#开发者

试试用AI创作助手写篇文章吧