<string> elements in GetParameterValues and GetRPCMethods should be unqualified
This commit is contained in:
1 parent
647f5c1647
commit
dfb2e624d9
1 file changed
+2
-2
+2
-2
@@ -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) ->
|
||||||
|
|||||||
Reference in new issue
Block a user