Quantcast
Channel: VMware Communities : Discussion List - vRealize Orchestrator
Viewing all articles
Browse latest Browse all 6251

Question on vRO REST API encoding problem

$
0
0

Hi, Experts.

 

I tried to use vRO workflow to create NSX Security Tags via NSX REST API, it works fine if the Security Tag is named in English, but if I chose to input a Chinese Tag name, it would be showed as a string of question marks in NSX Manager finally. I also tried with Firefox REST Client, it's obvious that NSX REST API works well no matter a English name or a Chinese name.

 

So, I guess maybe vRO sends wrong name or wrong encoding body to NSX Manager. Is it a vRO REST encoding problem? any idea to fix it?

 

Thanks in advance.

 

 

Screenshots of NSX Security Tags created in REST API tests:

vRO Chinese Encoding Problem.png

 

Screenshots on REST Operation creation:

 

 

The details of the REST API call is:

 

  1. Url:            https://wdnsxmgr/api/2.0/services/securitytags/tag

  2. Method:    POST

  3. Content:   <securityTag><objectTypeName>SecurityTag</objectTypeName><type><typeName>SecurityTag</typeName></type><name>其他应用1</name><description>Created by vRO workflows</description><extendedAttributes></extendedAttributes></securityTag>

  4. Header:    application/xml

 

 

Best Regards,

Ryan


Viewing all articles
Browse latest Browse all 6251

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>