|Applies To||RSA Product Set: Identity Governance and Lifecycle|
RSA Version/Condition: 6.9.1, 7.0.x
Product Description: Access Fulfillment Express
|Issue||When testing connector capabilities, the following error is issued:|
Failed to create service
Looking at the file with a name similar to <AFX_HOME>/mule/logs/mule.AFX_CONN_<connectorname>_test.log, we see first:
2016-09-27 07:59:22.091 [INFO] com.aveksa.AFX.server.runtime.mule.soap.mule.SoapDispatchComponent:197 - Issue encountered supported verb:
Further down the stack is the message:
Caused by: javax.wsdl.WSDLException: WSDLException: faultCode=PARSER_ERROR: com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in prolog
The wsdl file works just fine in the SOAPUI.
|Cause||The last error message, Unexpected EOF in prolog, indicates that there is a parsing issue in the wsdl file we try to reach.|
When pulling up the wsdl file in Notepad++ or a similar editor, we can see that the lines are terminated by CRLF.
This indicates the wsdl file might have been created on Windows, and the Linux OS does not necessarily interpret this correctly; although SOAPUI is more forgiving and has no issue with the CR character.
|Resolution||The solution involves two steps:|