Quantcast
Channel: VMware Communities : All Content - All Communities
Viewing all articles
Browse latest Browse all 179681

Unable to setInParameter multiple times on SOAP:Request

$
0
0

Hi there,

 

we have a problem, sending a SOAP:Request to one of our applications. The application requires one parameter multiple times:

<clit:executeCommandByParamList>     <clit:nameSpace>NSHScriptJob</clit:nameSpace>     <clit:commandName>addNSHScriptParameterValueByGroupAndName</clit:commandName>     <clit:commandArguments>/Test_AZ</clit:commandArguments>     <clit:commandArguments>proptest</clit:commandArguments>     <clit:commandArguments>0</clit:commandArguments>     <clit:commandArguments>testvalue</clit:commandArguments></clit:executeCommandByParamList>

 

If I set the input parameter with function setInParameter, only the last commandArguments parameter will be used. It seems, if I set the parameter multiple times, the parameter will be over written.

 

for each(var commandArgument in commandArguments)
{     request.setInParameter("commandArguments", commandArgument);
}

 

Does anyone have an idea about to fix this?

 

Regards,

Chris


Viewing all articles
Browse latest Browse all 179681

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>