Apr 09, 2010
set_service takes an array for the first parameter and a scalar for the second
System.Services.set_service(
in ServiceType [] services,
in ServiceAction service_action
);
You are coercing both parameters into arrays by placing brackets around them. Remove the brackets around the second parameter and you should be good.
$soapResponse = $System->set_service
(
SOAP::Data->name(services => [$servicetype]),
SOAP::Data->name(service_action => $serviceaction)
);
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)