panni04

CA WA Web Service job with Security error

Blog Post created by panni04 Employee on Oct 10, 2017

If you are getting strange SUBERROR or FAILED errors when submitting the Web Service (WS) job, then check the CA WA Agent (agent) logs.  The plugin_log_webservice.log is helpful in understanding the workings of the WS plugin.

 

The following error indicates that the access to the WSDL is protected.  It could be Digest or Basic authenticaiton

10/06/2017 11:47:07.791 EDT-0400 1 WebservicePlugin.webservice Internal Thread.CybWOBWebserviceRundoclitHandler.processWob[:1089] - java.lang.IllegalStateException: Error parsing credentials

at cybermation.commonservice.transport.http.targetauth.CybHTTPAbstractAuthentication.configure(CybHTTPAbstractAuthentication.java:267) at cybermation.commonservice.transport.http.CybHTTPConnector.<init>(CybHTTPConnector.java:132)

   at cybermation.commonservice.transport.CybConnectorFactory.getConnector(CybConnectorFactory.java:113)

.....<truncated>.....

cybermation.plugins.library.base.CybRMIExternalPluginBaseManager.run(CybRMIExternalPluginBaseManager.java:461)  at java.lang.Thread.run(Thread.java:745)

Caused by: cybermation.library.CybInvalidSyntaxException: Either user or a password not present

 at cybermation.commonservice.transport.http.targetauth.CybHTTPAbstractAuthentication.composeCredentials(CybHTTPAbstractAuthentication.java:191) at cybermation.commonservice.transport.http.targetauth.CybHTTPAbstractAuthentication.configure(CybHTTPAbstractAuthentication.java:263) at cybermation.commonservice.transport.http.CybHTTPConnector.<init>(CybHTTPConnector.java:132) at cybermation.commonservice.transport.CybConnectorFactory.getConnector(CybConnectorFactory.java:113)

   at cybermation.commonservice.transport.CybConnectorFactory.getConnector(CybConnectorFactory.java:88)

 at cybermation.commonservice.webservice.wsdl.harness.CybWSDLReader.readWSDL(CybWSDLReader.java:175)

 at cybermation.commonservice.webservice.wsdl.harness.CybWSDLReader.readWSDL(CybWSDLReader.java:161)

                                                                                                                                    at cybermation.commonservice.webservice.wsdl.CybWSDLOperation.read(CybWSDLOperation.java:225) at

.....<truncated>.....

10/06/2017 11:17:54.904 EDT-0400 1 WebservicePlugin.WS DocLit pool thread <DocLit:1>.CybWSDocLitHandler.call[:607] - javax.xml.ws.soap.SOAPFaultException: Must Understand check failed for header http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd : Security       

.....<truncated>.....                                                                                                      

 

If the access to the WSDL is restricted, then Connection Information in the WS job on CA WA DE will need to updated.  Enter the user and hostname that can authenticate.  The user and password will also have to be added to the Agent in the Topology.  The Authentication Order can defined, but it can be left blank as well, and let the agent decide the exact authentication order.

 

Outcomes