Error testing SubmitTest [message #43485] |
Mon, 07 July 2008 05:50  |
Eclipse User |
|
|
|
Originally posted by: 322zx.163.com
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/port als/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.executeS end(AbstractOHFSOAPSender.java:251)
at
org.eclipse.ohf.ihe.common.ws.AbstractOHFSOAPSender.send(Abs tractOHFSOAPSender.java:363)
at
org.eclipse.ohf.ihe.common.ws.AbstractOHFSOAPSender.send(Abs tractOHFSOAPSender.java:384)
at
org.eclipse.ohf.ihe.xds.soap.AbstractXDSSoapClient.send(Abst ractXDSSoapClient.java:148)
at
org.eclipse.ohf.ihe.xds.soap.AbstractXDSSoapClient.send(Abst ractXDSSoapClient.java:104)
at org.eclipse.ohf.ihe.xds.source.Source.submit(Source.java:193 )
at
org.eclipse.ohf.ihe.xds.source.test.SubmitTest.test1Submissi on(SubmitTest.java:141)
at
org.eclipse.ohf.ihe.xds.source.test.SubmitTest.main(SubmitTe st.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.handle Response(OutInAxisOperation.java:326)
at
org.apache.axis2.description.OutInAxisOperationClient.send(O utInAxisOperation.java:389)
at
org.apache.axis2.description.OutInAxisOperationClient.execut eImpl(OutInAxisOperation.java:211)
at
org.apache.axis2.client.OperationClient.execute(OperationCli ent.java:163)
at
org.eclipse.ohf.ihe.common.ws.AbstractOHFSOAPSender.executeS end(AbstractOHFSOAPSender.java:244)
... 7 more
Caused by: java.lang.NullPointerException
at
org.apache.axis2.transport.TransportUtils.createDocumentElem ent(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.executeS end(AbstractOHFSOAPSender.java:251)
at
org.eclipse.ohf.ihe.common.ws.AbstractOHFSOAPSender.send(Abs tractOHFSOAPSender.java:363)
at
org.eclipse.ohf.ihe.common.ws.AbstractOHFSOAPSender.send(Abs tractOHFSOAPSender.java:384)
at
org.eclipse.ohf.ihe.xds.soap.AbstractXDSSoapClient.send(Abst ractXDSSoapClient.java:148)
at
org.eclipse.ohf.ihe.xds.soap.AbstractXDSSoapClient.send(Abst ractXDSSoapClient.java:104)
at org.eclipse.ohf.ihe.xds.source.Source.submit(Source.java:193 )
at
org.eclipse.ohf.ihe.xds.source.test.SubmitTest.test1Submissi on(SubmitTest.java:141)
at
org.eclipse.ohf.ihe.xds.source.test.SubmitTest.main(SubmitTe st.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.handle Response(OutInAxisOperation.java:326)
at
org.apache.axis2.description.OutInAxisOperationClient.send(O utInAxisOperation.java:389)
at
org.apache.axis2.description.OutInAxisOperationClient.execut eImpl(OutInAxisOperation.java:211)
at
org.apache.axis2.client.OperationClient.execute(OperationCli ent.java:163)
at
org.eclipse.ohf.ihe.common.ws.AbstractOHFSOAPSender.executeS end(AbstractOHFSOAPSender.java:244)
... 7 more
Caused by: java.lang.NullPointerException
at
org.apache.axis2.transport.TransportUtils.createDocumentElem ent(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!!
|
|
|
Re: Error testing SubmitTest [message #43612 is a reply to message #43485] |
Tue, 08 July 2008 17:13  |
Eclipse User |
|
|
|
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/port als/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.executeS end(AbstractOHFSOAPSender.java:251)
>
> at
> org.eclipse.ohf.ihe.common.ws.AbstractOHFSOAPSender.send(Abs tractOHFSOAPSender.java:363)
>
> at
> org.eclipse.ohf.ihe.common.ws.AbstractOHFSOAPSender.send(Abs tractOHFSOAPSender.java:384)
>
> at
> org.eclipse.ohf.ihe.xds.soap.AbstractXDSSoapClient.send(Abst ractXDSSoapClient.java:148)
>
> at
> org.eclipse.ohf.ihe.xds.soap.AbstractXDSSoapClient.send(Abst ractXDSSoapClient.java:104)
>
> at org.eclipse.ohf.ihe.xds.source.Source.submit(Source.java:193 )
> at
> org.eclipse.ohf.ihe.xds.source.test.SubmitTest.test1Submissi on(SubmitTest.java:141)
>
> at
> org.eclipse.ohf.ihe.xds.source.test.SubmitTest.main(SubmitTe st.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.handle Response(OutInAxisOperation.java:326)
>
> at
> org.apache.axis2.description.OutInAxisOperationClient.send(O utInAxisOperation.java:389)
>
> at
> org.apache.axis2.description.OutInAxisOperationClient.execut eImpl(OutInAxisOperation.java:211)
>
> at
> org.apache.axis2.client.OperationClient.execute(OperationCli ent.java:163)
> at
> org.eclipse.ohf.ihe.common.ws.AbstractOHFSOAPSender.executeS end(AbstractOHFSOAPSender.java:244)
>
> ... 7 more
> Caused by: java.lang.NullPointerException
> at
> org.apache.axis2.transport.TransportUtils.createDocumentElem ent(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.executeS end(AbstractOHFSOAPSender.java:251)
>
> at
> org.eclipse.ohf.ihe.common.ws.AbstractOHFSOAPSender.send(Abs tractOHFSOAPSender.java:363)
>
> at
> org.eclipse.ohf.ihe.common.ws.AbstractOHFSOAPSender.send(Abs tractOHFSOAPSender.java:384)
>
> at
> org.eclipse.ohf.ihe.xds.soap.AbstractXDSSoapClient.send(Abst ractXDSSoapClient.java:148)
>
> at
> org.eclipse.ohf.ihe.xds.soap.AbstractXDSSoapClient.send(Abst ractXDSSoapClient.java:104)
>
> at org.eclipse.ohf.ihe.xds.source.Source.submit(Source.java:193 )
> at
> org.eclipse.ohf.ihe.xds.source.test.SubmitTest.test1Submissi on(SubmitTest.java:141)
>
> at
> org.eclipse.ohf.ihe.xds.source.test.SubmitTest.main(SubmitTe st.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.handle Response(OutInAxisOperation.java:326)
>
> at
> org.apache.axis2.description.OutInAxisOperationClient.send(O utInAxisOperation.java:389)
>
> at
> org.apache.axis2.description.OutInAxisOperationClient.execut eImpl(OutInAxisOperation.java:211)
>
> at
> org.apache.axis2.client.OperationClient.execute(OperationCli ent.java:163)
> at
> org.eclipse.ohf.ihe.common.ws.AbstractOHFSOAPSender.executeS end(AbstractOHFSOAPSender.java:244)
>
> ... 7 more
> Caused by: java.lang.NullPointerException
> at
> org.apache.axis2.transport.TransportUtils.createDocumentElem ent(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!!
>
|
|
|
Re: Error testing SubmitTest [message #585809 is a reply to message #43485] |
Tue, 08 July 2008 17:13  |
Eclipse User |
|
|
|
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/port als/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.executeS end(AbstractOHFSOAPSender.java:251)
>
> at
> org.eclipse.ohf.ihe.common.ws.AbstractOHFSOAPSender.send(Abs tractOHFSOAPSender.java:363)
>
> at
> org.eclipse.ohf.ihe.common.ws.AbstractOHFSOAPSender.send(Abs tractOHFSOAPSender.java:384)
>
> at
> org.eclipse.ohf.ihe.xds.soap.AbstractXDSSoapClient.send(Abst ractXDSSoapClient.java:148)
>
> at
> org.eclipse.ohf.ihe.xds.soap.AbstractXDSSoapClient.send(Abst ractXDSSoapClient.java:104)
>
> at org.eclipse.ohf.ihe.xds.source.Source.submit(Source.java:193 )
> at
> org.eclipse.ohf.ihe.xds.source.test.SubmitTest.test1Submissi on(SubmitTest.java:141)
>
> at
> org.eclipse.ohf.ihe.xds.source.test.SubmitTest.main(SubmitTe st.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.handle Response(OutInAxisOperation.java:326)
>
> at
> org.apache.axis2.description.OutInAxisOperationClient.send(O utInAxisOperation.java:389)
>
> at
> org.apache.axis2.description.OutInAxisOperationClient.execut eImpl(OutInAxisOperation.java:211)
>
> at
> org.apache.axis2.client.OperationClient.execute(OperationCli ent.java:163)
> at
> org.eclipse.ohf.ihe.common.ws.AbstractOHFSOAPSender.executeS end(AbstractOHFSOAPSender.java:244)
>
> ... 7 more
> Caused by: java.lang.NullPointerException
> at
> org.apache.axis2.transport.TransportUtils.createDocumentElem ent(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.executeS end(AbstractOHFSOAPSender.java:251)
>
> at
> org.eclipse.ohf.ihe.common.ws.AbstractOHFSOAPSender.send(Abs tractOHFSOAPSender.java:363)
>
> at
> org.eclipse.ohf.ihe.common.ws.AbstractOHFSOAPSender.send(Abs tractOHFSOAPSender.java:384)
>
> at
> org.eclipse.ohf.ihe.xds.soap.AbstractXDSSoapClient.send(Abst ractXDSSoapClient.java:148)
>
> at
> org.eclipse.ohf.ihe.xds.soap.AbstractXDSSoapClient.send(Abst ractXDSSoapClient.java:104)
>
> at org.eclipse.ohf.ihe.xds.source.Source.submit(Source.java:193 )
> at
> org.eclipse.ohf.ihe.xds.source.test.SubmitTest.test1Submissi on(SubmitTest.java:141)
>
> at
> org.eclipse.ohf.ihe.xds.source.test.SubmitTest.main(SubmitTe st.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.handle Response(OutInAxisOperation.java:326)
>
> at
> org.apache.axis2.description.OutInAxisOperationClient.send(O utInAxisOperation.java:389)
>
> at
> org.apache.axis2.description.OutInAxisOperationClient.execut eImpl(OutInAxisOperation.java:211)
>
> at
> org.apache.axis2.client.OperationClient.execute(OperationCli ent.java:163)
> at
> org.eclipse.ohf.ihe.common.ws.AbstractOHFSOAPSender.executeS end(AbstractOHFSOAPSender.java:244)
>
> ... 7 more
> Caused by: java.lang.NullPointerException
> at
> org.apache.axis2.transport.TransportUtils.createDocumentElem ent(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!!
>
|
|
|
Powered by
FUDForum. Page generated in 0.04447 seconds