[controller-dev] Using anyxml in rpc input


Tom Pantelis <tompantelis@...>
 

anyxml is not supported in the binding code generation. You'll have to use the binding independent (ie DOM) API.

On Wed, Mar 15, 2017 at 7:55 AM, Sahil Shah <sdn.sahilshah@...> wrote:
Hi,

I want to use anyxml in the rpc input to receive xml file from the user. The file contents will be dynamic everytime.

I tried using it as in input in yang as follows:

rpc getinputXml {

input {
  anyxml assignment-rules;
}

}

The Input builder generated is not having any method to get the xml data passed by the user.

Can you suggest any approach to realize this scenario or any modification to the above one ?

Thanks and Regards
Sahil

_______________________________________________
controller-dev mailing list
controller-dev@lists.opendaylight.org
https://lists.opendaylight.org/mailman/listinfo/controller-dev