Error when performing query

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Error when performing query

Zach
Hello,

We have made some progress on our CONNECT installation, but we are receiving an error when querying for a document.  

I will post the full logs, but it seems that a client authentication certificate is being requested/required, and the query fails.  I am trying to find out what configuration file would have this setting.  Any assistance would be appreciated.  I am tying to hit an unsecured endpoint.

connect_log.txt

Snippet below:

018-08-10 17:22:42,087 ERROR [gov.hhs.fha.nhinc.docretrieve.nhin.proxy.NhinDocRetrieveProxyWebServiceSecuredImpl] (default task-1) Failed to call the web service (RetrieveDocuments).  An unexpected exception occurred: These policy alternatives can not be satisfied:
{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}HttpsToken
{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}RequireClientCertificate
{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}AlgorithmSuite: The digest method does not match the requirement
{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}Basic256Sha256
{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}Basic192Sha256
{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}Basic128Sha256
{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}TripleDesSha256
{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}Basic256Sha256Rsa15
{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}Basic192Sha256Rsa15
{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}Basic128Sha256Rsa15
{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}TripleDesSha256Rsa15: javax.xml.ws.soap.SOAPFaultException: These policy alternatives can not be satisfied:
{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}HttpsToken
{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}RequireClientCertificate
{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}AlgorithmSuite: The digest method does not match the requirement
{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}Basic256Sha256
{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}Basic192Sha256
{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}Basic128Sha256
{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}TripleDesSha256
{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}Basic256Sha256Rsa15
{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}Basic192Sha256Rsa15
{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}Basic128Sha256Rsa15
{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}TripleDesSha256Rsa15
        at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:161)
        at com.sun.proxy.$Proxy301.respondingGatewayCrossGatewayRetrieve(Unknown Source)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at gov.hhs.fha.nhinc.webserviceproxy.WebServiceProxyHelper.invokeTheMethod(WebServiceProxyHelper.java:279)
        at gov.hhs.fha.nhinc.webserviceproxy.WebServiceProxyHelper.invokePort(WebServiceProxyHelper.java:359)
        at gov.hhs.fha.nhinc.webserviceproxy.WebServiceProxyHelper.invokePortWithRetry(WebServiceProxyHelper.java:407)
        at gov.hhs.fha.nhinc.webserviceproxy.WebServiceProxyHelper.invokePort(WebServiceProxyHelper.java:333)
        at gov.hhs.fha.nhinc.messaging.client.CONNECTBaseClient.invokePort(CONNECTBaseClient.java:54)
        at gov.hhs.fha.nhinc.docretrieve.nhin.proxy.NhinDocRetrieveProxyWebServiceSecuredImpl.respondingGatewayCrossGatewayRetrieve(NhinDocRetrieveProxyWebServiceSecuredImpl.java:99)
        at gov.hhs.fha.nhinc.docretrieve.nhin.proxy.NhinDocRetrieveProxyWebServiceSecuredImpl$$FastClassBySpringCGLIB$$e7b52b52.invoke(<generated>)
        at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
        at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:718)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
        at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:168)
        at org.springframework.aop.framework.adapter.AfterReturningAdviceInterceptor.invoke(AfterReturningAdviceInterceptor.java:52)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:168)
        at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
        at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:653)
        at gov.hhs.fha.nhinc.docretrieve.nhin.proxy.NhinDocRetrieveProxyWebServiceSecuredImpl$$EnhancerBySpringCGLIB$$161ac0a3.respondingGatewayCrossGatewayRetrieve(<generated>)
        at gov.hhs.fha.nhinc.docretrieve.entity.OutboundDocRetrieveStrategyImpl_g1.callProxy(OutboundDocRetrieveStrategyImpl_g1.java:51)
        at gov.hhs.fha.nhinc.docretrieve.entity.OutboundDocRetrieveStrategyBase.execute(OutboundDocRetrieveStrategyBase.java:78)
        at gov.hhs.fha.nhinc.docretrieve.entity.OutboundDocRetrieveStrategyBase.execute(OutboundDocRetrieveStrategyBase.java:50)
        at gov.hhs.fha.nhinc.orchestration.OrchestrationContext.execute(OrchestrationContext.java:40)
        at gov.hhs.fha.nhinc.docretrieve.entity.OutboundDocRetrieveDelegate.process(OutboundDocRetrieveDelegate.java:76)
        at gov.hhs.fha.nhinc.docretrieve.entity.OutboundDocRetrieveDelegate.process(OutboundDocRetrieveDelegate.java:61)
        at gov.hhs.fha.nhinc.docretrieve.entity.OutboundDocRetrieveDelegate.process(OutboundDocRetrieveDelegate.java:52)
        at gov.hhs.fha.nhinc.orchestration.CONNECTOrchestrationBase.delegate(CONNECTOrchestrationBase.java:201)
        at gov.hhs.fha.nhinc.orchestration.CONNECTOrchestrationBase.processOutboundIfPolicyIsOk(CONNECTOrchestrationBase.java:114)
        at gov.hhs.fha.nhinc.orchestration.CONNECTOutboundOrchestrator.processIfPolicyIsOk(CONNECTOutboundOrchestrator.java:37)
        at gov.hhs.fha.nhinc.orchestration.CONNECTOrchestrationBase.processEnabledMessage(CONNECTOrchestrationBase.java:89)
        at gov.hhs.fha.nhinc.docretrieve.entity.OutboundStandardDocRetrieveOrchestrator.processEnabledMessage(OutboundStandardDocRetrieveOrchestrator.java:66)
        at gov.hhs.fha.nhinc.orchestration.CONNECTOrchestrationBase.processNotNullMessage(CONNECTOrchestrationBase.java:77)
        at gov.hhs.fha.nhinc.orchestration.CONNECTOrchestrationBase.process(CONNECTOrchestrationBase.java:70)
        at gov.hhs.fha.nhinc.docretrieve.outbound.StandardOutboundDocRetrieve.respondingGatewayCrossGatewayRetrieve(StandardOutboundDocRetrieve.java:97)
        at gov.hhs.fha.nhinc.docretrieve._20.outbound.StandardOutboundDocRetrieve.respondingGatewayCrossGatewayRetrieve(StandardOutboundDocRetrieve.java:82)
        at gov.hhs.fha.nhinc.docretrieve._20.outbound.StandardOutboundDocRetrieve$$FastClassBySpringCGLIB$$b1eec288.invoke(<generated>)
        at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
        at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:718)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
        at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:168)
        at org.springframework.aop.framework.adapter.AfterReturningAdviceInterceptor.invoke(AfterReturningAdviceInterceptor.java:52)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:168)
        at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
        at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:653)
        at gov.hhs.fha.nhinc.docretrieve._20.outbound.StandardOutboundDocRetrieve$$EnhancerBySpringCGLIB$$95619719.respondingGatewayCrossGatewayRetrieve(<generated>)
        at gov.hhs.fha.nhinc.docretrieve._20.entity.EntityDocRetrieve.respondingGatewayCrossGatewayRetrieve(EntityDocRetrieve.java:61)
        at gov.hhs.fha.nhinc.docretrieve._20.entity.EntityDocRetrieve$$FastClassBySpringCGLIB$$e32be0e5.invoke(<generated>)
        at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
        at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:718)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
        at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:168)
        at org.springframework.aop.framework.adapter.AfterReturningAdviceInterceptor.invoke(AfterReturningAdviceInterceptor.java:52)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:168)
        at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
        at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:653)
        at gov.hhs.fha.nhinc.docretrieve._20.entity.EntityDocRetrieve$$EnhancerBySpringCGLIB$$5b4d8ed6.respondingGatewayCrossGatewayRetrieve(<generated>)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:180)
        at org.apache.cxf.jaxws.JAXWSMethodInvoker.performInvocation(JAXWSMethodInvoker.java:66)
        at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:96)
        at org.apache.cxf.jaxws.AbstractJAXWSMethodInvoker.invoke(AbstractJAXWSMethodInvoker.java:232)
        at org.apache.cxf.jaxws.JAXWSMethodInvoker.invoke(JAXWSMethodInvoker.java:85)
        at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:74)
        at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:59)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at org.apache.cxf.interceptor.ServiceInvokerInterceptor$2.run(ServiceInvokerInterceptor.java:126)
        at org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor.java:37)
        at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:131)
        at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
        at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
        at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:252)
        at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:234)
        at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:208)
        at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:160)
        at org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:180)
        at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:299)
        at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(AbstractHTTPServlet.java:218)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
        at org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:274)
        at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74)
        at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
        at io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:67)
        at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
        at org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)
        at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
        at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131)
        at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
        at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
        at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
        at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
        at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)
        at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)
        at io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50)
        at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
        at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
        at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)
        at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
        at org.wildfly.extension.undertow.deployment.GlobalRequestControllerHandler.handleRequest(GlobalRequestControllerHandler.java:68)
        at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
        at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:292)
        at io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:81)
        at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:138)
        at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135)
        at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)
        at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
        at org.wildfly.extension.undertow.security.SecurityContextThreadSetupAction.lambda$create$0(SecurityContextThreadSetupAction.java:105)
        at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1526)
        at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1526)
        at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1526)
        at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1526)
        at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:272)
        at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81)
        at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:104)
        at io.undertow.server.Connectors.executeRootHandler(Connectors.java:360)
        at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:830)
        at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
        at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1985)
        at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1487)
        at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1378)
        at java.lang.Thread.run(Thread.java:748)
