> +   
> @Payload("<ws:getDataCenter><dataCenterId>{id}</dataCenterId></ws:getDataCenter>")
> +   @XMLResponseParser(GetVDCResponseHandler.class)
> +   @Fallback(NullOnNotFoundOr404.class)
> +   VirtualDataCenter getDataCenter(@PayloadParam("id") String identifier);
> +
> +   /**
> +    * Creates and saves a new, empty Virtual Data Center. Returns its 
> identifier for further reference.
> +    *
> +    * @param vdc VDC payload containing dataCenterName, region (both 
> optional)
> +    * @return Version response
> +    */
> +   @POST
> +   @Named("CreateDataCenter")
> +   @MapBinder(CreateDataCenterRequestBinder.class)
> +   @XMLResponseParser(VersionResponseHandler.class)
> +   @Fallback(NullOnNotFoundOr404.class)

Is there an <a 
href="https://github.com/jclouds/jclouds/tree/master/core/src/main/java/org/jclouds/rest/annotations";>annotation</a>
 aside from <code>XMLResponseParser</code> or some other way I can use to 
manually intercept/parse the SOAP-XML fault response from PB? PB responds with 
fault messages in 500, but has an <httpCode/> element which contain the actual 
httpCode (i.e.: BAD_REQUEST = 400, etc). 

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/72/files#r17405267

Reply via email to