|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
Upgrading to GF v2.1 - Problem with WS-AddressingHello Metro folks,
We have a NHIN gateway implementation from last year that we developed using an older OpenESB and Metro build. We are in the process of testing the feasibility of upgrading the base software to the latest Glassfish ESB v2.1. We are trying to deploy one application (and its dependencies) onto a fresh Glassfish ESB v2.1 installation and are getting errors with respect to WS-Addressing. This test does not involve security at the message level, or transport level.
Here is the error we get (attached log-with-policy.txt) -
Unknown WS-Addressing header
A fault occured, possibly a specified service fault. javax.xml.ws.soap.SOAPFaultException: The "urn:ihe:iti:2007:RegistryStoredQuery" cannot be processed at the receiver at com.sun.xml.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:188) at com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:108) at com.sun.xml.ws.client.dispatch.DispatchImpl.doInvoke(DispatchImpl.java:187) at com.sun.xml.ws.client.dispatch.DispatchImpl.invoke(DispatchImpl.java:206) at com.sun.jbi.httpsoapbc.OutboundMessageProcessor.outboundCall(OutboundMessageProcessor.java:1108) at com.sun.jbi.httpsoapbc.OutboundMessageProcessor.dispatch(OutboundMessageProcessor.java:1139) at com.sun.jbi.httpsoapbc.OutboundMessageProcessor.processRequestReplyOutbound(OutboundMessageProcessor.java:667) at com.sun.jbi.httpsoapbc.OutboundMessageProcessor.processMessage(OutboundMessageProcessor.java:249) at com.sun.jbi.httpsoapbc.OutboundAction.run(OutboundAction.java:63) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) To remove addressing from the picture and check if we could circumvent the problem, I also tried commenting out the "wsaw:UsingAddressing" from the policy in the WSDL. We got another eror as follows (attached log-no-policy.txt) -
A fault occured, possibly a specified service fault.
javax.xml.ws.soap.SOAPFaultException: Cannot find dispatch method for {urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0}AdhocQueryRequest at com.sun.xml.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:188) at com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:122) at com.sun.xml.ws.client.dispatch.DispatchImpl.doInvoke(DispatchImpl.java:187) at com.sun.xml.ws.client.dispatch.DispatchImpl.invoke(DispatchImpl.java:206) at com.sun.jbi.httpsoapbc.OutboundMessageProcessor.outboundCall(OutboundMessageProcessor.java:1108) at com.sun.jbi.httpsoapbc.OutboundMessageProcessor.dispatch(OutboundMessageProcessor.java:1139) at com.sun.jbi.httpsoapbc.OutboundMessageProcessor.processRequestReplyOutbound(OutboundMessageProcessor.java:667) at com.sun.jbi.httpsoapbc.OutboundMessageProcessor.processMessage(OutboundMessageProcessor.java:249) at com.sun.jbi.httpsoapbc.OutboundAction.run(OutboundAction.java:63) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) Here is what our old environment was (everything works fine) -
OpenESB nightly as of 06/16/2008 - Updated HTTPBC to support 2-way SSL
Metro 1.4 nightly as of 08/14/2008 (with several updates provided by the metro team to support our security and other requirements)
Here is what we are trying to upgrade to -
Glassfish ESB v2.1
Packaged Metro 1.5
I am also attaching the WSDL that we are using to publish the service (the policy in here was commented out for the no-policy test).
Can someone please throw some light on what the potential problems could be?
Thanks in advance,
Sourabh Pawar SOAP envelope namespaces: {} SOAP body to normalize: <?xml version="1.0" encoding="UTF-8"?><S:Body xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"><ns2:ServiceEndpointFactoryResponse xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:ns2="http://xml.netbeans.org/schema/ServiceEndpointFactory"><ns2:EPR><ns2:EndpointReference><Address>http://localhost:5050/DocumentRepository_Service/RepositoryService</Address><ServiceName xmlns:myprefix="urn:ihe:iti:xds-b:2007" PortName="DocumentRepositoryRegistry_Port_Soap11">myprefix:DocumentRepositoryRegistry_Service</ServiceName></ns2:EndpointReference></ns2:EPR></ns2:ServiceEndpointFactoryResponse></S:Body> SOAP body namespaces: {} TYPE_DOC: false TYPE_RPC: false ELEM_DOC: true ELEM_RPC: false Style is Document, part retrieveEndpointOutput is Element, QName {http://xml.netbeans.org/schema/ServiceEndpointFactory}ServiceEndpointFactoryResponse SOAP header to normalize: <?xml version="1.0" encoding="UTF-8"?><S:Header xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"/> Normalized message: <?xml version="1.0" encoding="UTF-8"?><jbi:message xmlns:msgns="http://j2ee.netbeans.org/wsdl/ServiceEndpointFactory" name="output1" type="msgns:retrieveEndpointResponse" version="1.0" xmlns:jbi="http://java.sun.com/xml/ns/jbi/wsdl-11-wrapper"><jbi:part><ns2:ServiceEndpointFactoryResponse xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:ns2="http://xml.netbeans.org/schema/ServiceEndpointFactory"><ns2:EPR><ns2:EndpointReference><Address>http://localhost:5050/DocumentRepository_Service/RepositoryService</Address><ServiceName xmlns:myprefix="urn:ihe:iti:xds-b:2007" PortName="DocumentRepositoryRegistry_Port_Soap11">myprefix:DocumentRepositoryRegistry_Service</ServiceName></ns2:EndpointReference></ns2:EPR></ns2:ServiceEndpointFactoryResponse></jbi:part></jbi:message> Processing completed for message exchange 254206211115819-38135-134658409066300255 Got a message with SOAP binding; id: 254206211115819-38135-134658409066300255 Processing started for message exchange 254206211115819-38135-134658409066300255 Processing message exchange 254206211115819-38135-134658409066300255 as outbound; pattern is http://www.w3.org/2004/08/wsdl/in-out Got a message with SOAP binding; id: 254206211115819-38135-134658409070230256 Processing completed for message exchange 254206211115819-38135-134658409066300255 Processing started for message exchange 254206211115819-38135-134658409070230256 Processing message exchange 254206211115819-38135-134658409070230256 as outbound; pattern is http://www.w3.org/2004/08/wsdl/in-out Normalized message content: <?xml version="1.0" encoding="UTF-8" standalone="no"?><jbi:message xmlns:msgns="urn:ihe:iti:xds-b:2007" type="msgns:RegistryStoredQuery_Message" version="1.0" xmlns:jbi="http://java.sun.com/xml/ns/jbi/wsdl-11-wrapper"><jbi:part><AdhocQueryRequest xmlns:urn="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0" xmlns:urn1="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0" xmlns="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0"> <urn:ResponseOption returnComposedObjects="true" returnType="LeafClass"/> <urn1:AdhocQuery id="urn:uuid:14d4debf-8f97-4251-9a74-a90016b0af0d"> <urn1:Slot name="$XDSDocumentEntryPatientId"> <urn1:ValueList> <urn1:Value>'localtest1^^^&2.16.840.1.113883.3.166.4.25&ISO'</urn1:Value> </urn1:ValueList> </urn1:Slot> <urn1:Slot name="$XDSDocumentEntryStatus"> <urn1:ValueList> <urn1:Value>('urn:oasis:names:tc:ebxml-regrep:StatusType:Approved')</urn1:Value> </urn1:ValueList> </urn1:Slot> </urn1:AdhocQuery> </AdhocQueryRequest></jbi:part></jbi:message> Normalized message to denormalize: <?xml version="1.0" encoding="UTF-8" standalone="no"?><jbi:message xmlns:msgns="urn:ihe:iti:xds-b:2007" type="msgns:RegistryStoredQuery_Message" version="1.0" xmlns:jbi="http://java.sun.com/xml/ns/jbi/wsdl-11-wrapper"><jbi:part><AdhocQueryRequest xmlns:urn="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0" xmlns:urn1="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0" xmlns="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0"> <urn:ResponseOption returnComposedObjects="true" returnType="LeafClass"/> <urn1:AdhocQuery id="urn:uuid:14d4debf-8f97-4251-9a74-a90016b0af0d"> <urn1:Slot name="$XDSDocumentEntryPatientId"> <urn1:ValueList> <urn1:Value>'localtest1^^^&2.16.840.1.113883.3.166.4.25&ISO'</urn1:Value> </urn1:ValueList> </urn1:Slot> <urn1:Slot name="$XDSDocumentEntryStatus"> <urn1:ValueList> <urn1:Value>('urn:oasis:names:tc:ebxml-regrep:StatusType:Approved')</urn1:Value> </urn1:ValueList> </urn1:Slot> </urn1:AdhocQuery> </AdhocQueryRequest></jbi:part></jbi:message> JBI message namespaces: {xmlns:msgns=urn:ihe:iti:xds-b:2007 } JBI part 'body' namespaces: {} Denormalized SOAP envelope: <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Header/><SOAP-ENV:Body><AdhocQueryRequest xmlns:msgns="urn:ihe:iti:xds-b:2007" xmlns:urn="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0" xmlns:urn1="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0" xmlns="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0"> <urn:ResponseOption returnComposedObjects="true" returnType="LeafClass"/> <urn1:AdhocQuery id="urn:uuid:14d4debf-8f97-4251-9a74-a90016b0af0d"> <urn1:Slot name="$XDSDocumentEntryPatientId"> <urn1:ValueList> <urn1:Value>'localtest1^^^&2.16.840.1.113883.3.166.4.25&ISO'</urn1:Value> </urn1:ValueList> </urn1:Slot> <urn1:Slot name="$XDSDocumentEntryStatus"> <urn1:ValueList> <urn1:Value>('urn:oasis:names:tc:ebxml-regrep:StatusType:Approved')</urn1:Value> </urn1:ValueList> </urn1:Slot> </urn1:AdhocQuery> </AdhocQueryRequest></SOAP-ENV:Body></SOAP-ENV:Envelope> Sending SOAP envelope: <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Header/><SOAP-ENV:Body><AdhocQueryRequest xmlns:msgns="urn:ihe:iti:xds-b:2007" xmlns:urn="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0" xmlns:urn1="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0" xmlns="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0"> <urn:ResponseOption returnComposedObjects="true" returnType="LeafClass"/> <urn1:AdhocQuery id="urn:uuid:14d4debf-8f97-4251-9a74-a90016b0af0d"> <urn1:Slot name="$XDSDocumentEntryPatientId"> <urn1:ValueList> <urn1:Value>'localtest1^^^&2.16.840.1.113883.3.166.4.25&ISO'</urn1:Value> </urn1:ValueList> </urn1:Slot> <urn1:Slot name="$XDSDocumentEntryStatus"> <urn1:ValueList> <urn1:Value>('urn:oasis:names:tc:ebxml-regrep:StatusType:Approved')</urn1:Value> </urn1:ValueList> </urn1:Slot> </urn1:AdhocQuery> </AdhocQueryRequest></SOAP-ENV:Body></SOAP-ENV:Envelope> getSPI called with spiType = com.sun.xml.ws.assembler.ClientPipelineHook Service provider type: class com.sun.xml.ws.assembler.ClientPipelineHook not supported by HTTP BC Invoking an external web service using URL: http://localhost:5050/DocumentRepository_Service/RepositoryService ---[HTTP request]--- SOAPAction: "urn:ihe:iti:2007:RegistryStoredQuery" Accept: text/xml, multipart/related, text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 Content-Type: text/xml;charset="utf-8" <?xml version='1.0' encoding='UTF-8'?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><AdhocQueryRequest xmlns:msgns="urn:ihe:iti:xds-b:2007" xmlns:urn="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0" xmlns:urn1="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0" xmlns="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0"> <urn:ResponseOption returnComposedObjects="true" returnType="LeafClass" /> <urn1:AdhocQuery id="urn:uuid:14d4debf-8f97-4251-9a74-a90016b0af0d"> <urn1:Slot name="$XDSDocumentEntryPatientId"> <urn1:ValueList> <urn1:Value>'localtest1^^^&2.16.840.1.113883.3.166.4.25&ISO'</urn1:Value> </urn1:ValueList> </urn1:Slot> <urn1:Slot name="$XDSDocumentEntryStatus"> <urn1:ValueList> <urn1:Value>('urn:oasis:names:tc:ebxml-regrep:StatusType:Approved')</urn1:Value> </urn1:ValueList> </urn1:Slot> </urn1:AdhocQuery> </AdhocQueryRequest></SOAP-ENV:Body></SOAP-ENV:Envelope> -------------------- ---[HTTP request]--- Cache-control: no-cache Host: localhost:5050 Content-type: text/xml;charset="utf-8" Content-length: 1101 Connection: keep-alive Pragma: no-cache User-agent: JAX-WS RI 2.1.4.1-hudson-324- Accept: text/xml, multipart/related, text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 Soapaction: "urn:ihe:iti:2007:RegistryStoredQuery" <?xml version='1.0' encoding='UTF-8'?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><AdhocQueryRequest xmlns:msgns="urn:ihe:iti:xds-b:2007" xmlns:urn="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0" xmlns:urn1="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0" xmlns="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0"> <urn:ResponseOption returnComposedObjects="true" returnType="LeafClass" /> <urn1:AdhocQuery id="urn:uuid:14d4debf-8f97-4251-9a74-a90016b0af0d"> <urn1:Slot name="$XDSDocumentEntryPatientId"> <urn1:ValueList> <urn1:Value>'localtest1^^^&2.16.840.1.113883.3.166.4.25&ISO'</urn1:Value> </urn1:ValueList> </urn1:Slot> <urn1:Slot name="$XDSDocumentEntryStatus"> <urn1:ValueList> <urn1:Value>('urn:oasis:names:tc:ebxml-regrep:StatusType:Approved')</urn1:Value> </urn1:ValueList> </urn1:Slot> </urn1:AdhocQuery> </AdhocQueryRequest></SOAP-ENV:Body></SOAP-ENV:Envelope> -------------------- ---[HTTP response 500]--- --uuid:b5bc5f66-e965-47b7-bca3-294123e8bf5c Content-Id: <rootpart*b5bc5f66-e965-47b7-bca3-294123e8bf5c@...> Content-Type: application/xop+xml;charset=utf-8;type="text/xml" Content-Transfer-Encoding: binary <?xml version='1.0' encoding='UTF-8'?><S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"><S:Body><S:Fault xmlns:ns4="http://www.w3.org/2003/05/soap-envelope"><faultcode>S:Client</faultcode><faultstring>Cannot find dispatch method for {urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0}AdhocQueryRequest</faultstring></S:Fault></S:Body></S:Envelope> --uuid:b5bc5f66-e965-47b7-bca3-294123e8bf5c-- -------------------- ---[HTTP response 500]--- null: HTTP/1.1 500 Internal Server Error Content-type: multipart/related;start="<rootpart*b5bc5f66-e965-47b7-bca3-294123e8bf5c@...>";type="application/xop+xml";boundary="uuid:b5bc5f66-e965-47b7-bca3-294123e8bf5c";start-info="text/xml" Content-length: 634 Connection: close Server: Sun GlassFish Enterprise Server v2.1 X-powered-by: Servlet/2.5 Date: Thu, 02 Jul 2009 15:21:46 GMT --uuid:b5bc5f66-e965-47b7-bca3-294123e8bf5c Content-Id: <rootpart*b5bc5f66-e965-47b7-bca3-294123e8bf5c@...> Content-Type: application/xop+xml;charset=utf-8;type="text/xml" Content-Transfer-Encoding: binary <?xml version='1.0' encoding='UTF-8'?><S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"><S:Body><S:Fault xmlns:ns4="http://www.w3.org/2003/05/soap-envelope"><faultcode>S:Client</faultcode><faultstring>Cannot find dispatch method for {urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0}AdhocQueryRequest</faultstring></S:Fault></S:Body></S:Envelope> --uuid:b5bc5f66-e965-47b7-bca3-294123e8bf5c-- -------------------- A fault occured, possibly a specified service fault. javax.xml.ws.soap.SOAPFaultException: Cannot find dispatch method for {urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0}AdhocQueryRequest at com.sun.xml.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:188) at com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:122) at com.sun.xml.ws.client.dispatch.DispatchImpl.doInvoke(DispatchImpl.java:187) at com.sun.xml.ws.client.dispatch.DispatchImpl.invoke(DispatchImpl.java:206) at com.sun.jbi.httpsoapbc.OutboundMessageProcessor.outboundCall(OutboundMessageProcessor.java:1108) at com.sun.jbi.httpsoapbc.OutboundMessageProcessor.dispatch(OutboundMessageProcessor.java:1139) at com.sun.jbi.httpsoapbc.OutboundMessageProcessor.processRequestReplyOutbound(OutboundMessageProcessor.java:667) at com.sun.jbi.httpsoapbc.OutboundMessageProcessor.processMessage(OutboundMessageProcessor.java:249) at com.sun.jbi.httpsoapbc.OutboundAction.run(OutboundAction.java:63) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) HTTPBC-E00759: An exception occured while processing a reply message. Cannot find dispatch method for {urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0}AdhocQueryRequest javax.xml.ws.soap.SOAPFaultException: Cannot find dispatch method for {urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0}AdhocQueryRequest at com.sun.xml.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:188) at com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:122) at com.sun.xml.ws.client.dispatch.DispatchImpl.doInvoke(DispatchImpl.java:187) at com.sun.xml.ws.client.dispatch.DispatchImpl.invoke(DispatchImpl.java:206) at com.sun.jbi.httpsoapbc.OutboundMessageProcessor.outboundCall(OutboundMessageProcessor.java:1108) at com.sun.jbi.httpsoapbc.OutboundMessageProcessor.dispatch(OutboundMessageProcessor.java:1139) at com.sun.jbi.httpsoapbc.OutboundMessageProcessor.processRequestReplyOutbound(OutboundMessageProcessor.java:667) at com.sun.jbi.httpsoapbc.OutboundMessageProcessor.processMessage(OutboundMessageProcessor.java:249) at com.sun.jbi.httpsoapbc.OutboundAction.run(OutboundAction.java:63) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) Processing completed for message exchange 254206211115819-38135-134658409070230256 Got a message with SOAP binding; id: 254206211115819-38135-134658409050110251 Processing started for message exchange 254206211115819-38135-134658409050110251 Response for exchange 254206211115819-38135-134658409050110251 received (2231 ms} Processing message exchange 254206211115819-38135-134658409050110251 as inbound; pattern is http://www.w3.org/2004/08/wsdl/in-out Denormalizing received msg: <?xml version="1.0" encoding="UTF-8" standalone="no"?><jbi:message xmlns:msgns="urn:ihe:iti:xds-b:2007" type="msgns:CrossGatewayQueryResponse_Message" version="1.0" xmlns:jbi="http://java.sun.com/xml/ns/jbi/wsdl-11-wrapper"><jbi:part><AdhocQueryResponse status="urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure" xmlns="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0"><ns1:RegistryErrorList xmlns:ns1="urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0"><ns1:RegistryError codeContext="RespondingGateway Orchestration Failure" location="RespondingGateway_CrossGatewayQuery operation" severity="urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error"/></ns1:RegistryErrorList></AdhocQueryResponse></jbi:part></jbi:message> Normalized message to denormalize: <?xml version="1.0" encoding="UTF-8" standalone="no"?><jbi:message xmlns:msgns="urn:ihe:iti:xds-b:2007" type="msgns:CrossGatewayQueryResponse_Message" version="1.0" xmlns:jbi="http://java.sun.com/xml/ns/jbi/wsdl-11-wrapper"><jbi:part><AdhocQueryResponse status="urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure" xmlns="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0"><ns1:RegistryErrorList xmlns:ns1="urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0"><ns1:RegistryError codeContext="RespondingGateway Orchestration Failure" location="RespondingGateway_CrossGatewayQuery operation" severity="urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error"/></ns1:RegistryErrorList></AdhocQueryResponse></jbi:part></jbi:message> JBI message namespaces: {xmlns:msgns=urn:ihe:iti:xds-b:2007 } JBI part 'body' namespaces: {} Denormalized SOAP envelope: <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Header/><SOAP-ENV:Body><AdhocQueryResponse xmlns:msgns="urn:ihe:iti:xds-b:2007" status="urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure" xmlns="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0"><ns1:RegistryErrorList xmlns:ns1="urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0"><ns1:RegistryError codeContext="RespondingGateway Orchestration Failure" location="RespondingGateway_CrossGatewayQuery operation" severity="urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error"/></ns1:RegistryErrorList></AdhocQueryResponse></SOAP-ENV:Body></SOAP-ENV:Envelope> Calling back JAX-WS asynchronously to proceed with response Processing completed for message exchange 254206211115819-38135-134658409050110251 ---[HTTP response 200]--- <?xml version='1.0' encoding='UTF-8'?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><AdhocQueryResponse xmlns:msgns="urn:ihe:iti:xds-b:2007" xmlns="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0" status="urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure"><ns1:RegistryErrorList xmlns:ns1="urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0"><ns1:RegistryError codeContext="RespondingGateway Orchestration Failure" location="RespondingGateway_CrossGatewayQuery operation" severity="urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error" /></ns1:RegistryErrorList></AdhocQueryResponse></SOAP-ENV:Body></SOAP-ENV:Envelope> -------------------- <?xml version="1.0" encoding="utf-8"?> <definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ihe="urn:ihe:iti:xds-b:2007" xmlns:query="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0" xmlns:rs="urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0" targetNamespace="urn:ihe:iti:xds-b:2007" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" name="XDS-b_DocumentRepository" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:wsaws="http://www.w3.org/2005/08/addressing"> <documentation>IHE XDS.b Document Repository</documentation> <types> <xsd:schema elementFormDefault="qualified"> <xsd:import namespace="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0" schemaLocation="query.xsd"/> <xsd:import namespace="urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0" schemaLocation="rs.xsd"/> <xsd:import namespace="urn:ihe:iti:xds-b:2007" schemaLocation="XDS.b_DocumentRepository.xsd"/> </xsd:schema> </types> <message name="RetrieveDocumentSet_Message"> <documentation>Retrieve Document Set</documentation> <part name="body" element="ihe:RetrieveDocumentSetRequest"/> </message> <message name="RetrieveDocumentSetResponse_Message"> <documentation>Retrieve Document Set Response</documentation> <part name="body" element="ihe:RetrieveDocumentSetResponse"/> </message> <message name="RegistryStoredQuery_Message"> <documentation>Registry Stored Query</documentation> <part name="body" element="query:AdhocQueryRequest"/> </message> <message name="RegistryStoredQueryResponse_Message"> <documentation>Registry Stored Query Response</documentation> <part name="body" element="query:AdhocQueryResponse"/> </message> <portType name="DocumentRepositoryRegistry_PortType"> <operation name="DocumentRepository_RetrieveDocumentSet"> <input message="ihe:RetrieveDocumentSet_Message" wsaw:Action="urn:ihe:iti:2007:RetrieveDocumentSet"/> <output message="ihe:RetrieveDocumentSetResponse_Message" wsaw:Action="urn:ihe:iti:2007:RetrieveDocumentSetResponse"/> </operation> <operation name="DocumentRegistry_RegistryStoredQuery"> <input message="ihe:RegistryStoredQuery_Message" wsaw:Action="urn:ihe:iti:2007:RegistryStoredQuery"/> <output message="ihe:RegistryStoredQueryResponse_Message" wsaw:Action="urn:ihe:iti:2007:RegistryStoredQueryResponse"/> </operation> </portType> <binding name="DocumentRepositoryRegistry_Binding_Soap11" type="ihe:DocumentRepositoryRegistry_PortType"> <wsp:PolicyReference URI="#DocumentRepositoryRegistry_Binding_Soap11Policy"/> <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/> <operation name="DocumentRepository_RetrieveDocumentSet"> <soap:operation soapAction="urn:ihe:iti:2007:RetrieveDocumentSet"/> <input> <soap:body use="literal"/> </input> <output> <soap:body use="literal"/> </output> </operation> <operation name="DocumentRegistry_RegistryStoredQuery"> <soap:operation soapAction="urn:ihe:iti:2007:RegistryStoredQuery"/> <input> <soap:body use="literal"/> </input> <output> <soap:body use="literal"/> </output> </operation> </binding> <service name="DocumentRepositoryRegistry_Service"> <port name="DocumentRepositoryRegistry_Port_Soap11" binding="ihe:DocumentRepositoryRegistry_Binding_Soap11"> <soap:address location="http:localhost:8080//servicelocation/DocumentRepository_Service"/> </port> </service> <wsp:Policy wsu:Id="DocumentRepositoryRegistry_Binding_Soap11Policy"> <wsp:ExactlyOne> <wsp:All> <wsaw:UsingAddressing/> </wsp:All> </wsp:ExactlyOne> </wsp:Policy> </definitions> SOAP envelope namespaces: {} SOAP body to normalize: <?xml version="1.0" encoding="UTF-8"?><S:Body xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"><ns2:ServiceEndpointFactoryResponse xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:ns2="http://xml.netbeans.org/schema/ServiceEndpointFactory"><ns2:EPR><ns2:EndpointReference><Address>http://localhost:5050/DocumentRepository_Service/RepositoryService</Address><ServiceName xmlns:myprefix="urn:ihe:iti:xds-b:2007" PortName="DocumentRepositoryRegistry_Port_Soap11">myprefix:DocumentRepositoryRegistry_Service</ServiceName></ns2:EndpointReference></ns2:EPR></ns2:ServiceEndpointFactoryResponse></S:Body> SOAP body namespaces: {} TYPE_DOC: false TYPE_RPC: false ELEM_DOC: true ELEM_RPC: false Style is Document, part retrieveEndpointOutput is Element, QName {http://xml.netbeans.org/schema/ServiceEndpointFactory}ServiceEndpointFactoryResponse SOAP header to normalize: <?xml version="1.0" encoding="UTF-8"?><S:Header xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"/> Normalized message: <?xml version="1.0" encoding="UTF-8"?><jbi:message xmlns:msgns="http://j2ee.netbeans.org/wsdl/ServiceEndpointFactory" name="output1" type="msgns:retrieveEndpointResponse" version="1.0" xmlns:jbi="http://java.sun.com/xml/ns/jbi/wsdl-11-wrapper"><jbi:part><ns2:ServiceEndpointFactoryResponse xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:ns2="http://xml.netbeans.org/schema/ServiceEndpointFactory"><ns2:EPR><ns2:EndpointReference><Address>http://localhost:5050/DocumentRepository_Service/RepositoryService</Address><ServiceName xmlns:myprefix="urn:ihe:iti:xds-b:2007" PortName="DocumentRepositoryRegistry_Port_Soap11">myprefix:DocumentRepositoryRegistry_Service</ServiceName></ns2:EndpointReference></ns2:EPR></ns2:ServiceEndpointFactoryResponse></jbi:part></jbi:message> Processing completed for message exchange 120269713438946-34880-134658445069710139 Got a message with SOAP binding; id: 120269713438946-34880-134658445069710139 Processing started for message exchange 120269713438946-34880-134658445069710139 Processing message exchange 120269713438946-34880-134658445069710139 as outbound; pattern is http://www.w3.org/2004/08/wsdl/in-out Processing completed for message exchange 120269713438946-34880-134658445069710139 Got a message with SOAP binding; id: 120269713438946-34880-134658445070340140 Processing started for message exchange 120269713438946-34880-134658445070340140 Processing message exchange 120269713438946-34880-134658445070340140 as outbound; pattern is http://www.w3.org/2004/08/wsdl/in-out Normalized message content: <?xml version="1.0" encoding="UTF-8" standalone="no"?><jbi:message xmlns:msgns="urn:ihe:iti:xds-b:2007" type="msgns:RegistryStoredQuery_Message" version="1.0" xmlns:jbi="http://java.sun.com/xml/ns/jbi/wsdl-11-wrapper"><jbi:part><AdhocQueryRequest xmlns:urn="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0" xmlns:urn1="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0" xmlns="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0"> <urn:ResponseOption returnComposedObjects="true" returnType="LeafClass"/> <urn1:AdhocQuery id="urn:uuid:14d4debf-8f97-4251-9a74-a90016b0af0d"> <urn1:Slot name="$XDSDocumentEntryPatientId"> <urn1:ValueList> <urn1:Value>'localtest1^^^&2.16.840.1.113883.3.166.4.25&ISO'</urn1:Value> </urn1:ValueList> </urn1:Slot> <urn1:Slot name="$XDSDocumentEntryStatus"> <urn1:ValueList> <urn1:Value>('urn:oasis:names:tc:ebxml-regrep:StatusType:Approved')</urn1:Value> </urn1:ValueList> </urn1:Slot> </urn1:AdhocQuery> </AdhocQueryRequest></jbi:part></jbi:message> Normalized message to denormalize: <?xml version="1.0" encoding="UTF-8" standalone="no"?><jbi:message xmlns:msgns="urn:ihe:iti:xds-b:2007" type="msgns:RegistryStoredQuery_Message" version="1.0" xmlns:jbi="http://java.sun.com/xml/ns/jbi/wsdl-11-wrapper"><jbi:part><AdhocQueryRequest xmlns:urn="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0" xmlns:urn1="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0" xmlns="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0"> <urn:ResponseOption returnComposedObjects="true" returnType="LeafClass"/> <urn1:AdhocQuery id="urn:uuid:14d4debf-8f97-4251-9a74-a90016b0af0d"> <urn1:Slot name="$XDSDocumentEntryPatientId"> <urn1:ValueList> <urn1:Value>'localtest1^^^&2.16.840.1.113883.3.166.4.25&ISO'</urn1:Value> </urn1:ValueList> </urn1:Slot> <urn1:Slot name="$XDSDocumentEntryStatus"> <urn1:ValueList> <urn1:Value>('urn:oasis:names:tc:ebxml-regrep:StatusType:Approved')</urn1:Value> </urn1:ValueList> </urn1:Slot> </urn1:AdhocQuery> </AdhocQueryRequest></jbi:part></jbi:message> JBI message namespaces: {xmlns:msgns=urn:ihe:iti:xds-b:2007 } JBI part 'body' namespaces: {} Denormalized SOAP envelope: <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Header/><SOAP-ENV:Body><AdhocQueryRequest xmlns:msgns="urn:ihe:iti:xds-b:2007" xmlns:urn="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0" xmlns:urn1="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0" xmlns="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0"> <urn:ResponseOption returnComposedObjects="true" returnType="LeafClass"/> <urn1:AdhocQuery id="urn:uuid:14d4debf-8f97-4251-9a74-a90016b0af0d"> <urn1:Slot name="$XDSDocumentEntryPatientId"> <urn1:ValueList> <urn1:Value>'localtest1^^^&2.16.840.1.113883.3.166.4.25&ISO'</urn1:Value> </urn1:ValueList> </urn1:Slot> <urn1:Slot name="$XDSDocumentEntryStatus"> <urn1:ValueList> <urn1:Value>('urn:oasis:names:tc:ebxml-regrep:StatusType:Approved')</urn1:Value> </urn1:ValueList> </urn1:Slot> </urn1:AdhocQuery> </AdhocQueryRequest></SOAP-ENV:Body></SOAP-ENV:Envelope> Sending SOAP envelope: <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Header/><SOAP-ENV:Body><AdhocQueryRequest xmlns:msgns="urn:ihe:iti:xds-b:2007" xmlns:urn="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0" xmlns:urn1="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0" xmlns="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0"> <urn:ResponseOption returnComposedObjects="true" returnType="LeafClass"/> <urn1:AdhocQuery id="urn:uuid:14d4debf-8f97-4251-9a74-a90016b0af0d"> <urn1:Slot name="$XDSDocumentEntryPatientId"> <urn1:ValueList> <urn1:Value>'localtest1^^^&2.16.840.1.113883.3.166.4.25&ISO'</urn1:Value> </urn1:ValueList> </urn1:Slot> <urn1:Slot name="$XDSDocumentEntryStatus"> <urn1:ValueList> <urn1:Value>('urn:oasis:names:tc:ebxml-regrep:StatusType:Approved')</urn1:Value> </urn1:ValueList> </urn1:Slot> </urn1:AdhocQuery> </AdhocQueryRequest></SOAP-ENV:Body></SOAP-ENV:Envelope> getSPI called with spiType = com.sun.xml.ws.assembler.ClientPipelineHook Service provider type: class com.sun.xml.ws.assembler.ClientPipelineHook not supported by HTTP BC Invoking an external web service using URL: http://localhost:5050/DocumentRepository_Service/RepositoryService ---[HTTP request]--- SOAPAction: "urn:ihe:iti:2007:RegistryStoredQuery" Accept: text/xml, multipart/related, text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 Content-Type: text/xml;charset="utf-8" <?xml version="1.0" ?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Header><To xmlns="http://www.w3.org/2005/08/addressing">http://localhost:5050/DocumentRepository_Service/RepositoryService</To><Action xmlns="http://www.w3.org/2005/08/addressing">urn:ihe:iti:2007:RegistryStoredQuery</Action><ReplyTo xmlns="http://www.w3.org/2005/08/addressing"> <Address>http://www.w3.org/2005/08/addressing/anonymous</Address> </ReplyTo><MessageID xmlns="http://www.w3.org/2005/08/addressing">uuid:5b27e0b3-ca34-4efd-bbc4-caf1d22962bd</MessageID></SOAP-ENV:Header><SOAP-ENV:Body><AdhocQueryRequest xmlns:msgns="urn:ihe:iti:xds-b:2007" xmlns:urn="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0" xmlns:urn1="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0" xmlns="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0"> <urn:ResponseOption returnComposedObjects="true" returnType="LeafClass"></urn:ResponseOption> <urn1:AdhocQuery id="urn:uuid:14d4debf-8f97-4251-9a74-a90016b0af0d"> <urn1:Slot name="$XDSDocumentEntryPatientId"> <urn1:ValueList> <urn1:Value>'localtest1^^^&2.16.840.1.113883.3.166.4.25&ISO'</urn1:Value> </urn1:ValueList> </urn1:Slot> <urn1:Slot name="$XDSDocumentEntryStatus"> <urn1:ValueList> <urn1:Value>('urn:oasis:names:tc:ebxml-regrep:StatusType:Approved')</urn1:Value> </urn1:ValueList> </urn1:Slot> </urn1:AdhocQuery> </AdhocQueryRequest></SOAP-ENV:Body></SOAP-ENV:Envelope> -------------------- ---[HTTP request]--- Host: localhost:5050 Content-type: text/xml;charset="utf-8" Content-length: 1601 Connection: keep-alive User-agent: JAX-WS RI 2.1.3.1-hudson-749-SNAPSHOT Accept: text/xml, multipart/related, text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 Soapaction: "urn:ihe:iti:2007:RegistryStoredQuery" <?xml version="1.0" ?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Header><To xmlns="http://www.w3.org/2005/08/addressing">http://localhost:5050/DocumentRepository_Service/RepositoryService</To><Action xmlns="http://www.w3.org/2005/08/addressing">urn:ihe:iti:2007:RegistryStoredQuery</Action><ReplyTo xmlns="http://www.w3.org/2005/08/addressing"> <Address>http://www.w3.org/2005/08/addressing/anonymous</Address> </ReplyTo><MessageID xmlns="http://www.w3.org/2005/08/addressing">uuid:5b27e0b3-ca34-4efd-bbc4-caf1d22962bd</MessageID></SOAP-ENV:Header><SOAP-ENV:Body><AdhocQueryRequest xmlns:msgns="urn:ihe:iti:xds-b:2007" xmlns:urn="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0" xmlns:urn1="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0" xmlns="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0"> <urn:ResponseOption returnComposedObjects="true" returnType="LeafClass"></urn:ResponseOption> <urn1:AdhocQuery id="urn:uuid:14d4debf-8f97-4251-9a74-a90016b0af0d"> <urn1:Slot name="$XDSDocumentEntryPatientId"> <urn1:ValueList> <urn1:Value>'localtest1^^^&2.16.840.1.113883.3.166.4.25&ISO'</urn1:Value> </urn1:ValueList> </urn1:Slot> <urn1:Slot name="$XDSDocumentEntryStatus"> <urn1:ValueList> <urn1:Value>('urn:oasis:names:tc:ebxml-regrep:StatusType:Approved')</urn1:Value> </urn1:ValueList> </urn1:Slot> </urn1:AdhocQuery> </AdhocQueryRequest></SOAP-ENV:Body></SOAP-ENV:Envelope> -------------------- ---[HTTP response 500]--- --uuid:a4dd6df0-57ef-439b-8e5e-7652d677edc7 Content-Id: <rootpart*a4dd6df0-57ef-439b-8e5e-7652d677edc7@...> Content-Type: application/xop+xml;charset=utf-8;type="text/xml" Content-Transfer-Encoding: binary <?xml version="1.0" ?><S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"><S:Header><ProblemAction xmlns="http://www.w3.org/2005/08/addressing"><Action>urn:ihe:iti:2007:RegistryStoredQuery</Action></ProblemAction><To xmlns="http://www.w3.org/2005/08/addressing">http://www.w3.org/2005/08/addressing/anonymous</To><Action xmlns="http://www.w3.org/2005/08/addressing">http://www.w3.org/2005/08/addressing/fault</Action><MessageID xmlns="http://www.w3.org/2005/08/addressing">uuid:e9844fce-2bbe-4c84-b254-cad28322be04</MessageID><RelatesTo xmlns="http://www.w3.org/2005/08/addressing">uuid:5b27e0b3-ca34-4efd-bbc4-caf1d22962bd</RelatesTo></S:Header><S:Body><S:Fault xmlns:ns4="http://www.w3.org/2003/05/soap-envelope" xmlns=""><faultcode xmlns:ns0="http://www.w3.org/2005/08/addressing">ns0:ActionNotSupported</faultcode><faultstring>The "urn:ihe:iti:2007:RegistryStoredQuery" cannot be processed at the receiver</faultstring></S:Fault></S:Body></S:Envelope> --uuid:a4dd6df0-57ef-439b-8e5e-7652d677edc7-- -------------------- ---[HTTP response 500]--- null: HTTP/1.1 500 Internal Server Error Content-type: multipart/related;start="<rootpart*a4dd6df0-57ef-439b-8e5e-7652d677edc7@...>";type="application/xop+xml";boundary="uuid:a4dd6df0-57ef-439b-8e5e-7652d677edc7";start-info="text/xml" Content-length: 1244 Connection: close Server: Sun GlassFish Enterprise Server v2.1 X-powered-by: Servlet/2.5 Date: Thu, 02 Jul 2009 16:21:46 GMT --uuid:a4dd6df0-57ef-439b-8e5e-7652d677edc7 Content-Id: <rootpart*a4dd6df0-57ef-439b-8e5e-7652d677edc7@...> Content-Type: application/xop+xml;charset=utf-8;type="text/xml" Content-Transfer-Encoding: binary <?xml version="1.0" ?><S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"><S:Header><ProblemAction xmlns="http://www.w3.org/2005/08/addressing"><Action>urn:ihe:iti:2007:RegistryStoredQuery</Action></ProblemAction><To xmlns="http://www.w3.org/2005/08/addressing">http://www.w3.org/2005/08/addressing/anonymous</To><Action xmlns="http://www.w3.org/2005/08/addressing">http://www.w3.org/2005/08/addressing/fault</Action><MessageID xmlns="http://www.w3.org/2005/08/addressing">uuid:e9844fce-2bbe-4c84-b254-cad28322be04</MessageID><RelatesTo xmlns="http://www.w3.org/2005/08/addressing">uuid:5b27e0b3-ca34-4efd-bbc4-caf1d22962bd</RelatesTo></S:Header><S:Body><S:Fault xmlns:ns4="http://www.w3.org/2003/05/soap-envelope" xmlns=""><faultcode xmlns:ns0="http://www.w3.org/2005/08/addressing">ns0:ActionNotSupported</faultcode><faultstring>The "urn:ihe:iti:2007:RegistryStoredQuery" cannot be processed at the receiver</faultstring></S:Fault></S:Body></S:Envelope> --uuid:a4dd6df0-57ef-439b-8e5e-7652d677edc7-- -------------------- Unknown WS-Addressing header A fault occured, possibly a specified service fault. javax.xml.ws.soap.SOAPFaultException: The "urn:ihe:iti:2007:RegistryStoredQuery" cannot be processed at the receiver at com.sun.xml.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:188) at com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:108) at com.sun.xml.ws.client.dispatch.DispatchImpl.doInvoke(DispatchImpl.java:187) at com.sun.xml.ws.client.dispatch.DispatchImpl.invoke(DispatchImpl.java:206) at com.sun.jbi.httpsoapbc.OutboundMessageProcessor.outboundCall(OutboundMessageProcessor.java:1108) at com.sun.jbi.httpsoapbc.OutboundMessageProcessor.dispatch(OutboundMessageProcessor.java:1139) at com.sun.jbi.httpsoapbc.OutboundMessageProcessor.processRequestReplyOutbound(OutboundMessageProcessor.java:667) at com.sun.jbi.httpsoapbc.OutboundMessageProcessor.processMessage(OutboundMessageProcessor.java:249) at com.sun.jbi.httpsoapbc.OutboundAction.run(OutboundAction.java:63) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) HTTPBC-E00759: An exception occured while processing a reply message. The "urn:ihe:iti:2007:RegistryStoredQuery" cannot be processed at the receiver javax.xml.ws.soap.SOAPFaultException: The "urn:ihe:iti:2007:RegistryStoredQuery" cannot be processed at the receiver at com.sun.xml.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:188) at com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:108) at com.sun.xml.ws.client.dispatch.DispatchImpl.doInvoke(DispatchImpl.java:187) at com.sun.xml.ws.client.dispatch.DispatchImpl.invoke(DispatchImpl.java:206) at com.sun.jbi.httpsoapbc.OutboundMessageProcessor.outboundCall(OutboundMessageProcessor.java:1108) at com.sun.jbi.httpsoapbc.OutboundMessageProcessor.dispatch(OutboundMessageProcessor.java:1139) at com.sun.jbi.httpsoapbc.OutboundMessageProcessor.processRequestReplyOutbound(OutboundMessageProcessor.java:667) at com.sun.jbi.httpsoapbc.OutboundMessageProcessor.processMessage(OutboundMessageProcessor.java:249) at com.sun.jbi.httpsoapbc.OutboundAction.run(OutboundAction.java:63) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) Processing completed for message exchange 120269713438946-34880-134658445070340140 Got a message with SOAP binding; id: 120269713438946-34880-134658444948410135 Processing started for message exchange 120269713438946-34880-134658444948410135 Response for exchange 120269713438946-34880-134658444948410135 received (12193 ms} Processing message exchange 120269713438946-34880-134658444948410135 as inbound; pattern is http://www.w3.org/2004/08/wsdl/in-out Denormalizing received msg: <?xml version="1.0" encoding="UTF-8" standalone="no"?><jbi:message xmlns:msgns="urn:ihe:iti:xds-b:2007" type="msgns:CrossGatewayQueryResponse_Message" version="1.0" xmlns:jbi="http://java.sun.com/xml/ns/jbi/wsdl-11-wrapper"><jbi:part><AdhocQueryResponse status="urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure" xmlns="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0"><ns1:RegistryErrorList xmlns:ns1="urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0"><ns1:RegistryError codeContext="RespondingGateway Orchestration Failure" location="RespondingGateway_CrossGatewayQuery operation" severity="urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error"/></ns1:RegistryErrorList></AdhocQueryResponse></jbi:part></jbi:message> Normalized message to denormalize: <?xml version="1.0" encoding="UTF-8" standalone="no"?><jbi:message xmlns:msgns="urn:ihe:iti:xds-b:2007" type="msgns:CrossGatewayQueryResponse_Message" version="1.0" xmlns:jbi="http://java.sun.com/xml/ns/jbi/wsdl-11-wrapper"><jbi:part><AdhocQueryResponse status="urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure" xmlns="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0"><ns1:RegistryErrorList xmlns:ns1="urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0"><ns1:RegistryError codeContext="RespondingGateway Orchestration Failure" location="RespondingGateway_CrossGatewayQuery operation" severity="urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error"/></ns1:RegistryErrorList></AdhocQueryResponse></jbi:part></jbi:message> JBI message namespaces: {xmlns:msgns=urn:ihe:iti:xds-b:2007 } JBI part 'body' namespaces: {} Denormalized SOAP envelope: <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Header/><SOAP-ENV:Body><AdhocQueryResponse xmlns:msgns="urn:ihe:iti:xds-b:2007" status="urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure" xmlns="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0"><ns1:RegistryErrorList xmlns:ns1="urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0"><ns1:RegistryError codeContext="RespondingGateway Orchestration Failure" location="RespondingGateway_CrossGatewayQuery operation" severity="urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error"/></ns1:RegistryErrorList></AdhocQueryResponse></SOAP-ENV:Body></SOAP-ENV:Envelope> Calling back JAX-WS asynchronously to proceed with response Processing completed for message exchange 120269713438946-34880-134658444948410135 ---[HTTP response 200]--- <?xml version="1.0" ?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Header><To xmlns="http://www.w3.org/2005/08/addressing">http://www.w3.org/2005/08/addressing/anonymous</To><Action xmlns="http://www.w3.org/2005/08/addressing">urn:ihe:iti:2007:CrossGatewayQueryResponse</Action><MessageID xmlns="http://www.w3.org/2005/08/addressing">uuid:a35cf2ae-3502-4dba-845e-1b51ba194cc6</MessageID><RelatesTo xmlns="http://www.w3.org/2005/08/addressing">uuid:b8db711a-65f2-41f5-ab17-2741b326867d</RelatesTo></SOAP-ENV:Header><SOAP-ENV:Body><AdhocQueryResponse xmlns:msgns="urn:ihe:iti:xds-b:2007" xmlns="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0" status="urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure"><ns1:RegistryErrorList xmlns:ns1="urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0"><ns1:RegistryError codeContext="RespondingGateway Orchestration Failure" location="RespondingGateway_CrossGatewayQuery operation" severity="urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error"></ns1:RegistryError></ns1:RegistryErrorList></AdhocQueryResponse></SOAP-ENV:Body></SOAP-ENV:Envelope> -------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Upgrading to GF v2.1 - Problem with WS-AddressingHello Metro and GlassfishESB folks,
We have a NHIN gateway implementation from last year that we developed using an older OpenESB and Metro build. We are in the process of testing the feasibility of upgrading the base software to the latest Glassfish ESB v2.1. We are trying to deploy one application (and its dependencies) onto a fresh Glassfish ESB v2.1 installation and are getting errors with respect to WS-Addressing. This test does not involve security at the message level, or transport level.
Here is the error we get (attached log-with-policy.txt) -
Unknown WS-Addressing header
A fault occured, possibly a specified service fault. javax.xml.ws.soap.SOAPFaultException: The "urn:ihe:iti:2007:RegistryStoredQuery" cannot be processed at the receiver at com.sun.xml.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:188) at com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:108) at com.sun.xml.ws.client.dispatch.DispatchImpl.doInvoke(DispatchImpl.java:187) at com.sun.xml.ws.client.dispatch.DispatchImpl.invoke(DispatchImpl.java:206) at com.sun.jbi.httpsoapbc.OutboundMessageProcessor.outboundCall(OutboundMessageProcessor.java:1108) at com.sun.jbi.httpsoapbc.OutboundMessageProcessor.dispatch(OutboundMessageProcessor.java:1139) at com.sun.jbi.httpsoapbc.OutboundMessageProcessor.processRequestReplyOutbound(OutboundMessageProcessor.java:667) at com.sun.jbi.httpsoapbc.OutboundMessageProcessor.processMessage(OutboundMessageProcessor.java:249) at com.sun.jbi.httpsoapbc.OutboundAction.run(OutboundAction.java:63) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) To remove addressing from the picture and check if we could circumvent the problem, I also tried commenting out the "wsaw:UsingAddressing" from the policy in the WSDL. We got another eror as follows (attached log-no-policy.txt) -
A fault occured, possibly a specified service fault.
javax.xml.ws.soap.SOAPFaultException: Cannot find dispatch method for {urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0}AdhocQueryRequest at com.sun.xml.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:188) at com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:122) at com.sun.xml.ws.client.dispatch.DispatchImpl.doInvoke(DispatchImpl.java:187) at com.sun.xml.ws.client.dispatch.DispatchImpl.invoke(DispatchImpl.java:206) at com.sun.jbi.httpsoapbc.OutboundMessageProcessor.outboundCall(OutboundMessageProcessor.java:1108) at com.sun.jbi.httpsoapbc.OutboundMessageProcessor.dispatch(OutboundMessageProcessor.java:1139) at com.sun.jbi.httpsoapbc.OutboundMessageProcessor.processRequestReplyOutbound(OutboundMessageProcessor.java:667) at com.sun.jbi.httpsoapbc.OutboundMessageProcessor.processMessage(OutboundMessageProcessor.java:249) at com.sun.jbi.httpsoapbc.OutboundAction.run(OutboundAction.java:63) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) Here is what our old environment was (everything works fine) -
OpenESB nightly as of 06/16/2008 - Updated HTTPBC to support 2-way SSL
Metro 1.4 nightly as of 08/14/2008 (with several updates provided by the metro team to support our security and other requirements)
Here is what we are trying to upgrade to -
Glassfish ESB v2.1
Packaged Metro 1.5
I am also attaching the WSDL that we are using to publish the service (the policy in here was commented out for the no-policy test).
Can someone please throw some light on what the potential problems could be?
Thanks in advance,
Sourabh Pawar SOAP envelope namespaces: {} SOAP body to normalize: <?xml version="1.0" encoding="UTF-8"?><S:Body xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"><ns2:ServiceEndpointFactoryResponse xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:ns2="http://xml.netbeans.org/schema/ServiceEndpointFactory"><ns2:EPR><ns2:EndpointReference><Address>http://localhost:5050/DocumentRepository_Service/RepositoryService</Address><ServiceName xmlns:myprefix="urn:ihe:iti:xds-b:2007" PortName="DocumentRepositoryRegistry_Port_Soap11">myprefix:DocumentRepositoryRegistry_Service</ServiceName></ns2:EndpointReference></ns2:EPR></ns2:ServiceEndpointFactoryResponse></S:Body> SOAP body namespaces: {} TYPE_DOC: false TYPE_RPC: false ELEM_DOC: true ELEM_RPC: false Style is Document, part retrieveEndpointOutput is Element, QName {http://xml.netbeans.org/schema/ServiceEndpointFactory}ServiceEndpointFactoryResponse SOAP header to normalize: <?xml version="1.0" encoding="UTF-8"?><S:Header xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"/> Normalized message: <?xml version="1.0" encoding="UTF-8"?><jbi:message xmlns:msgns="http://j2ee.netbeans.org/wsdl/ServiceEndpointFactory" name="output1" type="msgns:retrieveEndpointResponse" version="1.0" xmlns:jbi="http://java.sun.com/xml/ns/jbi/wsdl-11-wrapper"><jbi:part><ns2:ServiceEndpointFactoryResponse xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:ns2="http://xml.netbeans.org/schema/ServiceEndpointFactory"><ns2:EPR><ns2:EndpointReference><Address>http://localhost:5050/DocumentRepository_Service/RepositoryService</Address><ServiceName xmlns:myprefix="urn:ihe:iti:xds-b:2007" PortName="DocumentRepositoryRegistry_Port_Soap11">myprefix:DocumentRepositoryRegistry_Service</ServiceName></ns2:EndpointReference></ns2:EPR></ns2:ServiceEndpointFactoryResponse></jbi:part></jbi:message> Processing completed for message exchange 254206211115819-38135-134658409066300255 Got a message with SOAP binding; id: 254206211115819-38135-134658409066300255 Processing started for message exchange 254206211115819-38135-134658409066300255 Processing message exchange 254206211115819-38135-134658409066300255 as outbound; pattern is http://www.w3.org/2004/08/wsdl/in-out Got a message with SOAP binding; id: 254206211115819-38135-134658409070230256 Processing completed for message exchange 254206211115819-38135-134658409066300255 Processing started for message exchange 254206211115819-38135-134658409070230256 Processing message exchange 254206211115819-38135-134658409070230256 as outbound; pattern is http://www.w3.org/2004/08/wsdl/in-out Normalized message content: <?xml version="1.0" encoding="UTF-8" standalone="no"?><jbi:message xmlns:msgns="urn:ihe:iti:xds-b:2007" type="msgns:RegistryStoredQuery_Message" version="1.0" xmlns:jbi="http://java.sun.com/xml/ns/jbi/wsdl-11-wrapper"><jbi:part><AdhocQueryRequest xmlns:urn="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0" xmlns:urn1="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0" xmlns="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0"> <urn:ResponseOption returnComposedObjects="true" returnType="LeafClass"/> <urn1:AdhocQuery id="urn:uuid:14d4debf-8f97-4251-9a74-a90016b0af0d"> <urn1:Slot name="$XDSDocumentEntryPatientId"> <urn1:ValueList> <urn1:Value>'localtest1^^^&2.16.840.1.113883.3.166.4.25&ISO'</urn1:Value> </urn1:ValueList> </urn1:Slot> <urn1:Slot name="$XDSDocumentEntryStatus"> <urn1:ValueList> <urn1:Value>('urn:oasis:names:tc:ebxml-regrep:StatusType:Approved')</urn1:Value> </urn1:ValueList> </urn1:Slot> </urn1:AdhocQuery> </AdhocQueryRequest></jbi:part></jbi:message> Normalized message to denormalize: <?xml version="1.0" encoding="UTF-8" standalone="no"?><jbi:message xmlns:msgns="urn:ihe:iti:xds-b:2007" type="msgns:RegistryStoredQuery_Message" version="1.0" xmlns:jbi="http://java.sun.com/xml/ns/jbi/wsdl-11-wrapper"><jbi:part><AdhocQueryRequest xmlns:urn="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0" xmlns:urn1="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0" xmlns="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0"> <urn:ResponseOption returnComposedObjects="true" returnType="LeafClass"/> <urn1:AdhocQuery id="urn:uuid:14d4debf-8f97-4251-9a74-a90016b0af0d"> <urn1:Slot name="$XDSDocumentEntryPatientId"> <urn1:ValueList> <urn1:Value>'localtest1^^^&2.16.840.1.113883.3.166.4.25&ISO'</urn1:Value> </urn1:ValueList> </urn1:Slot> <urn1:Slot name="$XDSDocumentEntryStatus"> <urn1:ValueList> <urn1:Value>('urn:oasis:names:tc:ebxml-regrep:StatusType:Approved')</urn1:Value> </urn1:ValueList> </urn1:Slot> </urn1:AdhocQuery> </AdhocQueryRequest></jbi:part></jbi:message> JBI message namespaces: {xmlns:msgns=urn:ihe:iti:xds-b:2007 } JBI part 'body' namespaces: {} Denormalized SOAP envelope: <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Header/><SOAP-ENV:Body><AdhocQueryRequest xmlns:msgns="urn:ihe:iti:xds-b:2007" xmlns:urn="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0" xmlns:urn1="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0" xmlns="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0"> <urn:ResponseOption returnComposedObjects="true" returnType="LeafClass"/> <urn1:AdhocQuery id="urn:uuid:14d4debf-8f97-4251-9a74-a90016b0af0d"> <urn1:Slot name="$XDSDocumentEntryPatientId"> <urn1:ValueList> <urn1:Value>'localtest1^^^&2.16.840.1.113883.3.166.4.25&ISO'</urn1:Value> </urn1:ValueList> </urn1:Slot> <urn1:Slot name="$XDSDocumentEntryStatus"> <urn1:ValueList> <urn1:Value>('urn:oasis:names:tc:ebxml-regrep:StatusType:Approved')</urn1:Value> </urn1:ValueList> </urn1:Slot> </urn1:AdhocQuery> </AdhocQueryRequest></SOAP-ENV:Body></SOAP-ENV:Envelope> Sending SOAP envelope: <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Header/><SOAP-ENV:Body><AdhocQueryRequest xmlns:msgns="urn:ihe:iti:xds-b:2007" xmlns:urn="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0" xmlns:urn1="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0" xmlns="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0"> <urn:ResponseOption returnComposedObjects="true" returnType="LeafClass"/> <urn1:AdhocQuery id="urn:uuid:14d4debf-8f97-4251-9a74-a90016b0af0d"> <urn1:Slot name="$XDSDocumentEntryPatientId"> <urn1:ValueList> <urn1:Value>'localtest1^^^&2.16.840.1.113883.3.166.4.25&ISO'</urn1:Value> </urn1:ValueList> </urn1:Slot> <urn1:Slot name="$XDSDocumentEntryStatus"> <urn1:ValueList> <urn1:Value>('urn:oasis:names:tc:ebxml-regrep:StatusType:Approved')</urn1:Value> </urn1:ValueList> </urn1:Slot> </urn1:AdhocQuery> </AdhocQueryRequest></SOAP-ENV:Body></SOAP-ENV:Envelope> getSPI called with spiType = com.sun.xml.ws.assembler.ClientPipelineHook Service provider type: class com.sun.xml.ws.assembler.ClientPipelineHook not supported by HTTP BC Invoking an external web service using URL: http://localhost:5050/DocumentRepository_Service/RepositoryService ---[HTTP request]--- SOAPAction: "urn:ihe:iti:2007:RegistryStoredQuery" Accept: text/xml, multipart/related, text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 Content-Type: text/xml;charset="utf-8" <?xml version='1.0' encoding='UTF-8'?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><AdhocQueryRequest xmlns:msgns="urn:ihe:iti:xds-b:2007" xmlns:urn="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0" xmlns:urn1="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0" xmlns="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0"> <urn:ResponseOption returnComposedObjects="true" returnType="LeafClass" /> <urn1:AdhocQuery id="urn:uuid:14d4debf-8f97-4251-9a74-a90016b0af0d"> <urn1:Slot name="$XDSDocumentEntryPatientId"> <urn1:ValueList> <urn1:Value>'localtest1^^^&2.16.840.1.113883.3.166.4.25&ISO'</urn1:Value> </urn1:ValueList> </urn1:Slot> <urn1:Slot name="$XDSDocumentEntryStatus"> <urn1:ValueList> <urn1:Value>('urn:oasis:names:tc:ebxml-regrep:StatusType:Approved')</urn1:Value> </urn1:ValueList> </urn1:Slot> </urn1:AdhocQuery> </AdhocQueryRequest></SOAP-ENV:Body></SOAP-ENV:Envelope> -------------------- ---[HTTP request]--- Cache-control: no-cache Host: localhost:5050 Content-type: text/xml;charset="utf-8" Content-length: 1101 Connection: keep-alive Pragma: no-cache User-agent: JAX-WS RI 2.1.4.1-hudson-324- Accept: text/xml, multipart/related, text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 Soapaction: "urn:ihe:iti:2007:RegistryStoredQuery" <?xml version='1.0' encoding='UTF-8'?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><AdhocQueryRequest xmlns:msgns="urn:ihe:iti:xds-b:2007" xmlns:urn="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0" xmlns:urn1="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0" xmlns="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0"> <urn:ResponseOption returnComposedObjects="true" returnType="LeafClass" /> <urn1:AdhocQuery id="urn:uuid:14d4debf-8f97-4251-9a74-a90016b0af0d"> <urn1:Slot name="$XDSDocumentEntryPatientId"> <urn1:ValueList> <urn1:Value>'localtest1^^^&2.16.840.1.113883.3.166.4.25&ISO'</urn1:Value> </urn1:ValueList> </urn1:Slot> <urn1:Slot name="$XDSDocumentEntryStatus"> <urn1:ValueList> <urn1:Value>('urn:oasis:names:tc:ebxml-regrep:StatusType:Approved')</urn1:Value> </urn1:ValueList> </urn1:Slot> </urn1:AdhocQuery> </AdhocQueryRequest></SOAP-ENV:Body></SOAP-ENV:Envelope> -------------------- ---[HTTP response 500]--- --uuid:b5bc5f66-e965-47b7-bca3-294123e8bf5c Content-Id: <rootpart*b5bc5f66-e965-47b7-bca3-294123e8bf5c@...> Content-Type: application/xop+xml;charset=utf-8;type="text/xml" Content-Transfer-Encoding: binary <?xml version='1.0' encoding='UTF-8'?><S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"><S:Body><S:Fault xmlns:ns4="http://www.w3.org/2003/05/soap-envelope"><faultcode>S:Client</faultcode><faultstring>Cannot find dispatch method for {urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0}AdhocQueryRequest</faultstring></S:Fault></S:Body></S:Envelope> --uuid:b5bc5f66-e965-47b7-bca3-294123e8bf5c-- -------------------- ---[HTTP response 500]--- null: HTTP/1.1 500 Internal Server Error Content-type: multipart/related;start="<rootpart*b5bc5f66-e965-47b7-bca3-294123e8bf5c@...>";type="application/xop+xml";boundary="uuid:b5bc5f66-e965-47b7-bca3-294123e8bf5c";start-info="text/xml" Content-length: 634 Connection: close Server: Sun GlassFish Enterprise Server v2.1 X-powered-by: Servlet/2.5 Date: Thu, 02 Jul 2009 15:21:46 GMT --uuid:b5bc5f66-e965-47b7-bca3-294123e8bf5c Content-Id: <rootpart*b5bc5f66-e965-47b7-bca3-294123e8bf5c@...> Content-Type: application/xop+xml;charset=utf-8;type="text/xml" Content-Transfer-Encoding: binary <?xml version='1.0' encoding='UTF-8'?><S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"><S:Body><S:Fault xmlns:ns4="http://www.w3.org/2003/05/soap-envelope"><faultcode>S:Client</faultcode><faultstring>Cannot find dispatch method for {urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0}AdhocQueryRequest</faultstring></S:Fault></S:Body></S:Envelope> --uuid:b5bc5f66-e965-47b7-bca3-294123e8bf5c-- -------------------- A fault occured, possibly a specified service fault. javax.xml.ws.soap.SOAPFaultException: Cannot find dispatch method for {urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0}AdhocQueryRequest at com.sun.xml.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:188) at com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:122) at com.sun.xml.ws.client.dispatch.DispatchImpl.doInvoke(DispatchImpl.java:187) at com.sun.xml.ws.client.dispatch.DispatchImpl.invoke(DispatchImpl.java:206) at com.sun.jbi.httpsoapbc.OutboundMessageProcessor.outboundCall(OutboundMessageProcessor.java:1108) at com.sun.jbi.httpsoapbc.OutboundMessageProcessor.dispatch(OutboundMessageProcessor.java:1139) at com.sun.jbi.httpsoapbc.OutboundMessageProcessor.processRequestReplyOutbound(OutboundMessageProcessor.java:667) at com.sun.jbi.httpsoapbc.OutboundMessageProcessor.processMessage(OutboundMessageProcessor.java:249) at com.sun.jbi.httpsoapbc.OutboundAction.run(OutboundAction.java:63) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) HTTPBC-E00759: An exception occured while processing a reply message. Cannot find dispatch method for {urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0}AdhocQueryRequest javax.xml.ws.soap.SOAPFaultException: Cannot find dispatch method for {urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0}AdhocQueryRequest at com.sun.xml.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:188) at com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:122) at com.sun.xml.ws.client.dispatch.DispatchImpl.doInvoke(DispatchImpl.java:187) at com.sun.xml.ws.client.dispatch.DispatchImpl.invoke(DispatchImpl.java:206) at com.sun.jbi.httpsoapbc.OutboundMessageProcessor.outboundCall(OutboundMessageProcessor.java:1108) at com.sun.jbi.httpsoapbc.OutboundMessageProcessor.dispatch(OutboundMessageProcessor.java:1139) at com.sun.jbi.httpsoapbc.OutboundMessageProcessor.processRequestReplyOutbound(OutboundMessageProcessor.java:667) at com.sun.jbi.httpsoapbc.OutboundMessageProcessor.processMessage(OutboundMessageProcessor.java:249) at com.sun.jbi.httpsoapbc.OutboundAction.run(OutboundAction.java:63) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) Processing completed for message exchange 254206211115819-38135-134658409070230256 Got a message with SOAP binding; id: 254206211115819-38135-134658409050110251 Processing started for message exchange 254206211115819-38135-134658409050110251 Response for exchange 254206211115819-38135-134658409050110251 received (2231 ms} Processing message exchange 254206211115819-38135-134658409050110251 as inbound; pattern is http://www.w3.org/2004/08/wsdl/in-out Denormalizing received msg: <?xml version="1.0" encoding="UTF-8" standalone="no"?><jbi:message xmlns:msgns="urn:ihe:iti:xds-b:2007" type="msgns:CrossGatewayQueryResponse_Message" version="1.0" xmlns:jbi="http://java.sun.com/xml/ns/jbi/wsdl-11-wrapper"><jbi:part><AdhocQueryResponse status="urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure" xmlns="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0"><ns1:RegistryErrorList xmlns:ns1="urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0"><ns1:RegistryError codeContext="RespondingGateway Orchestration Failure" location="RespondingGateway_CrossGatewayQuery operation" severity="urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error"/></ns1:RegistryErrorList></AdhocQueryResponse></jbi:part></jbi:message> Normalized message to denormalize: <?xml version="1.0" encoding="UTF-8" standalone="no"?><jbi:message xmlns:msgns="urn:ihe:iti:xds-b:2007" type="msgns:CrossGatewayQueryResponse_Message" version="1.0" xmlns:jbi="http://java.sun.com/xml/ns/jbi/wsdl-11-wrapper"><jbi:part><AdhocQueryResponse status="urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure" xmlns="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0"><ns1:RegistryErrorList xmlns:ns1="urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0"><ns1:RegistryError codeContext="RespondingGateway Orchestration Failure" location="RespondingGateway_CrossGatewayQuery operation" severity="urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error"/></ns1:RegistryErrorList></AdhocQueryResponse></jbi:part></jbi:message> JBI message namespaces: {xmlns:msgns=urn:ihe:iti:xds-b:2007 } JBI part 'body' namespaces: {} Denormalized SOAP envelope: <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Header/><SOAP-ENV:Body><AdhocQueryResponse xmlns:msgns="urn:ihe:iti:xds-b:2007" status="urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure" xmlns="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0"><ns1:RegistryErrorList xmlns:ns1="urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0"><ns1:RegistryError codeContext="RespondingGateway Orchestration Failure" location="RespondingGateway_CrossGatewayQuery operation" severity="urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error"/></ns1:RegistryErrorList></AdhocQueryResponse></SOAP-ENV:Body></SOAP-ENV:Envelope> Calling back JAX-WS asynchronously to proceed with response Processing completed for message exchange 254206211115819-38135-134658409050110251 ---[HTTP response 200]--- <?xml version='1.0' encoding='UTF-8'?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><AdhocQueryResponse xmlns:msgns="urn:ihe:iti:xds-b:2007" xmlns="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0" status="urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure"><ns1:RegistryErrorList xmlns:ns1="urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0"><ns1:RegistryError codeContext="RespondingGateway Orchestration Failure" location="RespondingGateway_CrossGatewayQuery operation" severity="urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error" /></ns1:RegistryErrorList></AdhocQueryResponse></SOAP-ENV:Body></SOAP-ENV:Envelope> -------------------- <?xml version="1.0" encoding="utf-8"?> <definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ihe="urn:ihe:iti:xds-b:2007" xmlns:query="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0" xmlns:rs="urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0" targetNamespace="urn:ihe:iti:xds-b:2007" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" name="XDS-b_DocumentRepository" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:wsaws="http://www.w3.org/2005/08/addressing"> <documentation>IHE XDS.b Document Repository</documentation> <types> <xsd:schema elementFormDefault="qualified"> <xsd:import namespace="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0" schemaLocation="query.xsd"/> <xsd:import namespace="urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0" schemaLocation="rs.xsd"/> <xsd:import namespace="urn:ihe:iti:xds-b:2007" schemaLocation="XDS.b_DocumentRepository.xsd"/> </xsd:schema> </types> <message name="RetrieveDocumentSet_Message"> <documentation>Retrieve Document Set</documentation> <part name="body" element="ihe:RetrieveDocumentSetRequest"/> </message> <message name="RetrieveDocumentSetResponse_Message"> <documentation>Retrieve Document Set Response</documentation> <part name="body" element="ihe:RetrieveDocumentSetResponse"/> </message> <message name="RegistryStoredQuery_Message"> <documentation>Registry Stored Query</documentation> <part name="body" element="query:AdhocQueryRequest"/> </message> <message name="RegistryStoredQueryResponse_Message"> <documentation>Registry Stored Query Response</documentation> <part name="body" element="query:AdhocQueryResponse"/> </message> <portType name="DocumentRepositoryRegistry_PortType"> <operation name="DocumentRepository_RetrieveDocumentSet"> <input message="ihe:RetrieveDocumentSet_Message" wsaw:Action="urn:ihe:iti:2007:RetrieveDocumentSet"/> <output message="ihe:RetrieveDocumentSetResponse_Message" wsaw:Action="urn:ihe:iti:2007:RetrieveDocumentSetResponse"/> </operation> <operation name="DocumentRegistry_RegistryStoredQuery"> <input message="ihe:RegistryStoredQuery_Message" wsaw:Action="urn:ihe:iti:2007:RegistryStoredQuery"/> <output message="ihe:RegistryStoredQueryResponse_Message" wsaw:Action="urn:ihe:iti:2007:RegistryStoredQueryResponse"/> </operation> </portType> <binding name="DocumentRepositoryRegistry_Binding_Soap11" type="ihe:DocumentRepositoryRegistry_PortType"> <wsp:PolicyReference URI="#DocumentRepositoryRegistry_Binding_Soap11Policy"/> <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/> <operation name="DocumentRepository_RetrieveDocumentSet"> <soap:operation soapAction="urn:ihe:iti:2007:RetrieveDocumentSet"/> <input> <soap:body use="literal"/> </input> <output> <soap:body use="literal"/> </output> </operation> <operation name="DocumentRegistry_RegistryStoredQuery"> <soap:operation soapAction="urn:ihe:iti:2007:RegistryStoredQuery"/> <input> <soap:body use="literal"/> </input> <output> <soap:body use="literal"/> </output> </operation> </binding> <service name="DocumentRepositoryRegistry_Service"> <port name="DocumentRepositoryRegistry_Port_Soap11" binding="ihe:DocumentRepositoryRegistry_Binding_Soap11"> <soap:address location="http:localhost:8080//servicelocation/DocumentRepository_Service"/> </port> </service> <wsp:Policy wsu:Id="DocumentRepositoryRegistry_Binding_Soap11Policy"> <wsp:ExactlyOne> <wsp:All> <wsaw:UsingAddressing/> </wsp:All> </wsp:ExactlyOne> </wsp:Policy> </definitions> SOAP envelope namespaces: {} SOAP body to normalize: <?xml version="1.0" encoding="UTF-8"?><S:Body xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"><ns2:ServiceEndpointFactoryResponse xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:ns2="http://xml.netbeans.org/schema/ServiceEndpointFactory"><ns2:EPR><ns2:EndpointReference><Address>http://localhost:5050/DocumentRepository_Service/RepositoryService</Address><ServiceName xmlns:myprefix="urn:ihe:iti:xds-b:2007" PortName="DocumentRepositoryRegistry_Port_Soap11">myprefix:DocumentRepositoryRegistry_Service</ServiceName></ns2:EndpointReference></ns2:EPR></ns2:ServiceEndpointFactoryResponse></S:Body> SOAP body namespaces: {} TYPE_DOC: false TYPE_RPC: false ELEM_DOC: true ELEM_RPC: false Style is Document, part retrieveEndpointOutput is Element, QName {http://xml.netbeans.org/schema/ServiceEndpointFactory}ServiceEndpointFactoryResponse SOAP header to normalize: <?xml version="1.0" encoding="UTF-8"?><S:Header xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"/> Normalized message: <?xml version="1.0" encoding="UTF-8"?><jbi:message xmlns:msgns="http://j2ee.netbeans.org/wsdl/ServiceEndpointFactory" name="output1" type="msgns:retrieveEndpointResponse" version="1.0" xmlns:jbi="http://java.sun.com/xml/ns/jbi/wsdl-11-wrapper"><jbi:part><ns2:ServiceEndpointFactoryResponse xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:ns2="http://xml.netbeans.org/schema/ServiceEndpointFactory"><ns2:EPR><ns2:EndpointReference><Address>http://localhost:5050/DocumentRepository_Service/RepositoryService</Address><ServiceName xmlns:myprefix="urn:ihe:iti:xds-b:2007" PortName="DocumentRepositoryRegistry_Port_Soap11">myprefix:DocumentRepositoryRegistry_Service</ServiceName></ns2:EndpointReference></ns2:EPR></ns2:ServiceEndpointFactoryResponse></jbi:part></jbi:message> Processing completed for message exchange 120269713438946-34880-134658445069710139 Got a message with SOAP binding; id: 120269713438946-34880-134658445069710139 Processing started for message exchange 120269713438946-34880-134658445069710139 Processing message exchange 120269713438946-34880-134658445069710139 as outbound; pattern is http://www.w3.org/2004/08/wsdl/in-out Processing completed for message exchange 120269713438946-34880-134658445069710139 Got a message with SOAP binding; id: 120269713438946-34880-134658445070340140 Processing started for message exchange 120269713438946-34880-134658445070340140 Processing message exchange 120269713438946-34880-134658445070340140 as outbound; pattern is http://www.w3.org/2004/08/wsdl/in-out Normalized message content: <?xml version="1.0" encoding="UTF-8" standalone="no"?><jbi:message xmlns:msgns="urn:ihe:iti:xds-b:2007" type="msgns:RegistryStoredQuery_Message" version="1.0" xmlns:jbi="http://java.sun.com/xml/ns/jbi/wsdl-11-wrapper"><jbi:part><AdhocQueryRequest xmlns:urn="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0" xmlns:urn1="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0" xmlns="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0"> <urn:ResponseOption returnComposedObjects="true" returnType="LeafClass"/> <urn1:AdhocQuery id="urn:uuid:14d4debf-8f97-4251-9a74-a90016b0af0d"> <urn1:Slot name="$XDSDocumentEntryPatientId"> <urn1:ValueList> <urn1:Value>'localtest1^^^&2.16.840.1.113883.3.166.4.25&ISO'</urn1:Value> </urn1:ValueList> </urn1:Slot> <urn1:Slot name="$XDSDocumentEntryStatus"> <urn1:ValueList> <urn1:Value>('urn:oasis:names:tc:ebxml-regrep:StatusType:Approved')</urn1:Value> </urn1:ValueList> </urn1:Slot> </urn1:AdhocQuery> </AdhocQueryRequest></jbi:part></jbi:message> Normalized message to denormalize: <?xml version="1.0" encoding="UTF-8" standalone="no"?><jbi:message xmlns:msgns="urn:ihe:iti:xds-b:2007" type="msgns:RegistryStoredQuery_Message" version="1.0" xmlns:jbi="http://java.sun.com/xml/ns/jbi/wsdl-11-wrapper"><jbi:part><AdhocQueryRequest xmlns:urn="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0" xmlns:urn1="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0" xmlns="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0"> <urn:ResponseOption returnComposedObjects="true" returnType="LeafClass"/> <urn1:AdhocQuery id="urn:uuid:14d4debf-8f97-4251-9a74-a90016b0af0d"> <urn1:Slot name="$XDSDocumentEntryPatientId"> <urn1:ValueList> <urn1:Value>'localtest1^^^&2.16.840.1.113883.3.166.4.25&ISO'</urn1:Value> </urn1:ValueList> </urn1:Slot> <urn1:Slot name="$XDSDocumentEntryStatus"> <urn1:ValueList> <urn1:Value>('urn:oasis:names:tc:ebxml-regrep:StatusType:Approved')</urn1:Value> </urn1:ValueList> </urn1:Slot> </urn1:AdhocQuery> </AdhocQueryRequest></jbi:part></jbi:message> JBI message namespaces: {xmlns:msgns=urn:ihe:iti:xds-b:2007 } JBI part 'body' namespaces: {} Denormalized SOAP envelope: <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Header/><SOAP-ENV:Body><AdhocQueryRequest xmlns:msgns="urn:ihe:iti:xds-b:2007" xmlns:urn="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0" xmlns:urn1="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0" xmlns="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0"> <urn:ResponseOption returnComposedObjects="true" returnType="LeafClass"/> <urn1:AdhocQuery id="urn:uuid:14d4debf-8f97-4251-9a74-a90016b0af0d"> <urn1:Slot name="$XDSDocumentEntryPatientId"> <urn1:ValueList> <urn1:Value>'localtest1^^^&2.16.840.1.113883.3.166.4.25&ISO'</urn1:Value> </urn1:ValueList> </urn1:Slot> <urn1:Slot name="$XDSDocumentEntryStatus"> <urn1:ValueList> <urn1:Value>('urn:oasis:names:tc:ebxml-regrep:StatusType:Approved')</urn1:Value> </urn1:ValueList> </urn1:Slot> </urn1:AdhocQuery> </AdhocQueryRequest></SOAP-ENV:Body></SOAP-ENV:Envelope> Sending SOAP envelope: <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Header/><SOAP-ENV:Body><AdhocQueryRequest xmlns:msgns="urn:ihe:iti:xds-b:2007" xmlns:urn="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0" xmlns:urn1="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0" xmlns="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0"> <urn:ResponseOption returnComposedObjects="true" returnType="LeafClass"/> <urn1:AdhocQuery id="urn:uuid:14d4debf-8f97-4251-9a74-a90016b0af0d"> <urn1:Slot name="$XDSDocumentEntryPatientId"> <urn1:ValueList> <urn1:Value>'localtest1^^^&2.16.840.1.113883.3.166.4.25&ISO'</urn1:Value> </urn1:ValueList> </urn1:Slot> <urn1:Slot name="$XDSDocumentEntryStatus"> <urn1:ValueList> <urn1:Value>('urn:oasis:names:tc:ebxml-regrep:StatusType:Approved')</urn1:Value> </urn1:ValueList> </urn1:Slot> </urn1:AdhocQuery> </AdhocQueryRequest></SOAP-ENV:Body></SOAP-ENV:Envelope> getSPI called with spiType = com.sun.xml.ws.assembler.ClientPipelineHook Service provider type: class com.sun.xml.ws.assembler.ClientPipelineHook not supported by HTTP BC Invoking an external web service using URL: http://localhost:5050/DocumentRepository_Service/RepositoryService ---[HTTP request]--- SOAPAction: "urn:ihe:iti:2007:RegistryStoredQuery" Accept: text/xml, multipart/related, text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 Content-Type: text/xml;charset="utf-8" <?xml version="1.0" ?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Header><To xmlns="http://www.w3.org/2005/08/addressing">http://localhost:5050/DocumentRepository_Service/RepositoryService</To><Action xmlns="http://www.w3.org/2005/08/addressing">urn:ihe:iti:2007:RegistryStoredQuery</Action><ReplyTo xmlns="http://www.w3.org/2005/08/addressing"> <Address>http://www.w3.org/2005/08/addressing/anonymous</Address> </ReplyTo><MessageID xmlns="http://www.w3.org/2005/08/addressing">uuid:5b27e0b3-ca34-4efd-bbc4-caf1d22962bd</MessageID></SOAP-ENV:Header><SOAP-ENV:Body><AdhocQueryRequest xmlns:msgns="urn:ihe:iti:xds-b:2007" xmlns:urn="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0" xmlns:urn1="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0" xmlns="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0"> <urn:ResponseOption returnComposedObjects="true" returnType="LeafClass"></urn:ResponseOption> <urn1:AdhocQuery id="urn:uuid:14d4debf-8f97-4251-9a74-a90016b0af0d"> <urn1:Slot name="$XDSDocumentEntryPatientId"> <urn1:ValueList> <urn1:Value>'localtest1^^^&2.16.840.1.113883.3.166.4.25&ISO'</urn1:Value> </urn1:ValueList> </urn1:Slot> <urn1:Slot name="$XDSDocumentEntryStatus"> <urn1:ValueList> <urn1:Value>('urn:oasis:names:tc:ebxml-regrep:StatusType:Approved')</urn1:Value> </urn1:ValueList> </urn1:Slot> </urn1:AdhocQuery> </AdhocQueryRequest></SOAP-ENV:Body></SOAP-ENV:Envelope> -------------------- ---[HTTP request]--- Host: localhost:5050 Content-type: text/xml;charset="utf-8" Content-length: 1601 Connection: keep-alive User-agent: JAX-WS RI 2.1.3.1-hudson-749-SNAPSHOT Accept: text/xml, multipart/related, text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 Soapaction: "urn:ihe:iti:2007:RegistryStoredQuery" <?xml version="1.0" ?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Header><To xmlns="http://www.w3.org/2005/08/addressing">http://localhost:5050/DocumentRepository_Service/RepositoryService</To><Action xmlns="http://www.w3.org/2005/08/addressing">urn:ihe:iti:2007:RegistryStoredQuery</Action><ReplyTo xmlns="http://www.w3.org/2005/08/addressing"> <Address>http://www.w3.org/2005/08/addressing/anonymous</Address> </ReplyTo><MessageID xmlns="http://www.w3.org/2005/08/addressing">uuid:5b27e0b3-ca34-4efd-bbc4-caf1d22962bd</MessageID></SOAP-ENV:Header><SOAP-ENV:Body><AdhocQueryRequest xmlns:msgns="urn:ihe:iti:xds-b:2007" xmlns:urn="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0" xmlns:urn1="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0" xmlns="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0"> <urn:ResponseOption returnComposedObjects="true" returnType="LeafClass"></urn:ResponseOption> <urn1:AdhocQuery id="urn:uuid:14d4debf-8f97-4251-9a74-a90016b0af0d"> <urn1:Slot name="$XDSDocumentEntryPatientId"> <urn1:ValueList> <urn1:Value>'localtest1^^^&2.16.840.1.113883.3.166.4.25&ISO'</urn1:Value> </urn1:ValueList> </urn1:Slot> <urn1:Slot name="$XDSDocumentEntryStatus"> <urn1:ValueList> <urn1:Value>('urn:oasis:names:tc:ebxml-regrep:StatusType:Approved')</urn1:Value> </urn1:ValueList> </urn1:Slot> </urn1:AdhocQuery> </AdhocQueryRequest></SOAP-ENV:Body></SOAP-ENV:Envelope> -------------------- ---[HTTP response 500]--- --uuid:a4dd6df0-57ef-439b-8e5e-7652d677edc7 Content-Id: <rootpart*a4dd6df0-57ef-439b-8e5e-7652d677edc7@...> Content-Type: application/xop+xml;charset=utf-8;type="text/xml" Content-Transfer-Encoding: binary <?xml version="1.0" ?><S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"><S:Header><ProblemAction xmlns="http://www.w3.org/2005/08/addressing"><Action>urn:ihe:iti:2007:RegistryStoredQuery</Action></ProblemAction><To xmlns="http://www.w3.org/2005/08/addressing">http://www.w3.org/2005/08/addressing/anonymous</To><Action xmlns="http://www.w3.org/2005/08/addressing">http://www.w3.org/2005/08/addressing/fault</Action><MessageID xmlns="http://www.w3.org/2005/08/addressing">uuid:e9844fce-2bbe-4c84-b254-cad28322be04</MessageID><RelatesTo xmlns="http://www.w3.org/2005/08/addressing">uuid:5b27e0b3-ca34-4efd-bbc4-caf1d22962bd</RelatesTo></S:Header><S:Body><S:Fault xmlns:ns4="http://www.w3.org/2003/05/soap-envelope" xmlns=""><faultcode xmlns:ns0="http://www.w3.org/2005/08/addressing">ns0:ActionNotSupported</faultcode><faultstring>The "urn:ihe:iti:2007:RegistryStoredQuery" cannot be processed at the receiver</faultstring></S:Fault></S:Body></S:Envelope> --uuid:a4dd6df0-57ef-439b-8e5e-7652d677edc7-- -------------------- ---[HTTP response 500]--- null: HTTP/1.1 500 Internal Server Error Content-type: multipart/related;start="<rootpart*a4dd6df0-57ef-439b-8e5e-7652d677edc7@...>";type="application/xop+xml";boundary="uuid:a4dd6df0-57ef-439b-8e5e-7652d677edc7";start-info="text/xml" Content-length: 1244 Connection: close Server: Sun GlassFish Enterprise Server v2.1 X-powered-by: Servlet/2.5 Date: Thu, 02 Jul 2009 16:21:46 GMT --uuid:a4dd6df0-57ef-439b-8e5e-7652d677edc7 Content-Id: <rootpart*a4dd6df0-57ef-439b-8e5e-7652d677edc7@...> Content-Type: application/xop+xml;charset=utf-8;type="text/xml" Content-Transfer-Encoding: binary <?xml version="1.0" ?><S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"><S:Header><ProblemAction xmlns="http://www.w3.org/2005/08/addressing"><Action>urn:ihe:iti:2007:RegistryStoredQuery</Action></ProblemAction><To xmlns="http://www.w3.org/2005/08/addressing">http://www.w3.org/2005/08/addressing/anonymous</To><Action xmlns="http://www.w3.org/2005/08/addressing">http://www.w3.org/2005/08/addressing/fault</Action><MessageID xmlns="http://www.w3.org/2005/08/addressing">uuid:e9844fce-2bbe-4c84-b254-cad28322be04</MessageID><RelatesTo xmlns="http://www.w3.org/2005/08/addressing">uuid:5b27e0b3-ca34-4efd-bbc4-caf1d22962bd</RelatesTo></S:Header><S:Body><S:Fault xmlns:ns4="http://www.w3.org/2003/05/soap-envelope" xmlns=""><faultcode xmlns:ns0="http://www.w3.org/2005/08/addressing">ns0:ActionNotSupported</faultcode><faultstring>The "urn:ihe:iti:2007:RegistryStoredQuery" cannot be processed at the receiver</faultstring></S:Fault></S:Body></S:Envelope> --uuid:a4dd6df0-57ef-439b-8e5e-7652d677edc7-- -------------------- Unknown WS-Addressing header A fault occured, possibly a specified service fault. javax.xml.ws.soap.SOAPFaultException: The "urn:ihe:iti:2007:RegistryStoredQuery" cannot be processed at the receiver at com.sun.xml.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:188) at com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:108) at com.sun.xml.ws.client.dispatch.DispatchImpl.doInvoke(DispatchImpl.java:187) at com.sun.xml.ws.client.dispatch.DispatchImpl.invoke(DispatchImpl.java:206) at com.sun.jbi.httpsoapbc.OutboundMessageProcessor.outboundCall(OutboundMessageProcessor.java:1108) at com.sun.jbi.httpsoapbc.OutboundMessageProcessor.dispatch(OutboundMessageProcessor.java:1139) at com.sun.jbi.httpsoapbc.OutboundMessageProcessor.processRequestReplyOutbound(OutboundMessageProcessor.java:667) at com.sun.jbi.httpsoapbc.OutboundMessageProcessor.processMessage(OutboundMessageProcessor.java:249) at com.sun.jbi.httpsoapbc.OutboundAction.run(OutboundAction.java:63) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) HTTPBC-E00759: An exception occured while processing a reply message. The "urn:ihe:iti:2007:RegistryStoredQuery" cannot be processed at the receiver javax.xml.ws.soap.SOAPFaultException: The "urn:ihe:iti:2007:RegistryStoredQuery" cannot be processed at the receiver at com.sun.xml.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:188) at com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:108) at com.sun.xml.ws.client.dispatch.DispatchImpl.doInvoke(DispatchImpl.java:187) at com.sun.xml.ws.client.dispatch.DispatchImpl.invoke(DispatchImpl.java:206) at com.sun.jbi.httpsoapbc.OutboundMessageProcessor.outboundCall(OutboundMessageProcessor.java:1108) at com.sun.jbi.httpsoapbc.OutboundMessageProcessor.dispatch(OutboundMessageProcessor.java:1139) at com.sun.jbi.httpsoapbc.OutboundMessageProcessor.processRequestReplyOutbound(OutboundMessageProcessor.java:667) at com.sun.jbi.httpsoapbc.OutboundMessageProcessor.processMessage(OutboundMessageProcessor.java:249) at com.sun.jbi.httpsoapbc.OutboundAction.run(OutboundAction.java:63) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) Processing completed for message exchange 120269713438946-34880-134658445070340140 Got a message with SOAP binding; id: 120269713438946-34880-134658444948410135 Processing started for message exchange 120269713438946-34880-134658444948410135 Response for exchange 120269713438946-34880-134658444948410135 received (12193 ms} Processing message exchange 120269713438946-34880-134658444948410135 as inbound; pattern is http://www.w3.org/2004/08/wsdl/in-out Denormalizing received msg: <?xml version="1.0" encoding="UTF-8" standalone="no"?><jbi:message xmlns:msgns="urn:ihe:iti:xds-b:2007" type="msgns:CrossGatewayQueryResponse_Message" version="1.0" xmlns:jbi="http://java.sun.com/xml/ns/jbi/wsdl-11-wrapper"><jbi:part><AdhocQueryResponse status="urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure" xmlns="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0"><ns1:RegistryErrorList xmlns:ns1="urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0"><ns1:RegistryError codeContext="RespondingGateway Orchestration Failure" location="RespondingGateway_CrossGatewayQuery operation" severity="urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error"/></ns1:RegistryErrorList></AdhocQueryResponse></jbi:part></jbi:message> Normalized message to denormalize: <?xml version="1.0" encoding="UTF-8" standalone="no"?><jbi:message xmlns:msgns="urn:ihe:iti:xds-b:2007" type="msgns:CrossGatewayQueryResponse_Message" version="1.0" xmlns:jbi="http://java.sun.com/xml/ns/jbi/wsdl-11-wrapper"><jbi:part><AdhocQueryResponse status="urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure" xmlns="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0"><ns1:RegistryErrorList xmlns:ns1="urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0"><ns1:RegistryError codeContext="RespondingGateway Orchestration Failure" location="RespondingGateway_CrossGatewayQuery operation" severity="urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error"/></ns1:RegistryErrorList></AdhocQueryResponse></jbi:part></jbi:message> JBI message namespaces: {xmlns:msgns=urn:ihe:iti:xds-b:2007 } JBI part 'body' namespaces: {} Denormalized SOAP envelope: <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Header/><SOAP-ENV:Body><AdhocQueryResponse xmlns:msgns="urn:ihe:iti:xds-b:2007" status="urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure" xmlns="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0"><ns1:RegistryErrorList xmlns:ns1="urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0"><ns1:RegistryError codeContext="RespondingGateway Orchestration Failure" location="RespondingGateway_CrossGatewayQuery operation" severity="urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error"/></ns1:RegistryErrorList></AdhocQueryResponse></SOAP-ENV:Body></SOAP-ENV:Envelope> Calling back JAX-WS asynchronously to proceed with response Processing completed for message exchange 120269713438946-34880-134658444948410135 ---[HTTP response 200]--- <?xml version="1.0" ?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Header><To xmlns="http://www.w3.org/2005/08/addressing">http://www.w3.org/2005/08/addressing/anonymous</To><Action xmlns="http://www.w3.org/2005/08/addressing">urn:ihe:iti:2007:CrossGatewayQueryResponse</Action><MessageID xmlns="http://www.w3.org/2005/08/addressing">uuid:a35cf2ae-3502-4dba-845e-1b51ba194cc6</MessageID><RelatesTo xmlns="http://www.w3.org/2005/08/addressing">uuid:b8db711a-65f2-41f5-ab17-2741b326867d</RelatesTo></SOAP-ENV:Header><SOAP-ENV:Body><AdhocQueryResponse xmlns:msgns="urn:ihe:iti:xds-b:2007" xmlns="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0" status="urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure"><ns1:RegistryErrorList xmlns:ns1="urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0"><ns1:RegistryError codeContext="RespondingGateway Orchestration Failure" location="RespondingGateway_CrossGatewayQuery operation" severity="urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error"></ns1:RegistryError></ns1:RegistryErrorList></AdhocQueryResponse></SOAP-ENV:Body></SOAP-ENV:Envelope> -------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: Upgrading to GF v2.1 - Problem with WS-AddressingI will look in to the issue and reply shortly.
thanks, Rama Pulavarthi Sourabh Pawar wrote: > Hello Metro and GlassfishESB folks, > > We have a NHIN gateway implementation from last year that we developed > using an older OpenESB and Metro build. We are in the process of > testing the feasibility of upgrading the base software to the latest > Glassfish ESB v2.1. We are trying to deploy one application (and its > dependencies) onto a fresh Glassfish ESB v2.1 installation and are > getting errors with respect to WS-Addressing. This test does not > involve security at the message level, or transport level. > > Here is the error we get (attached log-with-policy.txt) - > > Unknown WS-Addressing header > A fault occured, possibly a specified service fault. > javax.xml.ws.soap.SOAPFaultException: The > "urn:ihe:iti:2007:RegistryStoredQuery" cannot be processed at the receiver > at > com.sun.xml.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:188) > at > com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:108) > at > com.sun.xml.ws.client.dispatch.DispatchImpl.doInvoke(DispatchImpl.java:187) > at > com.sun.xml.ws.client.dispatch.DispatchImpl.invoke(DispatchImpl.java:206) > at > com.sun.jbi.httpsoapbc.OutboundMessageProcessor.outboundCall(OutboundMessageProcessor.java:1108) > at > com.sun.jbi.httpsoapbc.OutboundMessageProcessor.dispatch(OutboundMessageProcessor.java:1139) > at > com.sun.jbi.httpsoapbc.OutboundMessageProcessor.processRequestReplyOutbound(OutboundMessageProcessor.java:667) > at > com.sun.jbi.httpsoapbc.OutboundMessageProcessor.processMessage(OutboundMessageProcessor.java:249) > at > com.sun.jbi.httpsoapbc.OutboundAction.run(OutboundAction.java:63) > at > java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) > at java.lang.Thread.run(Thread.java:619) > > > To remove addressing from the picture and check if we could circumvent > the problem, I also tried commenting out the "wsaw:UsingAddressing" > from the policy in the WSDL. We got another eror as follows (attached > log-no-policy.txt) - > > A fault occured, possibly a specified service fault. > javax.xml.ws.soap.SOAPFaultException: Cannot find dispatch method for > {urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0}AdhocQueryRequest > at > com.sun.xml.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:188) > at > com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:122) > at > com.sun.xml.ws.client.dispatch.DispatchImpl.doInvoke(DispatchImpl.java:187) > at > com.sun.xml.ws.client.dispatch.DispatchImpl.invoke(DispatchImpl.java:206) > at > com.sun.jbi.httpsoapbc.OutboundMessageProcessor.outboundCall(OutboundMessageProcessor.java:1108) > at > com.sun.jbi.httpsoapbc.OutboundMessageProcessor.dispatch(OutboundMessageProcessor.java:1139) > at > com.sun.jbi.httpsoapbc.OutboundMessageProcessor.processRequestReplyOutbound(OutboundMessageProcessor.java:667) > at > com.sun.jbi.httpsoapbc.OutboundMessageProcessor.processMessage(OutboundMessageProcessor.java:249) > at > com.sun.jbi.httpsoapbc.OutboundAction.run(OutboundAction.java:63) > at > java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) > at java.lang.Thread.run(Thread.java:619) > > Here is what our old environment was (everything works fine) - > > OpenESB nightly as of 06/16/2008 - Updated HTTPBC to support 2-way SSL > Metro 1.4 nightly as of 08/14/2008 (with several updates provided by > the metro team to support our security and other requirements) > > Here is what we are trying to upgrade to - > > Glassfish ESB v2.1 > Packaged Metro 1.5 > > I am also attaching the WSDL that we are using to publish the service > (the policy in here was commented out for the no-policy test). > > Can someone please throw some light on what the potential problems > could be? > > Thanks in advance, > Sourabh Pawar > > ------------------------------------------------------------------------ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@... > For additional commands, e-mail: users-help@... --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: Upgrading to GF v2.1 - Problem with WS-AddressingHello folks,
We have resolved this issue. It was an internal configuration error, which caused the message to get routed to an incorrect internal service. Thanks for offering help. Best, Sourabh Pawar [Message sent by forum member 'sourabhpawar' (sourabhpawar)] http://forums.java.net/jive/thread.jspa?messageID=354541 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
| Free embeddable forum powered by Nabble | Forum Help |