【发布时间】:2010-10-26 10:28:11
【问题描述】:
如何使用此请求在 Web 服务中传递参数:
POST /webservice/User.asmx HTTP/1.1 内容类型:文本/xml;字符集=utf-8 内容长度:长度 SOAPAction:“http://sample.com/UpdateUserBatch”
<UpdateUserBatch xmlns="http://sample.com/">
<auth>
<Username>string</Username>
<Password>string</Password>
</auth>
<request>
<CreateIfNotExist>boolean</CreateIfNotExist>
<UpdateIfExists>boolean</UpdateIfExists>
<Users>
<UserProfile>
<UserID>string</UserID>
<BusinessID>string</BusinessID>
<ExternalID>string</ExternalID>
<Username>string</Username>
<Password>string</Password>
<UpdateDate>dateTime</UpdateDate>
</UserProfile>
<UserProfile>
<UserID>string</UserID>
<BusinessID>string</BusinessID>
<ExternalID>string</ExternalID>
<Username>string</Username>
<Password>string</Password>
<UpdateDate>dateTime</UpdateDate>
</UserProfile>
</Users>
</request>
</UpdateUserBatch>
我想使用该网络服务导入数据。
【问题讨论】:
标签: php arrays web-services soap