Web Service Job fails with a Transport error: 403 Error: Forbidden

book

Article ID: 84833

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine AUTOMIC WORKLOAD AUTOMATION

Issue/Introduction

Error Message :
org.apache.axis2.AxisFault: Transport error: 403 Error: Forbidden. The page you are attempting to access requires your browser to have a Secure Sockets Layer (SSL) client certification that the Web server recognizes.

Unable to create a WebService connection object that requires SSL client certification authentication and receive the error 403 messages, as shown below.  

Unable to configure the CONN object as well as the JOBS to use or detect the client certification.  The is due to the fact that the RA WebService Agent does not support two way SSL.

org.apache.axis2.AxisFault: Transport error: 403 Error: Forbidden 
at org.apache.axis2.transport.http.HTTPSender.handleResponse(HTTPSender.java:310) 
at org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:194) 
at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:75) 
at org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:404) 
at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:231) 
at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:443) 
at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:406) 
at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229) 
at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165) 
at WS_1444287826114.STLWebServiceServiceSoapBindingQSServiceStub.getSTL001(STLWebServiceServiceSoapBindingQSServiceStub.java:366) 
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) 
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 
at java.lang.reflect.Method.invoke(Method.java:606) 
at com.uc4.wsdljob.StubExecutor.invoke(StubExecutor.java:311) 
at com.uc4.wsdljob.StubExecutor$invoke.call(Unknown Source) 
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:40) 
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116) 
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:128) 
at SOAP.runJob(WebService.groovy:3809) 
at com.uc4.extensibility.types.CITAgent.dispatchJob(CITAgent.java:258) 
at com.uc4.ex.cit.CITJob.execute(CITJob.java:191) 
at com.uc4.ex.Job.run(Job.java:469) 
at com.uc4.ex.ThreadPool$RunnableDecorator.run(ThreadPool.java:53) 
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) 
at java.util.concurrent.FutureTask.run(FutureTask.java:262) 
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) 
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) 
at java.lang.Thread.run(Thread.java:745)

Cause

Cause type:
By design
Root Cause: This would be an enhancement to support two way SSL with our WebService Agent. Please post your enhancement request on: https://automic.force.com/support/apex/CommunityIdeaHomePage

Environment

OS: Windows Server 2008

Resolution

Use cURL commands for GET and POST statements. Find examples here: https://curl.haxx.se/docs/httpscripting.html#GET

Fix Status: No Fix

Additional Information

Workaround :
N/A