VMware Cloud Community
segadson
Contributor
Contributor

Add Properites to SOAP invoke request

Hello,

I created a workflow that invokes a soap request but it only lets you add a subset of properties that I want to add to my request.  I know it creates the below

System.log("creating request...");
var request = operation.createSOAPRequest();

request.setInParameter("request.machineId",request_D_machineId);
request.setInParameter("request.properties[0]",request_D_properties_OB_0_CB_);
request.addInParameterAttribute("request.properties[0]", "name", request_D_properties_OB_0_CB__OP_name_CP_);
request.addInParameterAttribute("request.properties[0]", "value", request_D_properties_OB_0_CB__OP_value_CP_);

is it just a matter of adding a bunch of below:

request.addInParameterAttribute("request.properties[0]", "name", request_D_properties_OB_0_CB__OP_name_CP_);

request.addInParameterAttribute("request.properties[0]", "value", request_D_properties_OB_0_CB__OP_value_CP_);

or should create a properties parameter?

0 Kudos
0 Replies