Question
Blue Cross and Blue Shield of Minnesota
US
Last activity: 22 Jun 2022 15:28 EDT
ABBYY FlexiCapture Pega Connector issue
We have installed ABBYY FlexiCapture software on an on prem windows server. And we installed Pega connector on the Pega Cloud according to instructions in "ABBYY® FlexiCapture® 12 Connector for Pega Administrator's Guide". Can be downloaded at https://downloads.abbyy.com/FC/CONNECTORS/Pega/FC12ConnectorsPega Proprietary information hidden/FC12PegaConnectorGuide0.pdf?secure=Elboszoge9_2lWH5moAO4w== We are now trying to test the functionality from Pega but we see below error: Exception while invoking function: nsbcbsmnmr_abbyy.SendForProcessing--(String,String), Failed to open session for the role type 'ScanningOperator' and workstation type 'Scanning'. org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Content is not allowed in prolog. at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:203) at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:177) at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:399) at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:326) at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1466) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:993) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:601)
We have installed ABBYY FlexiCapture software on an on prem windows server. And we installed Pega connector on the Pega Cloud according to instructions in "ABBYY® FlexiCapture® 12 Connector for Pega Administrator's Guide". Can be downloaded at https://downloads.abbyy.com/FC/CONNECTORS/Pega/FC12ConnectorsPega Proprietary information hidden/FC12PegaConnectorGuide0.pdf?secure=Elboszoge9_2lWH5moAO4w== We are now trying to test the functionality from Pega but we see below error: Exception while invoking function: nsbcbsmnmr_abbyy.SendForProcessing--(String,String), Failed to open session for the role type 'ScanningOperator' and workstation type 'Scanning'. org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Content is not allowed in prolog. at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:203) at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:177) at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:399) at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:326) at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1466) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:993) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:601) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:111) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:504) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:841) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:770) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:140) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1212) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:642) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(SAXParserImpl.java:326) at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227) at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696) at org.apache.axis.Message.getSOAPEnvelope(Message.java:435) at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62) at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206) at org.apache.axis.client.Call.invokeEngine(Call.java:2784) at org.apache.axis.client.Call.invoke(Call.java:2767) at org.apache.axis.client.Call.invoke(Call.java:2443) at org.apache.axis.client.Call.invoke(Call.java:2366) at org.apache.axis.client.Call.invoke(Call.java:1812) at abbyy.flexicapture.appsrvapi.FlexiCaptureWebServiceSoapStub.openSession(FlexiCaptureWebServiceSoapStub.java:2435) at abbyy.flexicapture.webapi.client.TenantClient.lambda$openSession$0(TenantClient.java:85) at abbyy.flexicapture.webapi.client.api.BaseAppSrvApi.run(BaseAppSrvApi.java:40) at abbyy.flexicapture.webapi.client.TenantClient.openSession(TenantClient.java:83) at abbyy.flexicapture.webapi.client.TenantClient.Init(TenantClient.java:73) at abbyy.flexicapture.webapi.client.TenantClient.<init>(TenantClient.java:48) at abbyy.flexicapture.webapi.client.TenantClient.<init>(TenantClient.java:42) at com.pegarules.generated.SendForProcessing_010128__2438581620994759395.SendForProcessing01_01_28(SendForProcessing_010128__2438581620994759395.java:101) at com.pegarules.generated.SendForProcessing_010128__2438581620994759395.invoke(SendForProcessing_010128__2438581620994759395.java:78) at com.pega.pegarules.generation.internal.library.LibraryRuntime.resolveAndinvokeFunctionViaReflection(LibraryRuntime.java:232) at com.pega.pegarules.generation.internal.library.LibraryRuntime.invokeLibraryRuntime(LibraryRuntime.java:123) at com.pega.pegarules.generation.internal.library.LibraryFunctionUtilityImpl.resolveMethodCall(LibraryFunctionUtilityImpl.java:2939) at com.pega.pegarules.session.internal.mgmt.Executable.resolveMethodCall(Executable.java:12038) at com.pegarules.generated.activity.sh_action_sendforprocessing_deb73cc11c9588d2cb1d02f5f0434e99.step3_3_circum0(sh_action_sendforprocessing_deb73cc11c9588d2cb1d02f5f0434e99.java:591) at com.pegarules.generated.activity.sh_action_sendforprocessing_deb73cc11c9588d2cb1d02f5f0434e99.step3_0_circum0(sh_action_sendforprocessing_deb73cc11c9588d2cb1d02f5f0434e99.java:394) at com.pegarules.generated.activity.sh_action_sendforprocessing_deb73cc11c9588d2cb1d02f5f0434e99.perform(sh_action_sendforprocessing_deb73cc11c9588d2cb1d02f5f0434e99.java:125) at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:2850) at com.pega.pegarules.session.internal.mgmt.Executable.doAction(Executable.java:2232) at com.pega.pegarules.session.internal.mgmt.Executable.doAction(Executable.java:2215) at com.pegarules.generated.activity.ra_action_pyrunrecordexecute_025cb29e81d295d991d37ad8d1e40455.step2_circum0(ra_action_pyrunrecordexecute_025cb29e81d295d991d37ad8d1e40455.java:282) at com.pegarules.generated.activity.ra_action_pyrunrecordexecute_025cb29e81d295d991d37ad8d1e40455.perform(ra_action_pyrunrecordexecute_025cb29e81d295d991d37ad8d1e40455.java:94) at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:2850) at com.pega.pegarules.session.internal.mgmt.Executable.invokeActivity(Executable.java:11466) at com.pegarules.generated.activity.ra_action_pzrunrecordexecute_46ae077cc50244070fb53e2948cb85e1.step11_circum0(ra_action_pzrunrecordexecute_46ae077cc50244070fb53e2948cb85e1.java:1060) at com.pegarules.generated.activity.ra_action_pzrunrecordexecute_46ae077cc50244070fb53e2948cb85e1.perform(ra_action_pzrunrecordexecute_46ae077cc50244070fb53e2948cb85e1.java:252) at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:2850) at com.pega.pegarules.session.internal.mgmt.base.ThreadRunner.runActivitiesAlt(ThreadRunner.java:653) at com.pega.pegarules.session.internal.mgmt.PRThreadImpl.runActivitiesAlt(PRThreadImpl.java:521) at com.pega.pegarules.session.internal.engineinterface.service.HttpAPI.runActivities(HttpAPI.java:4311) at com.pega.pegarules.session.external.engineinterface.service.EngineAPI.processRequestInner(EngineAPI.java:445) at sun.reflect.GeneratedMethodAccessor753.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.pega.pegarules.session.internal.PRSessionProviderImpl.performTargetActionWithLock(PRSessionProviderImpl.java:1391) at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:1123) at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:977) at com.pega.pegarules.session.external.engineinterface.service.EngineAPI.processRequest(EngineAPI.java:368) at com.pega.pegarules.session.internal.engineinterface.service.HttpAPI.invoke(HttpAPI.java:930) at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl._invokeEngine_privact(EngineImpl.java:338) at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl.invokeEngine(EngineImpl.java:282) at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl.invokeEngine(EngineImpl.java:259) at com.pega.pegarules.priv.context.JNDIEnvironment.invokeEngineInner(JNDIEnvironment.java:281) at com.pega.pegarules.priv.context.JNDIEnvironment.invokeEngine(JNDIEnvironment.java:226) at com.pega.pegarules.web.impl.WebStandardImpl.invokeEngine(WebStandardImpl.java:837) at com.pega.pegarules.web.impl.WebStandardImpl.makeEtierRequest(WebStandardImpl.java:797) at com.pega.pegarules.web.impl.WebStandardImpl.doPostInner(WebStandardImpl.java:420) at sun.reflect.GeneratedMethodAccessor146.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethod(PRBootstrap.java:388) at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropagatingThrowable(PRBootstrap.java:430) at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethodPropagatingThrowable(AppServerBridgeToPega.java:225) at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethod(AppServerBridgeToPega.java:274) at com.pega.pegarules.internal.web.servlet.WebStandardBoot.doPost(WebStandardBoot.java:164) at com.pega.pegarules.internal.web.servlet.WebStandardBoot.doGet(WebStandardBoot.java:121) at javax.servlet.http.HttpServlet.service(HttpServlet.java:655) at com.pega.pegarules.internal.web.servlet.WebStandardBoot.service(WebStandardBoot.java:191) at javax.servlet.http.HttpServlet.service(HttpServlet.java:764) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687) at org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1743) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:750) ip-10-123-1-22.ec2.internal ; nested exception is: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Content is not allowed in prolog. Content is not allowed in prolog.
Log from Abbyy Flexicapture app server IIS:
2022-06-16 19:35:33 Proprietary information hidden POST /flexicapture12/Server/API/v1/JSON/FlexiCapture12/Server/FCAuth/API/v1/Soap - 443 [email protected] Proprietary information hidden HTTP/1.1 Axis/1.4 - 500 0 0 2 Basic+c3ZjX2ZsZXhpY2FwX2FkX1FAYWQuYmNic21uLmNvbToybFc5cThqRE9NQ0E=
But when we test the endpoint from Postman, we get correct response and a new session id is returned as expected.
What we noticed is when we hit the endpoint from postman we are hitting /flexicapture12/Server/API/v1/JSON where as from Pega we are hitting /flexicapture12/Server/API/v1/JSON/FlexiCapture12/Server/FCAuth/API/v1/Soap
Is /flexicapture12/Server/API/v1/JSON/FlexiCapture12/Server/FCAuth/API/v1/Soap correct?