Caused by: org.apache.cxf.binding.soap.SoapFault: These policy alternatives can not be satisfied:
{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}HttpsToken
{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}RequireClientCertificate
{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}AlgorithmSuite: The digest method does not match the requirement
{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}Basic256Sha256
{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}Basic192Sha256
{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}Basic128Sha256
{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}TripleDesSha256
{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}Basic256Sha256Rsa15
{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}Basic192Sha256Rsa15
{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}Basic128Sha256Rsa15
{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}TripleDesSha256Rsa15
        at org.apache.cxf.binding.soap.interceptor.Soap12FaultInInterceptor.unmarshalFault(Soap12FaultInInterceptor.java:155)
        at org.apache.cxf.binding.soap.interceptor.Soap12FaultInInterceptor.handleMessage(Soap12FaultInInterceptor.java:66)
        at org.apache.cxf.binding.soap.interceptor.Soap12FaultInInterceptor.handleMessage(Soap12FaultInInterceptor.java:52)
        at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
        at org.apache.cxf.interceptor.AbstractFaultChainInitiatorObserver.onMessage(AbstractFaultChainInitiatorObserver.java:112)
        at org.apache.cxf.binding.soap.interceptor.CheckFaultInterceptor.handleMessage(CheckFaultInterceptor.java:69)
        at org.apache.cxf.binding.soap.interceptor.CheckFaultInterceptor.handleMessage(CheckFaultInterceptor.java:34)
        at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
        at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:801)
        at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:1672)
        at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1551)
        at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1348)
        at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56)
        at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:651)
        at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62)
        at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
        at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:514)
        at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:423)
        at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:324)
        at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:277)
        at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:96)
        at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:139)
        ... 132 more

