Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » OHF » Error testing SubmitTest
Error testing SubmitTest [message #43485] Mon, 07 July 2008 09:50 Go to next message
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 21:13 Go to previous message
No real name is currently offline No real name
Messages: 292
Registered: July 2009
Senior Member
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 21:13 Go to previous message
No real name is currently offline No real name
Messages: 292
Registered: July 2009
Senior Member
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!!
>
Previous Topic:How to use the http://localhost:8080/bridge/services/ohf-bridge
Next Topic:STEM New Feature Requests Discussion
Goto Forum:
  


Current Time: Wed Oct 01 14:34:33 GMT 2014

Powered by FUDForum. Page generated in 0.05076 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software