Hi,
The blocking task's POST action operations like resume/abort/fail requires XML body to be sent along with the POST operation.
Ex: POST - action/abort
POST XML Body - BlockingTaskOperationParamsType
POST Content-Type - application/vnd.vmware.admin.blockingTaskOperationParams+xml
I think you are missing the POST XML Body and Content-Type.
Regards,
Rajesh Kamal.
Thanks!
now gives me:
<Error xmlns="http://www.vmware.com/vcloud/v1.5" stackTrace="javax.ws.rs.WebApplicationException
....
....
minorErrorCode="UNSUPPORTED_MEDIA_TYPE" message="Unsupported Media Type" majorErrorCode="415" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.vmware.com/vcloud/v1.5 http://10.9.184.100/api/v1.5/schema/master.xsd"></Error>
Is there a document that describes what the XML post needs to be? I can't seem to find an example as of yet.
Thanks!!
Hi,
http://www.vmware.com/pdf/vcd_15_api_guide.pdf Pg 231.
You are misssing the Content-Type :
Many Thanks!
Apologies, I completely overlooked it...