I encountered some trouble when implementing a soap, but I had no solution. Question: soap requires parameter format {code ...} the actual PHP needs to be implemented as follows: {code ...} of course, I also built the obj version {code ...} the obj version server cannot be identified, and the solution encountered some trouble when implementing a soap. There was no solution. Please ask:
Soap request parameter format
string
string
string
string
The actual PHP needs to be implemented as follows:
array ( 'filedlit' => array ( 'keyvalue' => array ( 'key' => 'a1sd', 'value' => 'asd' ), 'keyvalue' => array ( 'key' => 'as2d', 'value' => 'asd' ), 'keyvalue' => array ( 'key' => 'as3d', 'value' => 'asd' ), 'keyvalue' => array ( 'key' => 'as4d', 'value' => 'asd' ), 'keyvalue' => array ( 'key' => 'asd', 'value' => 'asd' ), 'keyvalue' => array ( 'key' => 'asd', 'value' => 'asd' ) ));
Of course, I also built the obj version.
array('listfiled'=>array ( new KeyValue ( 'asd', 'ccccc' ), new KeyValue ( 'asd', 'ccccc' ), new KeyValue ( 'asd', 'ccccc' ), new KeyValue ( 'asd', 'ccccc' ), new KeyValue ( 'asd', 'ccccc' )));
The obj version server cannot recognize and solve the problem.
Reply content:
I encountered some trouble when implementing a soap, but I had no solution. Please ask:
Soap request parameter format
string
string
string
string
The actual PHP needs to be implemented as follows:
array ( 'filedlit' => array ( 'keyvalue' => array ( 'key' => 'a1sd', 'value' => 'asd' ), 'keyvalue' => array ( 'key' => 'as2d', 'value' => 'asd' ), 'keyvalue' => array ( 'key' => 'as3d', 'value' => 'asd' ), 'keyvalue' => array ( 'key' => 'as4d', 'value' => 'asd' ), 'keyvalue' => array ( 'key' => 'asd', 'value' => 'asd' ), 'keyvalue' => array ( 'key' => 'asd', 'value' => 'asd' ) ));
Of course, I also built the obj version.
array('listfiled'=>array ( new KeyValue ( 'asd', 'ccccc' ), new KeyValue ( 'asd', 'ccccc' ), new KeyValue ( 'asd', 'ccccc' ), new KeyValue ( 'asd', 'ccccc' ), new KeyValue ( 'asd', 'ccccc' )));
The obj version server cannot recognize and solve the problem.
Generate xml format