Details
-
Bug
-
Status: Resolved
-
Resolution: Cannot Reproduce
-
None
-
None
-
None
-
Operating System: Linux
Platform: All
-
4353
Description
<input xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf">
<source>running</source>
</input>
...
<error-type>protocol</error-type>
<error-tag>malformed-message</error-tag>
<error-message>Error parsing input: Unknown child(ren) node(s) detected, identified by: (urn:ietf:params:xml:ns:yang:ietf-netconf)source, in: container input</error-message>
Try POST :
<input xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf">
<source><running/></source>
</input>
... same error
<error-type>protocol</error-type>
<error-tag>malformed-message</error-tag>
<error-message>Error parsing input: Unknown child(ren) node(s) detected, identified by: (urn:ietf:params:xml:ns:yang:ietf-netconf)source, in: container input</error-message>
Switch to json:
{ "input": { "source" :
{ "running" : "" }} }
Works!