<string> elements in GetParameterValues and GetRPCMethods should be unqualified

This commit is contained in:
Zaid Abdulla committed 2014-05-09 12:18:29 +03:00
1 parent 647f5c1647
commit dfb2e624d9
1 file changed
+2 -2
+2 -2
View File
@@ -107,7 +107,7 @@ cpeGetParameterValues = (xml, methodRequest) ->
el = xml.node('cwmp:GetParameterValues').node('ParameterNames') el = xml.node('cwmp:GetParameterValues').node('ParameterNames')
el.attr({'soap-enc:arrayType' : "xsd:string[#{methodRequest.parameterNames.length}]"}) el.attr({'soap-enc:arrayType' : "xsd:string[#{methodRequest.parameterNames.length}]"})
for p in methodRequest.parameterNames for p in methodRequest.parameterNames
el.node('xsd:string').text(p) el.node('string').text(p)
cpeGetParameterValuesResponse = (xml) -> cpeGetParameterValuesResponse = (xml) ->
@@ -210,7 +210,7 @@ acsGetRPCMethodsResponse = (xml, methodResponse) ->
el = xml.node('cwmp:GetRPCMethodsResponse').node('MethodList') el = xml.node('cwmp:GetRPCMethodsResponse').node('MethodList')
el.attr({'soap-enc:arrayType' : "xsd:string[#{methodResponse.methodList.length}]"}) el.attr({'soap-enc:arrayType' : "xsd:string[#{methodResponse.methodList.length}]"})
for m in methodResponse.methodList for m in methodResponse.methodList
el.node('xsd:string').text(m) el.node('string').text(m)
acsTransferComplete = (xml) -> acsTransferComplete = (xml) ->