2018-08-10 17:22:42,093 INFO  [gov.hhs.fha.nhinc.logging.transaction.dao.TransactionDAO] (default task-1) -- MessageId Parameter is required for Transaction Query --
2018-08-10 17:22:42,093 INFO  [gov.hhs.fha.nhinc.logging.transaction.dao.TransactionDAO] (default task-1) -- MessageId Parameter is required for Transaction Query --
2018-08-10 17:22:42,106 INFO  [gov.hhs.fha.nhinc.event.Log4jEventLogger] (default task-1) END_INVOCATION_TO_NWHIN has triggered. It has messageID urn:uuid:e92d9b57-eebe-44a3-9f99-0b7b8bb8baac, transactionID null and description {"service_type":"Retrieve Document","responding_hcids":[],"action":"","statuses":["urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure"],"message_id":"urn:uuid:e92d9b57-eebe-44a3-9f99-0b7b8bb8baac","error_codes":["XDSRepositoryError"],"initiating_hcid":"urn:oid:1.1"}
2018-08-10 17:22:42,109 INFO  [gov.hhs.fha.nhinc.logging.transaction.dao.TransactionDAO] (default task-1) -- MessageId Parameter is required for Transaction Query --
2018-08-10 17:22:42,109 INFO  [gov.hhs.fha.nhinc.logging.transaction.dao.TransactionDAO] (default task-1) -- MessageId Parameter is required for Transaction Query --
2018-08-10 17:22:42,122 INFO  [gov.hhs.fha.nhinc.event.Log4jEventLogger] (default task-1) END_OUTBOUND_PROCESSING has triggered. It has messageID urn:uuid:e92d9b57-eebe-44a3-9f99-0b7b8bb8baac, transactionID null and description {"service_type":"Retrieve Document","responding_hcids":[],"action":"2.0","statuses":["urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure"],"message_id":"urn:uuid:e92d9b57-eebe-44a3-9f99-0b7b8bb8baac","error_codes":["XDSRepositoryError"],"initiating_hcid":"urn:oid:1.1"}
2018-08-10 17:22:42,123 INFO  [gov.hhs.fha.nhinc.logging.transaction.dao.TransactionDAO] (default task-1) -- MessageId Parameter is required for Transaction Query --
2018-08-10 17:22:42,123 INFO  [gov.hhs.fha.nhinc.logging.transaction.dao.TransactionDAO] (default task-1) -- MessageId Parameter is required for Transaction Query --
2018-08-10 17:22:42,133 INFO  [gov.hhs.fha.nhinc.event.Log4jEventLogger] (default task-1) END_OUTBOUND_MESSAGE has triggered. It has messageID urn:uuid:e92d9b57-eebe-44a3-9f99-0b7b8bb8baac, transactionID null and description {"service_type":"Retrieve Document","responding_hcids":[],"action":"2.0","statuses":["urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure"],"message_id":"urn:uuid:e92d9b57-eebe-44a3-9f99-0b7b8bb8baac","error_codes":["XDSRepositoryError"],"initiating_hcid":"urn:oid:1.1"}
2018-08-10 17:22:42,136 WARN  [org.apache.cxf.ws.addressing.ContextUtils] (default task-1) WS-Addressing - failed to retrieve Message Addressing Properties from context
2018-08-10 17:22:42,137 WARN  [org.apache.cxf.ws.addressing.ContextUtils] (default task-1) WS-Addressing - failed to retrieve Message Addressing Properties from context
2018-08-10 17:22:42,137 WARN  [org.apache.cxf.ws.addressing.ContextUtils] (default task-1) WS-Addressing - failed to retrieve Message Addressing Properties from context
Reply | Threaded
Open this post in threaded view
|

