add supporting exemplar xml

This commit is contained in:
danikov 2012-02-13 14:56:20 +00:00
parent d9c76fef30
commit 58d08637f8
3 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,8 @@
HTTP/1.1 400 Bad Request
Date: Mon, 13 Feb 2012 14:52:25 GMT
Content-Type: application/vnd.vmware.vcloud.error+xml;version=1.5
Date: Mon, 13 Feb 2012 14:52:25 GMT
Content-Length: 401
<?xml version="1.0" encoding="UTF-8"?>
<Error xmlns="http://www.vmware.com/vcloud/v1.5" minorErrorCode="BAD_REQUEST" message="validation error on field 'id': String value has invalid format or length" majorErrorCode="400" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.vmware.com/vcloud/v1.5 http://mycloud.greenhousedata.com/api/v1.5/schema/master.xsd"></Error>

View File

@ -0,0 +1,8 @@
HTTP/1.1 403 Forbidden
Date: Mon, 13 Feb 2012 14:51:28 GMT
Content-Type: application/vnd.vmware.vcloud.error+xml;version=1.5
Date: Mon, 13 Feb 2012 14:51:28 GMT
Content-Length: 450
<?xml version="1.0" encoding="UTF-8"?>
<Error xmlns="http://www.vmware.com/vcloud/v1.5" minorErrorCode="ACCESS_TO_RESOURCE_IS_FORBIDDEN" message="No access to entity &quot;(com.vmware.vcloud.entity.media:e9cd3387-ac57-4d27-a481-9bee75e0690f)&quot;." majorErrorCode="403" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.vmware.com/vcloud/v1.5 http://mycloud.greenhousedata.com/api/v1.5/schema/master.xsd"></Error>

View File

@ -0,0 +1,8 @@
HTTP/1.1 403 Forbidden
Date: Mon, 13 Feb 2012 14:54:07 GMT
Content-Type: application/vnd.vmware.vcloud.error+xml;version=1.5
Date: Mon, 13 Feb 2012 14:54:07 GMT
Content-Length: 450
<?xml version="1.0" encoding="UTF-8"?>
<Error xmlns="http://www.vmware.com/vcloud/v1.5" minorErrorCode="ACCESS_TO_RESOURCE_IS_FORBIDDEN" message="No access to entity &quot;(com.vmware.vcloud.entity.media:aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee)&quot;." majorErrorCode="403" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.vmware.com/vcloud/v1.5 http://mycloud.greenhousedata.com/api/v1.5/schema/master.xsd"></Error>