IPF-2.6.3 NIST registry integration

137 views
Skip to first unread message

Michele Rillo

unread,
Jun 13, 2014, 9:33:17 AM6/13/14
to ipf-...@googlegroups.com
Hi all.

we have successfully insalled the ipf-tutorials-xds 2.6.3 on Karaf 2.3.5. Now we are making some try to replace the in memory registry with the NIST registry. We have modified the groovy class SampleData in order to generate valid data to the register and off course we have also register a patiend feed here (http://hit-testing.nist.gov:12080/xdstools/pidallocate). By the way when we send the SubmissionObjectrequest to the registry we get the following error:

2014-06-13 12:40:52,913 | ERROR | qtp1638771699-74 | DefaultErrorHandler              | rg.apache.camel.util.CamelLogger  215 | 224 - org.apache.camel.camel-core - 2.12.1 | Failed delivery for (MessageId: ID-localhost-localdomain-57512-1402651881124-3-3 on ExchangeId: ID-localhost-localdomain-57512-1402651881124-3-2). Exhausted after delivery attempt: 1 caught: org.apache.cxf.interceptor.Fault: Could not send Message.. Processed by failure processor: FatalFallbackErrorHandler[Channel[BeanProcessor[bean: iti41AlfrescoRollBackProcessor]]]

Message History
---------------------------------------------------------------------------------------------------------------------------------------
RouteId              ProcessorId          Processor                                                                        Elapsed (ms)
[iti41AbdAlfrescoRo] [iti41AbdAlfrescoRo] [xds-iti41://ABDiti41                                                          ] [       412]
[iti41AbdAlfrescoRo] [process22         ] [org.openehealth.ipf.platform.camel.ihe.xds.XdsCamelValidators$7@3378df55      ] [         7]
[iti41AbdAlfrescoRo] [process23         ] [ref:XDSPreProcessor                                                           ] [        21]
[iti41AbdAlfrescoRo] [process24         ] [ref:iti41AlfrescoInsertProcessor                                              ] [       284]
[iti41AbdAlfrescoRo] [to4               ] [xds-iti42://ihexds.nist.gov:12080/tf6/services/xdsregistryb                   ] [       100]
[null              ] [bean4             ] [bean[ref:iti41AlfrescoRollBackProcessor method: process]                      ] [         1]

Exchange
---------------------------------------------------------------------------------------------------------------------------------------
Exchange[
        Id                  ID-localhost-localdomain-57512-1402651881124-3-2
        ExchangePattern     InOut
        Headers             {breadcrumbId=ID-localhost-localdomain-57512-1402651881124-3-1, CamelRedelivered=false, CamelRedeliveryCounter=0, org.openehealth.ipf.platform.camel.ihe.ws.AbstractWsEndpoint.INCOMING_HTTP_HEADERS={content-type=multipart/related; type="application/xop+xml"; boundary="uuid:6b2ce677-58ae-4218-a587-13944838d444"; start="<root.m...@cxf.apache.org>"; start-info="application/soap+xml", connection=keep-alive, transfer-encoding=chunked, Host=localhost:8181, User-Agent=Apache CXF 2.7.6, Accept=*/*, Pragma=no-cache, Cache-Control=no-cache}, org.openehealth.ipf.platform.camel.ihe.ws.AbstractWsEndpoint.INCOMING_SOAP_HEADERS={{http://www.w3.org/2005/08/addressing}ReplyTo=org.apache.cxf.binding.soap.SoapHeader@57209607, {http://www.w3.org/2005/08/addressing}Action=org.apache.cxf.binding.soap.SoapHeader@6266fbd9, {http://www.w3.org/2005/08/addressing}To=org.apache.cxf.binding.soap.SoapHeader@435446da, {http://www.w3.org/2005/08/addressing}MessageID=org.apache.cxf.binding.soap.SoapHeader@51f7b4be}}
        BodyType            org.openehealth.ipf.commons.ihe.xds.core.stub.ebrs30.lcm.SubmitObjectsRequest
        Body                org.openehealth.ipf.commons.ihe.xds.core.stub.ebrs30.lcm.SubmitObjectsRequest@2079fa4f
]

Stacktrace
---------------------------------------------------------------------------------------------------------------------------------------
org.apache.cxf.interceptor.Fault: Could not send Message.
        at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:64)
        at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:271)[83:org.apache.cxf.cxf-api:2.7.6]
        at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:541)
        at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:474)
        at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:377)
        at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:330)
        at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:350)
        at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:336)
        at org.openehealth.ipf.platform.camel.ihe.ws.SimpleWsProducer.callService(SimpleWsProducer.java:66)
        at org.openehealth.ipf.platform.camel.ihe.ws.AbstractWsProducer.process(AbstractWsProducer.java:145)
        at org.apache.camel.util.AsyncProcessorConverterHelper$ProcessorToAsyncProcessorBridge.process(AsyncProcessorConverterHelper.java:61)
        at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:110)[224:org.apache.camel.camel-core:2.12.1]
        at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:72)
        at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:398)[224:org.apache.camel.camel-core:2.12.1]
        at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:191)[224:org.apache.camel.camel-core:2.12.1]
        at org.apache.camel.processor.Pipeline.process(Pipeline.java:118)[224:org.apache.camel.camel-core:2.12.1]
        at org.apache.camel.processor.Pipeline.process(Pipeline.java:80)[224:org.apache.camel.camel-core:2.12.1]
        at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:191)[224:org.apache.camel.camel-core:2.12.1]
        at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:105)
        at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:87)[224:org.apache.camel.camel-core:2.12.1]
        at org.openehealth.ipf.platform.camel.ihe.ws.DefaultWsConsumer.process(DefaultWsConsumer.java:61)
        at org.openehealth.ipf.platform.camel.ihe.ws.AbstractWebService.process(AbstractWebService.java:76)
        at org.openehealth.ipf.platform.camel.ihe.xds.iti41.Iti41Service.documentRepositoryProvideAndRegisterDocumentSetB(Iti41Service.java:42)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.7.0_51]
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)[:1.7.0_51]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.7.0_51]
        at java.lang.reflect.Method.invoke(Method.java:606)[:1.7.0_51]
        at org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:180)[83:org.apache.cxf.cxf-api:2.7.6]
        at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:96)[83:org.apache.cxf.cxf-api:2.7.6]
        at org.apache.cxf.jaxws.AbstractJAXWSMethodInvoker.invoke(AbstractJAXWSMethodInvoker.java:178)[116:org.apache.cxf.cxf-rt-frontend-jaxws:2.7.6]
        at org.apache.cxf.jaxws.JAXWSMethodInvoker.invoke(JAXWSMethodInvoker.java:68)[116:org.apache.cxf.cxf-rt-frontend-jaxws:2.7.6]
        at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:75)[83:org.apache.cxf.cxf-api:2.7.6]
        at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:57)[83:org.apache.cxf.cxf-api:2.7.6]
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)[:1.7.0_51]
        at java.util.concurrent.FutureTask.run(FutureTask.java:262)[:1.7.0_51]
        at org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor.java:37)[83:org.apache.cxf.cxf-api:2.7.6]
        at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:106)[83:org.apache.cxf.cxf-api:2.7.6]
        at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:271)[83:org.apache.cxf.cxf-api:2.7.6]
        at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)[83:org.apache.cxf.cxf-api:2.7.6]
        at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:239)[114:org.apache.cxf.cxf-rt-transports-http:2.7.6]
        at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:223)[114:org.apache.cxf.cxf-rt-transports-http:2.7.6]
        at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:203)[114:org.apache.cxf.cxf-rt-transports-http:2.7.6]
        at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:137)[114:org.apache.cxf.cxf-rt-transports-http:2.7.6]
        at org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:159)[114:org.apache.cxf.cxf-rt-transports-http:2.7.6]
        at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:286)[114:org.apache.cxf.cxf-rt-transports-http:2.7.6]
        at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(AbstractHTTPServlet.java:206)[114:org.apache.cxf.cxf-rt-transports-http:2.7.6]
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:595)[157:org.apache.geronimo.specs.geronimo-servlet_3.0_spec:1.0]
        at org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:262)[114:org.apache.cxf.cxf-rt-transports-http:2.7.6]
        at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:652)[102:org.eclipse.jetty.servlet:7.6.9.v20130131]
        at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:445)[102:org.eclipse.jetty.servlet:7.6.9.v20130131]
        at org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.doHandle(HttpServiceServletHandler.java:70)[112:org.ops4j.pax.web.pax-web-jetty:1.1.17]
        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)[100:org.eclipse.jetty.server:7.6.9.v20130131]
        at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:556)[101:org.eclipse.jetty.security:7.6.9.v20130131]
        at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:227)[100:org.eclipse.jetty.server:7.6.9.v20130131]
        at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1044)[100:org.eclipse.jetty.server:7.6.9.v20130131]
        at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandle(HttpServiceContext.java:124)[112:org.ops4j.pax.web.pax-web-jetty:1.1.17]
        at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:372)[102:org.eclipse.jetty.servlet:7.6.9.v20130131]
        at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:189)[100:org.eclipse.jetty.server:7.6.9.v20130131]
        at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:978)[100:org.eclipse.jetty.server:7.6.9.v20130131]
        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)[100:org.eclipse.jetty.server:7.6.9.v20130131]
        at org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:81)[112:org.ops4j.pax.web.pax-web-jetty:1.1.17]
        at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)[100:org.eclipse.jetty.server:7.6.9.v20130131]
        at org.eclipse.jetty.server.Server.handle(Server.java:367)[100:org.eclipse.jetty.server:7.6.9.v20130131]
        at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:486)[100:org.eclipse.jetty.server:7.6.9.v20130131]
        at org.eclipse.jetty.server.BlockingHttpConnection.handleRequest(BlockingHttpConnection.java:53)[100:org.eclipse.jetty.server:7.6.9.v20130131]
        at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:937)[100:org.eclipse.jetty.server:7.6.9.v20130131]
        at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:998)[100:org.eclipse.jetty.server:7.6.9.v20130131]
        at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:953)[96:org.eclipse.jetty.http:7.6.9.v20130131]
        at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)[96:org.eclipse.jetty.http:7.6.9.v20130131]
        at org.eclipse.jetty.server.BlockingHttpConnection.handle(BlockingHttpConnection.java:72)[100:org.eclipse.jetty.server:7.6.9.v20130131]
        at org.eclipse.jetty.server.nio.BlockingChannelConnector$BlockingChannelEndPoint.run(BlockingChannelConnector.java:298)[100:org.eclipse.jetty.server:7.6.9.v20130131]
        at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)[94:org.eclipse.jetty.util:7.6.9.v20130131]
        at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)[94:org.eclipse.jetty.util:7.6.9.v20130131]
        at java.lang.Thread.run(Thread.java:744)[:1.7.0_51]
Caused by: org.apache.cxf.transport.http.HTTPException: HTTP response '501: Not Implemented' when communicating with http://ihexds.nist.gov:12080/tf6/services/xdsregistryb
        at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:1526)
        at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1486)
        at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1305)
        at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56)
        at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:623)
        at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62)
        ... 73 more


Can you help us to understand what we are doing wrong?

Thanks in advance.

Michele

Dmytro Rud

unread,
Jun 13, 2014, 9:58:37 AM6/13/14
to ipf-...@googlegroups.com
Hi,

The message type and the endpoint URI seem to be OK.  Nevertheless, you may consider validating the ITI-42 request before sending it out.  Independently from it, you may try to access the NIST Registry using another client, e.g. SoapIU, to check whether the error is in your IPF application or not.

Best regards
Dmytro



--
You received this message because you are subscribed to the Google Groups "ipf-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ipf-user+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Michele Rillo

unread,
Jun 13, 2014, 10:41:00 AM6/13/14
to ipf-...@googlegroups.com
Hi. thanks for your reply.

We hace just added the validator. Tha validation step is Ok, but we get the same error.


Il giorno venerdì 13 giugno 2014 15:33:17 UTC+2, Michele Rillo ha scritto:
Hi all.

we have successfully insalled the ipf-tutorials-xds 2.6.3 on Karaf 2.3.5. Now we are making some try to replace the in memory registry with the NIST registry. We have modified the groovy class SampleData in order to generate valid data to the register and off course we have also register a patiend feed here (http://hit-testing.nist.gov:12080/xdstools/pidallocate). By the way when we send the SubmissionObjectrequest to the registry we get the following error:

2014-06-13 12:40:52,913 | ERROR | qtp1638771699-74 | DefaultErrorHandler              | rg.apache.camel.util.CamelLogger  215 | 224 - org.apache.camel.camel-core - 2.12.1 | Failed delivery for (MessageId: ID-localhost-localdomain-57512-1402651881124-3-3 on ExchangeId: ID-localhost-localdomain-57512-1402651881124-3-2). Exhausted after delivery attempt: 1 caught: org.apache.cxf.interceptor.Fault: Could not send Message.. Processed by failure processor: FatalFallbackErrorHandler[Channel[BeanProcessor[bean: iti41AlfrescoRollBackProcessor]]]

Message History
---------------------------------------------------------------------------------------------------------------------------------------
RouteId              ProcessorId          Processor                                                                        Elapsed (ms)
[iti41AbdAlfrescoRo] [iti41AbdAlfrescoRo] [xds-iti41://ABDiti41                                                          ] [       412]
[iti41AbdAlfrescoRo] [process22         ] [org.openehealth.ipf.platform.camel.ihe.xds.XdsCamelValidators$7@3378df55      ] [         7]
[iti41AbdAlfrescoRo] [process23         ] [ref:XDSPreProcessor                                                           ] [        21]
[iti41AbdAlfrescoRo] [process24         ] [ref:iti41AlfrescoInsertProcessor                                              ] [       284]
[iti41AbdAlfrescoRo] [to4               ] [xds-iti42://ihexds.nist.gov:12080/tf6/services/xdsregistryb                   ] [       100]
[null              ] [bean4             ] [bean[ref:iti41AlfrescoRollBackProcessor method: process]                      ] [         1]

Exchange
---------------------------------------------------------------------------------------------------------------------------------------
Exchange[
        Id                  ID-localhost-localdomain-57512-1402651881124-3-2
        ExchangePattern     InOut
        Headers             {breadcrumbId=ID-localhost-localdomain-57512-1402651881124-3-1, CamelRedelivered=false, CamelRedeliveryCounter=0, org.openehealth.ipf.platform.camel.ihe.ws.AbstractWsEndpoint.INCOMING_HTTP_HEADERS={content-type=multipart/related; type="application/xop+xml"; boundary="uuid:6b2ce677-58ae-4218-a587-13944838d444"; start="<root.message@cxf.apache.org>"; start-info="application/soap+xml", connection=keep-alive, transfer-encoding=chunked, Host=localhost:8181, User-Agent=Apache CXF 2.7.6, Accept=*/*, Pragma=no-cache, Cache-Control=no-cache}, org.openehealth.ipf.platform.camel.ihe.ws.AbstractWsEndpoint.INCOMING_SOAP_HEADERS={{http://www.w3.org/2005/08/addressing}ReplyTo=org.apache.cxf.binding.soap.SoapHeader@57209607, {http://www.w3.org/2005/08/addressing}Action=org.apache.cxf.binding.soap.SoapHeader@6266fbd9, {http://www.w3.org/2005/08/addressing}To=org.apache.cxf.binding.soap.SoapHeader@435446da, {http://www.w3.org/2005/08/addressing}MessageID=org.apache.cxf.binding.soap.SoapHeader@51f7b4be}}

Dmytro Rud

unread,
Jun 13, 2014, 10:49:38 AM6/13/14
to ipf-...@googlegroups.com
Have you tried with another ITI-42 message and/or another client?  If you want, you can send me your ITI-42 message or your project/unit test -- I'll take a look...

Best regards
Dmytro



--

Michele Rillo

unread,
Jun 16, 2014, 3:17:15 AM6/16/14
to ipf-...@googlegroups.com
We are running from eclipse the junit test provided with the ipf-xds-tutorial 2.6.3. We have edited the SampleData.java (see attachment) and the iti41 route (to our karaf 2.3.5 with the ipf-xds bundle started and running)

And the test code is the following.

 @Test
    void testProvideAndRegister() {
        def provide = SampleData.createProvideAndRegisterDocumentSet()
        def docEntry = provide.documents[0].documentEntry
        def patientId = docEntry.patientId


        def response = send(ITI41, provide, Response.class)
        assertEquals(response.toString(), Status.SUCCESS, response.status)

        def query = new FindDocumentsQuery()
        query.patientId = docEntry.patientId
        query.status = [AvailabilityStatus.APPROVED]
        def queryReg = new QueryRegistry(query)
        queryReg.returnType = QueryReturnType.LEAF_CLASS
        def queryResponse = send(ITI18, queryReg, QueryResponse.class)
        assertEquals(queryResponse.toString(), Status.SUCCESS, queryResponse.status)
        assertEquals(1, queryResponse.documentEntries.size())
        assertEquals(docEntry.uniqueId, queryResponse.documentEntries[0].uniqueId)
    }

We'll try SOAP UI too and we'll let you know.

Thank you.

SampleData.txt

Michele Rillo

unread,
Jun 16, 2014, 5:25:45 AM6/16/14
to ipf-...@googlegroups.com
We have sent the PnR document request via SOAP UI (project in atachment) and we get the same error from the NIST registry.

ProvideAndRegisterDocumentITI-41-soapui-project.xml

Michele Rillo

unread,
Jun 18, 2014, 5:55:06 AM6/18/14
to ipf-...@googlegroups.com
We cannot solve this problem. Anyone can help us?

Dmytro Rud

unread,
Jun 18, 2014, 5:59:14 AM6/18/14
to ipf-...@googlegroups.com
Hi,

I will take a look at it -- please give me some more time, I am pretty busy in this week.

Best regards
Dmytro


2014-06-18 11:55 GMT+02:00 Michele Rillo <michele....@gmail.com>:
We cannot solve this problem. Anyone can help us?

--

Michele Rillo

unread,
Jun 18, 2014, 7:21:39 AM6/18/14
to ipf-...@googlegroups.com
Off course. Thank you!

Michele Rillo

unread,
Jun 19, 2014, 9:53:07 AM6/19/14
to ipf-...@googlegroups.com
We have noticed that the error does not come from the NIST registry but is thrown somewhere by the CXF message sending layer.
Hope this may help you to help us.

Dmytro Rud

unread,
Jun 19, 2014, 10:07:29 AM6/19/14
to ipf-...@googlegroups.com
But SoapUI is not based on CXF...

Am 19.06.2014 15:53, schrieb Michele Rillo:
> We have noticed that the error does not come from the NIST registry but is thrown somewhere by the CXF message sending layer.
> Hope this may help you to help us.
> --
> You received this message because you are subscribed to the Google Groups "ipf-user" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to ipf-user+u...@googlegroups.com <mailto:ipf-user+u...@googlegroups.com>.

Michele Rillo

unread,
Jun 20, 2014, 3:39:04 AM6/20/14
to ipf-...@googlegroups.com
We have some misunderstanding here.
From our test client (SOAP UI or Eclipse JUnit) we send a ProvideAndRegisterDocumentSet request to the following entry point

DocumentRepository_PortType
  • DocumentRepository_ProvideAndRegisterDocumentSet-b
Endpoint address: http://localhost:8181/cxf/ABDiti41
WSDL : {urn:ihe:iti:xds-b:2007}DocumentRepository_Service
Target namespace: urn:ihe:iti:xds-b:2007


the route then is something like this:

from("xds-iti41:ABDiti41")
        .routeId("iti41AbdAlfrescoRoute")
        .process(iti41Validator)
        .processRef(iti41procesor)
        .process(iti42Validator)
        .to("xds-iti42://ihexds.nist.gov:12080/tf6/services/xdsregistryb")

All the processors works fine and the exchange is processed successfully form the iti42validator. The error occur between

.process(iti42Validator)
        .to("xds-iti42://ihexds.nist.gov:12080/tf6/services/xdsregistryb")

and the http 501 not implemented error does not come from the nist registry but from the cxf MessageSenderInterceptor in our karaf

Boris Stanojević

unread,
Jun 20, 2014, 5:25:26 AM6/20/14
to ipf-...@googlegroups.com
Hi Michelle,

I just tried (almost) the same what you are doing and it worked just fine... Please take a look at the branch for the example:


I added a new RouteBuilder which only bridges the incoming iti42 request to the remote ihexds.nist.gov:12080/tf6/services/xdsregistryb server.
Then, since I'm running it behind the Proxy, I had to add a cxf-client-conduit configuration. I suggest you to always add your own client-config context in order to be in control over the http-client parameters used in this transaction against the NIST server.

I used the Karaf 2.3.3

Hope that helps,
cheers,
Boris



--
You received this message because you are subscribed to the Google Groups "ipf-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ipf-user+u...@googlegroups.com.

Dmytro Rud

unread,
Jun 20, 2014, 6:31:32 AM6/20/14
to ipf-...@googlegroups.com
Actually my proposal was that you use SoapUI not for sending the original ITI-41 request to yout IPF application, but for sending the generated ITI-42 request directly to NIST. Hint: you can use org.openehealth.ipf.platform.camel.ihe.xds.core.converters.XdsRenderingUtils#render for obtaining XML representation of the generated ITI-42 request.

Best regrads
Dmytro


Am 16.06.2014 11:25, schrieb Michele Rillo:
> We have sent the PnR document request via SOAP UI (project in atachment) and we get the same error from the NIST registry.
>
> --
> You received this message because you are subscribed to the Google Groups "ipf-user" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to ipf-user+u...@googlegroups.com <mailto:ipf-user+u...@googlegroups.com>.

Michele Rillo

unread,
Jun 20, 2014, 9:00:54 AM6/20/14
to ipf-...@googlegroups.com
Thank you Boris! That solved the issue.

Michele Rillo

unread,
Jun 23, 2014, 5:28:12 AM6/23/14
to ipf-...@googlegroups.com
Just for completion, the http settings we have used is the following

<http:conduit name="*.http-conduit">
        <http:client Connection="Keep-Alive" AllowChunking="false"/>
 </http:conduit>

Without this options the "Could not send message" error persists.
Reply all
Reply to author
Forward
0 new messages