AnsweredAssumed Answered

CA SOI REST - CREATE IC in CA SOI

Question asked by silev02 Employee on Mar 14, 2017
Latest reply on Mar 21, 2017 by silev02

Its possible to create a IC using the rest API?

 

I need create process in CA PAM that create a IC using tha REST methods (SOI API).

 

Is its possible, anyone have a sample to make it?

 

I trying using https://server:7403/rest/ci 

 

But this error is showed:

 

<html><head><title>Apache Tomcat/7.0.62 - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 500 - AccessLayer has not been set yet</h1><HR size="1" noshade="noshade"><p><b>type</b> Exception report</p><p><b>message</b> <u>AccessLayer has not been set yet</u></p><p><b>description</b> <u>The server encountered an internal error that prevented it from fulfilling this request.</u></p><p><b>exception</b> <pre>com.ca.soi.accesslayer.SamUIUnavailableException: AccessLayer has not been set yet
com.ca.soi.accesslayer.register.AccessLayerRegistrator.getUtilitiesInstance(AccessLayerRegistrator.java:167)
com.ca.soi.accesslayer.register.UtilitiesAccessLayerProxy.getRealImplementation(UtilitiesAccessLayerProxy.java:16)
com.ca.soi.accesslayer.register.UtilitiesAccessLayerProxy.authenticate(UtilitiesAccessLayerProxy.java:25)
com.ca.soi.headless.filter.AuthenticateFilter.authenticate(AuthenticateFilter.java:162)
com.ca.soi.headless.filter.AuthenticateFilter.doFilter(AuthenticateFilter.java:101)
</pre></p><p><b>note</b> <u>The full stack trace of the root cause is available in the Apache Tomcat/7.0.62 logs.</u></p><HR size="1" noshade="noshade"><h3>Apache Tomcat/7.0.62</h3></body></html>

 

Thanks

Outcomes