Click HERE to see how Saviynt Intelligence is transforming the industry. |
08/28/2024 06:17 AM
Hello
We created PS Connector, after completing all the prerequisites. Still the connection got failed. Can someone help with the setup.
08/28/2024 06:22 AM
08/28/2024 08:03 AM
JSON
{
"TESTCOMMAND": "SCRIPT=Test-NetConnection [****-******.***.quadrupel.local]",
"RESPONSE": {
"OBJECTTOREAD": "get(0).PingSucceeded",
"SUCCESSVALUE": "TRUE"
}
LOGS
2024-08-28T19:35:50+05:30-ecm-services.WindowsConnectorService-http-nio-8080-exec-9-g5bld-DEBUG-Calling webservice: ****-******.***.quadrupel.local
2024-08-28T19:35:50+05:30-ecm-services.WindowsConnectorService-http-nio-8080-exec-9-g5bld-ERROR-Error occured in webservice call
2024-08-28T19:35:50+05:30-ecm--null-g5bld--com.sun.jersey.api.client.ClientHandlerException: java.lang.IllegalArgumentException: URI is not absolute at com.sun.jersey.client.urlconnection.URLConnectionClientHandler.handle(URLConnectionClientHandler.java:149) at com.sun.jersey.api.client.Client.handle(Client.java:648) at com.sun.jersey.api.client.WebResource.handle(WebResource.java:670) at com.sun.jersey.api.client.WebResource.access$200(WebResource.java:74) at com.sun.jersey.api.client.WebResource$Builder.post(WebResource.java:563) at com.saviynt.ecm.services.WindowsConnectorService.callRestWebService(WindowsConnectorService.groovy:154) at com.saviynt.ecm.services.WindowsConnectorService.testConnection(WindowsConnectorService.groovy:1470) at com.saviynt.ecm.integration.ExternalConnectionCallService.testExternalConnection(ExternalConnectionCallService.groovy:1058) at com.saviynt.ecm.utility.domain.EcmConfigController$_closure21.doCall(EcmConfigController.groovy:780) at grails.plugin.springsecurity.web.filter.GrailsAnonymousAuthenticationFilter.doFilter(GrailsAnonymousAuthenticationFilter.java:53) at com.saviynt.webservice.SaviyntRestAuthenticationFilter.doFilter(SaviyntRestAuthenticationFilter.groovy:158) at grails.plugin.springsecurity.web.authentication.logout.MutableLogoutFilter.doFilter(MutableLogoutFilter.java:62) at grails.plugin.springsecurity.web.SecurityRequestHolderFilter.doFilter(SecurityRequestHolderFilter.java:59) at com.mrhaki.grails.plugin.xframeoptions.web.XFrameOptionsFilter.doFilterInternal(XFrameOptionsFilter.java:69) at com.brandseye.cors.CorsFilter.doFilter(CorsFilter.java:82) at java.lang.Thread.run(Thread.java:750)Caused by: java.lang.IllegalArgumentException: URI is not absolute at java.net.URI.toURL(URI.java:1088) at com.sun.jersey.client.urlconnection.URLConnectionClientHandler._invoke(URLConnectionClientHandler.java:157) at com.sun.jersey.client.urlconnection.URLConnectionClientHandler.handle(URLConnectionClientHandler.java:147) ... 15 more
2024-08-28T19:35:50+05:30-ecm-services.WindowsConnectorService-http-nio-8080-exec-9-g5bld-ERROR-Exception
2024-08-28T19:35:50+05:30-ecm--null-g5bld--com.sun.jersey.api.client.ClientHandlerException: java.lang.IllegalArgumentException: URI is not absolute at com.sun.jersey.client.urlconnection.URLConnectionClientHandler.handle(URLConnectionClientHandler.java:149) at com.sun.jersey.api.client.Client.handle(Client.java:648) at com.sun.jersey.api.client.WebResource.handle(WebResource.java:670) at com.sun.jersey.api.client.WebResource.access$200(WebResource.java:74) at com.sun.jersey.api.client.WebResource$Builder.post(WebResource.java:563) at com.saviynt.ecm.services.WindowsConnectorService.callRestWebService(WindowsConnectorService.groovy:154) at com.saviynt.ecm.services.WindowsConnectorService.testConnection(WindowsConnectorService.groovy:1470) at com.saviynt.ecm.integration.ExternalConnectionCallService.testExternalConnection(ExternalConnectionCallService.groovy:1058) at com.saviynt.ecm.utility.domain.EcmConfigController$_closure21.doCall(EcmConfigController.groovy:780) at grails.plugin.springsecurity.web.filter.GrailsAnonymousAuthenticationFilter.doFilter(GrailsAnonymousAuthenticationFilter.java:53) at com.saviynt.webservice.SaviyntRestAuthenticationFilter.doFilter(SaviyntRestAuthenticationFilter.groovy:158) at grails.plugin.springsecurity.web.authentication.logout.MutableLogoutFilter.doFilter(MutableLogoutFilter.java:62) at grails.plugin.springsecurity.web.SecurityRequestHolderFilter.doFilter(SecurityRequestHolderFilter.java:59) at com.mrhaki.grails.plugin.xframeoptions.web.XFrameOptionsFilter.doFilterInternal(XFrameOptionsFilter.java:69) at com.brandseye.cors.CorsFilter.doFilter(CorsFilter.java:82) at java.lang.Thread.run(Thread.java:750)Caused by: java.lang.IllegalArgumentException: URI is not absolute at java.net.URI.toURL(URI.java:1088) at com.sun.jersey.client.urlconnection.URLConnectionClientHandler._invoke(URLConnectionClientHandler.java:157) at com.sun.jersey.client.urlconnection.URLConnectionClientHandler.handle(URLConnectionClientHandler.java:147) ... 15 more
2024-08-28T19:35:50+05:30-ecm-services.WindowsConnectorService-http-nio-8080-exec-9-g5bld-DEBUG-Status to return is false
2024-08-28T19:35:50+05:30-ecm-services.WindowsConnectorService-http-nio-8080-exec-9-g5bld-DEBUG-Exit testConnection
08/28/2024 08:07 AM
Verify URI Format: Ensure that the URI you are using in the web service call is complete and correctly formatted. It should start with a scheme (like http:// or https://). For example:
Check Web Service Configuration: Review the configuration of your web service to ensure that the URI is correctly specified. Look for any missing components or misconfigurations in how the URI is being set.
08/29/2024 06:05 AM
After using the "http://" for link, only the Webservice call error is coming. We checked the configuration also, everything is fine with that.
08/29/2024 06:58 AM
Does it working from postman ?
08/28/2024 07:39 PM
@Ratna
What response are you getting from Postman when doing a test connection on Postman?