Re: Error when performing query

johnhd_at_zen
Hi Zach,

At first glance, this doesn't look like a client auth problem to me- it looks like a SAML validation problem. But that may be a red herring, I'll explain.

It appears to me that this error is the gateway trying to validate a SAML header that is either very poorly formed or (more likely) completely missing (or it might be trying to validate the SAML header on a completely empty message!)

I see quite a few issues going on in the logs you've posted, including timeouts and "unknown protocol: null" type errors which generally mean that something is trying to talk to a nonexistent or malformed URL or IP address. The outcome of these issues could be the root of this complaint- your gateway might be trying to validate a null message!

First thing to do is to see if you can dump the actual SOAP messages to the logs so we can validate them directly.

It looks like you're using wildfly- are you familiar with how to dump the SOAP messages to the logs?
Ask The Experts! Free 15 minute live Q&A sessions with one of Zen's Expert Integrators @ https://consultzen.com/integration-service-desk-solutions/

www.consultzen.com
Reply | Threaded
Open this post in threaded view
|

Re: Error when performing query

Tabassum
Administrator
Hi Zach,
Can you upload you request message and your exchangeInfo.xml and internalExchangeInfo.xml files. It seems like your request do not have a valid ws policy.
Thanks
Tabassum
(CONNECT Product Team Member)
Reply | Threaded
Open this post in threaded view
|

Re: Error when performing query

Zach
Apologies for the delayed response.  

I am uploading my internalExchangeInfo.xml and exchangeInfo.xml files.

Any advice as to how to resolve this issue would be greatly appreciated.  I am not sure what changes I should make to these files.

internalExchangeInfo.xml
exchangeInfo.xml
Reply | Threaded
Open this post in threaded view
|

Re: Error when performing query

Zach
In reply to this post by johnhd_at_zen
@John - I am not familiar with how to dump the SOAP messages to the logs.  If you could send me a link I'll make the changes needed to do so.
Reply | Threaded
Open this post in threaded view
|

Re: Error when performing query

johnhd_at_zen
Hi Zach,

For Wildfly logging, check out my SO answer on the topic. Despite some of the comments, I have confirmation that this works for either Wildfly 8 or Wildfly 10.

https://stackoverflow.com/questions/26715552/dump-http-requests-in-wildfly-8/47147327#47147327

Ask The Experts! Free 15 minute live Q&A sessions with one of Zen's Expert Integrators @ https://consultzen.com/integration-service-desk-solutions/

www.consultzen.com
Reply | Threaded
Open this post in threaded view
|

Re: Error when performing query

Tabassum
Administrator
Zach,
Can you post your request as well? If you are on a windows machine, you can add these to your standalone.conf.bat file to print the soap request:

set "JAVA_OPTS=%JAVA_OPTS% -Dcom.sun.xml.ws.transport.http.HttpAdapter.dump=true"
set "JAVA_OPTS=%JAVA_OPTS% -Dcom.sun.xml.ws.transport.http.client.HttpTransportPipe.dump=true"

For Linux/Unix Wildfly installation, you need to update the standalone.conf file
 
Thanks
Tabassum
(CONNECT Product Team Member)