# Python to rpc reply

**URL:** <https://dmap-community.ductus.global/t/python-to-rpc-reply/3244>\
**Category:** General\
**Created:** [August 25, 2020, 4:47pm UTC](https://dmap-community.ductus.global/t/python-to-rpc-reply/3244 "2020-08-25T16:47:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![saisampathkatru](https://avatars.discourse-cdn.com/v4/letter/s/f4b2a3/32.png) [@saisampathkatru](https://dmap-community.ductus.global/u/saisampathkatru)\
**Post date:** [August 25, 2020, 4:47pm UTC](https://dmap-community.ductus.global/t/python-to-rpc-reply/3244/1 "2020-08-25T16:47:14Z")

</div>

How can i send a json string from python file to rpc reply by converting it into xml tags. In java there is a method called ConfXMLParams similar to that is there any method in python.

---

<div class="post-metadata">

**Author:** ![nabil](https://avatars.discourse-cdn.com/v4/letter/n/e79b87/32.png) [@nabil](https://dmap-community.ductus.global/u/nabil)\
**Post date:** [August 25, 2020, 7:28pm UTC](https://dmap-community.ductus.global/t/python-to-rpc-reply/3244/2 "2020-08-25T19:28:48Z")

</div>

Check: $CONFD\_DIR/examples.confd/intro/python/7-actions.

---

<div class="post-metadata">

**Author:** ![saisampathkatru](https://avatars.discourse-cdn.com/v4/letter/s/f4b2a3/32.png) [@saisampathkatru](https://dmap-community.ductus.global/u/saisampathkatru)\
**Post date:** [August 26, 2020, 4:53am UTC](https://dmap-community.ductus.global/t/python-to-rpc-reply/3244/3 "2020-08-26T04:53:52Z")

</div>

If Possible can you please send the method. I have seen 7-actions but couldn’t find that. I want to send a json data to rpc so that it prints in xml format.  
Thanks in advance.
