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

vCAC REST API's

$
0
0

Hi,

 

I got the documentation for vCAC REST API's from VMware vCloud Automation Center Documentation . I think it has updated recently. I was looking into that document but could not figure out how to establish connection to vCAC server using this API's. I used basic authentication and hitting this URI https://<vcac-server host name>/catalog-service/api  but the server is throwing back the below response, looks like i need to attach a authentication token to the header. How to get this token?


  • <pre>java.lang.IllegalArgumentException: The HTTP token has invalid syntax arround index 0
  • com.vmware.vim.sso.http.impl.ChunkParser.throwParseEx(ChunkParser.java:92)
  • com.vmware.vim.sso.http.impl.ChunkParser.lookAt(ChunkParser.java:86)
  • com.vmware.vim.sso.http.impl.ChunkParser.lookingAtPrefix(ChunkParser.java:74)
  • com.vmware.vim.sso.http.impl.ChunkParser.next(ChunkParser.java:54)
  • com.vmware.vim.sso.http.impl.TokenFormatter.parse(TokenFormatter.java:140)
  • com.vmware.vim.sso.http.impl.InternalSamlDecoder.decode(InternalSamlDecoder.java:19)
  • com.vmware.vcac.authentication.http.tenancy.SamlTenantIdentificationStrategy.identifyTenant(SamlTenantIdentificationStrategy.java:67)
  • com.vmware.vcac.authentication.http.tenancy.TenancyContextFilter.determineTenancyContext(TenancyContextFilter.java:65)
  • com.vmware.vcac.authentication.http.tenancy.TenancyContextFilter.doFilter(TenancyContextFilter.java:41)
  • org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
  • org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:50)
  • org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  • org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
  • org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)
  • org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
  • org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192)
  • org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160)
  • org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
  • org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)
  • org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
  • org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)

Viewing all articles
Browse latest Browse all 9859

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>