2
我试图调用一个SOAP的方法来服务我还没有过控制,看起来像这样的方法:阵列(?字符串)参数
<Body>
<AddUserByWEB xmlns="http://tempuri.org/">
<token>[string?]</token>
<email>[string?]</email>
<password>[string?]</password>
<userType>[string?]</userType>
<userRole>[string?]</userRole>
<dateStart>[string?]</dateStart>
<dateEnd>[string?]</dateEnd>
<userName>[string?]</userName>
<personName>[string?]</personName>
<personSurname>[string?]</personSurname>
<phoneNumber>[string?]</phoneNumber>
<!-- Optional -->
<resourcesID>
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">[string?]</string>
</resourcesID>
<!-- Optional -->
<resourcesPermisions>
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">[string?]</string>
</resourcesPermisions>
</AddUserByWEB>
</Body>
我想知道如何将数据传递给服务器端语言(如PHP或node.js)中的resourcesID数组(字符串?)。
看来,这两个参数都在等待ArrayOfstring数据:
resourcesID: 'q28:ArrayOfstring',
resourcesPermisions: 'q29:ArrayOfstring'
谢谢!
它依赖于WSDL定义。 –
@michail_w请给我一些例子吗?谢谢 – Sebastian