This document was generated from CDN thread Created by: Jason Shaffer on 07-07-2013 08:49:04 AM Hi Cisco Dev Team,Trying to set feedback expressions on the MCU, but it keeps on giving a fault code of 103, malformed parameter: "This is given when a parameter of the correct name is present, but cannot be read for some reason; for example the parameter is supposed to be an integer, but is given as a string.The parameter in question is given in the fault string in the format "malformed parameter - parameter_name".Here is an example POST we are doing to the MCU: 1$events = "<param>
2 <value>
3 <struct>
4 <member>
5 <name>events</name>
6 <value>
7 <struct>
8 <member>
9 <name>participantConnected</name>
10 <value>
11 <boolean>true</boolean>
12 </value>
13 </member>
14 </struct>
15 </value>
16 </member>
17 </struct>
18 </value>
19 </param>";
20
21 $request_param = array( "receiverURI"=>$server_host, "events" => $events );
22 $method_name = "feedbackReceiver.configure";
23 $result = $mcu_ctrl->sendCommand($method_name, $request_param)
Are we missing something or is this formatted properly? Any assistance would be great.Thanks!-jasonSubject: RE: MCU HttpFeedback Issue Replied by: Thomas Bonhomme on 08-07-2013 07:11:50 AMHi Jason,Your code is not complete, but I think the problem is with your "events" structure.In order to configure a feedback expression on the MCU, I would try to send something like that: 1 <methodCall>
2 <methodName>feedbackReceiver.configure</methodName>
3 <params>
4 <param>
5 <value>
6 <struct>
7 <member>
8 <name>authenticationUser</name>
9 <value><string>admin</string></value>
10 </member>
11 <member>
12 <name>authenticationPassword</name>
13 <value><string></string></value>
14 </member>
15 <member>
16 <name>receiverURI</name>
17 <value><string>http://tms1:8080/RPC2</string></value>18 </member>
19 <member>
20 <name>receiverIndex</name>
21 <value><int>-1</int></value>
22 </member>
23 <member>
24 <name>events</name>
25 <value>
26 <struct>
27 <member>
28 <name>participantConnected</name>
29 <value><boolean>true</boolean></value>
30 </member>
31 </struct>
32 </value>
33 </member>
34 </struct>
35 </value>
36 </param>
37 </params>
38 </methodCall>
Hope that helps!ThomasSubject: RE: MCU HttpFeedback Issue Replied by: Thomas Bonhomme on 08-07-2013 09:54:58 AMThanks for the feedback, Jason and I'm glad that works now.Happy coding!ThomasSubject: RE: MCU HttpFeedback Issue Replied by: Jason Shaffer on 08-07-2013 09:33:15 AMHi Thomas,Thanks so much for the prompt, reliable support!Seems to work like a champ!...Take care,-jason