小编use*_*826的帖子

php soap maxoccurs = unbounded

我有WSDL,

<xs:complexType name="merchantDetails"><xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" name="did" nillable="true" type="xs:string"/>
<xs:element maxOccurs="unbounded" minOccurs="0" name="flowid" nillable="true" type="xs:string"/>
Run Code Online (Sandbox Code Playgroud)

我试图发送数组如下(var_dump).

object(merchantDetails)#3 
  ["did"]=>
  array(1) {
    [0]=>
    string(8) "81985801"
  }
  ["flowid"]=>
  array(1) {
    [0]=>
    string(16) "MerchantMOTOMID1"
  }
Run Code Online (Sandbox Code Playgroud)

但是__getLastRequest输出没有显示任何标记flowID.

如果发送未绑定的数据,请帮忙.

php soap wsdl

6
推荐指数
1
解决办法
1480
查看次数

标签 统计

php ×1

soap ×1

wsdl ×1