I need help (being new to SOAP in general) to create the following output in my request XML:
<values>
<table>
<key xsi:type="xsd:string">SOME_KEY</key>
<value xsi:type="xsd:string">SOME_VALUE</value>
</table>
</values>
I just need to know how to structure this in PHP and the pass it to soapclient as a parameter for a method.
<pre1:results>
<!--Zero or more repetitions:-->
<sys:KeyValuePairOfstringstring>
<sys:key>str1</sys:key>
<sys:value>str2</sys:value>
</sys:KeyValuePairOfstringstring>
</pre1:results>
In this case "results" is the IEnumerable< string, string > parameter name
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.