SOAP Web Service AFX test connector capabilities fail with 'Failed to create service' and 'Unexpected EOF in prolog' messages in RSA Identity Governance & Lifecycle
Originally Published: 2016-10-21
Article Number
Applies To
RSA Version/Condition: 6.9.1, 7.0.x, 7.1.x
Issue
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.
Cause
Unexpected EOF in prolog
This error indicates that there is a parsing issue in the WSDL file being accessed.
When pulling up the WSDL file in Notepad++ or a similar editor, you can see that the lines are terminated by CRLF. This indicates that the WSDL file might have been created on Windows, and the Linux Operating System does not necessarily interpret this character correctly. SoapUI tends to be more forgiving and has no issue with the CRLF character.
Resolution
- Edit the WSDL file and remove the CRLF characters at the end of the lines. An example is provided below:
- Convert the file to Unix format. For example, if you are using Notepad++, select Edit > EOL Conversion > UNIX/OSX Format.
- Save the file using File > Save.
Related Articles
System.DllNotFoundException: Unable to load DLL 'km' 36Number of Views Error occured in RSA Federated Identity Manger (FIM) 4.1 'Unable to verify the signature value' error when processing asse… 26Number of Views Pending accounts which resolve to no known user attribute are expected to be orphaned once collections occur but instead a… 107Number of Views Attributes are missing from the SAML response sent by the RSA SecurID Access Identity Router to Microsoft AD FS 42Number of Views When editing/creating a SOAP Web Service AFX Connector and configuring any capability, a 'Request could not be handled' me… 53Number of Views
Trending Articles
Passwordless Authentication in Windows MFA Agent for Active Directory – Quick Setup Guide RSA Authentication Manager 8.9 Release Notes (January 2026) RSA Authentication Manager Upgrade Process RSA Authentication Manager 8.7 SP2 Setup and Configuration Guide An example of SSO using SAML and ADFS with RSA Identity Management and Governance 6.9.x
Don't see what you're looking for?