Hello,
I currently developing a Java module in charge of using the new VCF vSphere SDK (vim REST API).
I faced an issue with a POST request about a task collector: I created a task collector with the TaskManager, the new collector ID was something like "session[xxxxx]yyyyy". When I tried to set the page size of a task collector, I had the following issue:
Ok, Java URLs are checked to respect the RFC-3986 so I decided to "URL encode" the task collector ID: the request was accepted by Java URI parser but now the vSphere server refused the request:
The object 'vim.TaskHistoryCollector:session%5B52c48b3b-2c99-80c4-68f3-229b02a7c682%5D52c49f50-f689-b6c5-8b3a-e06eb41f112e' has already been deleted or has not been completely created
It seems that the vSphere server does not expect to have URL encoded paths but in this case where URL is not syntactically correct, it should manage it because we can't use the VCF REST API with Java. Thanks a lot!
Chris
-------------------------------------------