When testing SOAP Web Service AFX connector capabilities (
AFX >
Connectors > {
connector-name} >
Test Connector Capabilities) the following error message displays in the user interface:
Failed to create service
Looking at the file with a name similar to
$AFX_HOME/esb/logs/esb.AFX_CONN_{connector-name}_test.log, you first see:
2019-09-27 07:59:22.091 [INFO] com.aveksa.AFX.server.runtime.mule.soap.mule.SoapDispatchComponent:197 - Issue encountered supported verb: CreateAccount, error is org.apache.cxf.service.factory.ServiceConstructionException: Failed to create service. 2019-09-27 07:59:22.093 [ERROR] com.aveksa.AFX.server.runtime.mule.soap.mule.SoapDispatchComponent:365 - Error occured while executing the capability javax.xml.ws.WebServiceException: org.apache.cxf.service.factory.ServiceConstructionException: Failed to create service. at org.apache.cxf.jaxws.ServiceImpl.<init>
Note in versions prior to RSA Identity Governance & Lifecycle v7, the AFX log file name would be similar to $AFX_HOME/mulelogs/mule.AFX_CONN_{connector-name}_test.log.
Further down the stack trace is the message:
Caused by: javax.wsdl.WSDLException: WSDLException: faultCode=PARSER_ERROR: com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in prolog at [row,col,system-id]: [1,0,"http://xxxxxxxx:9080/WebSecurityWebService/services/WebSecurity?WSDL"]
The
WSDL file being referenced works as expected when accessed from the
SoapUI.