Fwd: Re: Parse xml string failed

Zaid Abdulla zaid at genieacs.com
Thu Mar 31 18:12:50 EDT 2016


On Wed, 2016-03-30 at 12:40 +0200, Sergio Fernández wrote:
> how could I transform the value of the XML SOAP file the router
> sends? To replace <ParameterKey/> to <ParameterKey>0</ParameterKey>

You can modify the function setParameterValues in lib/tasks.coffee to
pass parameterKey with some string value. Though GenieACS doesn't make
use of ParameterKey, it will be rendered in the XML request if the
value is present in the request object (see lib/soap.coffee).

Zaid


More information about the Users mailing list