[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.technology.ohf] Re: Error testing SubmitTest

Hi Roberthua,

The reason for this error is that the Bridge is a client side enabling technology, not an XDS Registry or Repository. The running the bridge to submit a document is essentially the same thing as running this junit test.

Hope this clarifies,
- Sarah



Roberthua wrote:
when Testing org.eclipse.ohf.ihe.xds.source ->org.eclipse.ohf.ihe.xds.source->SubmitTest->test1Submission ,using the http://hcxw2k1.nist.gov:8080/xdsServices2/registry/soap/portals/yr3a/repository can test successful.
But change URl to http://localhost:8080/bridge/services/OHF-Bridge,not success.


Part of the error:
[DEBUG][Wire.java:69] << "Connection: close[\r][\n]"
[DEBUG][TransportUtils.java:430] Did not find RequestResponseTransport cannot set response written
[DEBUG][Phase.java:315] [MessageContext: logID=urn:uuid:75B5B7AC92AA50C7E61215420643115] Invoking flowComplete() in Phase "Security"
[DEBUG][Phase.java:315] [MessageContext: logID=urn:uuid:75B5B7AC92AA50C7E61215420643115] Invoking flowComplete() in Phase "MessageOut"
[DEBUG][Phase.java:315] [MessageContext: logID=urn:uuid:75B5B7AC92AA50C7E61215420643115] Invoking flowComplete() in Phase "PolicyDetermination"
[DEBUG][Phase.java:315] [MessageContext: logID=urn:uuid:75B5B7AC92AA50C7E61215420643115] Invoking flowComplete() in Phase "RMPhase"
[DEBUG][Phase.java:315] [MessageContext: logID=urn:uuid:75B5B7AC92AA50C7E61215420643115] Invoking flowComplete() in Phase "OperationOutPhase"
[ERROR][Source.java:196] Error sending SOAP message to the repository. Error was Error Sending SOAP Message.
org.eclipse.ohf.ihe.common.ws.OHFSOAPException: Error Sending SOAP Message. [Caused by org.apache.axis2.AxisFault]
at org.eclipse.ohf.ihe.common.ws.AbstractOHFSOAPSender.executeSend(AbstractOHFSOAPSender.java:251)


at org.eclipse.ohf.ihe.common.ws.AbstractOHFSOAPSender.send(AbstractOHFSOAPSender.java:363)

at org.eclipse.ohf.ihe.common.ws.AbstractOHFSOAPSender.send(AbstractOHFSOAPSender.java:384)

at org.eclipse.ohf.ihe.xds.soap.AbstractXDSSoapClient.send(AbstractXDSSoapClient.java:148)

at org.eclipse.ohf.ihe.xds.soap.AbstractXDSSoapClient.send(AbstractXDSSoapClient.java:104)

at org.eclipse.ohf.ihe.xds.source.Source.submit(Source.java:193)
at org.eclipse.ohf.ihe.xds.source.test.SubmitTest.test1Submission(SubmitTest.java:141)


at org.eclipse.ohf.ihe.xds.source.test.SubmitTest.main(SubmitTest.java:448)
Caused by: org.apache.axis2.AxisFault
at org.apache.axis2.AxisFault.makeFault(AxisFault.java:417)
at org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:89)


at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:326)

at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:389)

at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:211)

at org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)
at org.eclipse.ohf.ihe.common.ws.AbstractOHFSOAPSender.executeSend(AbstractOHFSOAPSender.java:244)


... 7 more
Caused by: java.lang.NullPointerException
at org.apache.axis2.transport.TransportUtils.createDocumentElement(TransportUtils.java:156)


at org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:111)

at org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:87)

... 12 more
org.eclipse.ohf.ihe.common.ws.OHFSOAPException: Error Sending SOAP Message. [Caused by org.apache.axis2.AxisFault]
at org.eclipse.ohf.ihe.common.ws.AbstractOHFSOAPSender.executeSend(AbstractOHFSOAPSender.java:251)


at org.eclipse.ohf.ihe.common.ws.AbstractOHFSOAPSender.send(AbstractOHFSOAPSender.java:363)

at org.eclipse.ohf.ihe.common.ws.AbstractOHFSOAPSender.send(AbstractOHFSOAPSender.java:384)

at org.eclipse.ohf.ihe.xds.soap.AbstractXDSSoapClient.send(AbstractXDSSoapClient.java:148)

at org.eclipse.ohf.ihe.xds.soap.AbstractXDSSoapClient.send(AbstractXDSSoapClient.java:104)

at org.eclipse.ohf.ihe.xds.source.Source.submit(Source.java:193)
at org.eclipse.ohf.ihe.xds.source.test.SubmitTest.test1Submission(SubmitTest.java:141)


at org.eclipse.ohf.ihe.xds.source.test.SubmitTest.main(SubmitTest.java:448)
Caused by: org.apache.axis2.AxisFault
at org.apache.axis2.AxisFault.makeFault(AxisFault.java:417)
at org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:89)


at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:326)

at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:389)

at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:211)

at org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)
at org.eclipse.ohf.ihe.common.ws.AbstractOHFSOAPSender.executeSend(AbstractOHFSOAPSender.java:244)


... 7 more
Caused by: java.lang.NullPointerException
at org.apache.axis2.transport.TransportUtils.createDocumentElement(TransportUtils.java:156)


at org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:111)

at org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:87)

    ... 12 more

Someone can help me? Thanks!!