Quantcast
Channel: VMware Communities : All Content - vRealize Automation Tools
Viewing all articles
Browse latest Browse all 9859

HttpMessageConverterExtractor Exception during login using SDK and the ClientSdkExample.java

$
0
0

Hello everyone,

 

I'm trying to use the SDK for the vCac 6.2.1, using the provided ClientSdkExample.

 

I got the following exception during the login phase:

Exception in thread "main" org.springframework.web.client.RestClientException: Could not extract response: no suitable HttpMessageConverter found for response type [class com.vmware.vcac.componentregistry.rest.stubs.EndPoint] and content type [text/html;charset=ISO-8859-1]

    at org.springframework.web.client.HttpMessageConverterExtractor.extractData(HttpMessageConverterExtractor.java:108)

    at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:549)

    at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:517)

    at org.springframework.web.client.RestTemplate.getForObject(RestTemplate.java:255)

    at com.vmware.vcac.platform.rest.client.impl.RestClientImpl.get(RestClientImpl.java:237)

    at com.vmware.vcac.platform.rest.client.services.AbstractService.get(AbstractService.java:64)

    at com.vmware.vcac.core.componentregistry.rest.client.service.EndpointService.getSsoEndPoint(EndpointService.java:102)

    at com.vmware.cafe.CafeService.getSsoEndpoint(CafeService.java:61)

    at com.vmware.cafe.CafeService.getSsoUrl(CafeService.java:57)

    at com.vmware.cafe.CafeService.getStsAdapter(CafeService.java:48)

    at com.vmware.cafe.consumer.ConsumerService.authenticate(ConsumerService.java:148)

    at com.vmware.cafe.consumer.ConsumerService.authenticate(ConsumerService.java:94)

    at com.vmware.vcac.ClientSdkExample.login(ClientSdkExample.java:164)

    at com.vmware.vcac.ClientSdkExample.main(ClientSdkExample.java:353)

 

Did any one had the same issue?

 

Thank you


Viewing all articles
Browse latest Browse all 9859

Trending Articles