From dfb2e624d97d5defd0e3bc0331ca6e413ddbbfd8 Mon Sep 17 00:00:00 2001 From: Zaid Abdulla Date: Fri, 9 May 2014 12:18:29 +0300 Subject: [PATCH] elements in GetParameterValues and GetRPCMethods should be unqualified --- lib/soap.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/soap.coffee b/lib/soap.coffee index 11c623c..496fdcf 100644 --- a/lib/soap.coffee +++ b/lib/soap.coffee @@ -107,7 +107,7 @@ cpeGetParameterValues = (xml, methodRequest) -> el = xml.node('cwmp:GetParameterValues').node('ParameterNames') el.attr({'soap-enc:arrayType' : "xsd:string[#{methodRequest.parameterNames.length}]"}) for p in methodRequest.parameterNames - el.node('xsd:string').text(p) + el.node('string').text(p) cpeGetParameterValuesResponse = (xml) -> @@ -210,7 +210,7 @@ acsGetRPCMethodsResponse = (xml, methodResponse) -> el = xml.node('cwmp:GetRPCMethodsResponse').node('MethodList') el.attr({'soap-enc:arrayType' : "xsd:string[#{methodResponse.methodList.length}]"}) for m in methodResponse.methodList - el.node('xsd:string').text(m) + el.node('string').text(m) acsTransferComplete = (xml) ->