Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » OHF » Test12049 XDS.b Submit a document error
Test12049 XDS.b Submit a document error [message #45196] Thu, 07 August 2008 03:31 Go to next message
Eclipse UserFriend
Originally posted by: 322zx.163.com

org.eclipse.ohf.ihe.xds.source.test.mesa-11746 was successful
but Test12049 was failed:
Errors:


[DEBUG][DeploymentEngine.java:465] Adding new module
[DEBUG][ProjectResourceBundle.java:70]
org.apache.axis2.i18n.resource::handleGetObject(deployeingmo dule)
[INFO ][ModuleDeployer.java:72] Deploying module: addressing-1.3
[DEBUG][AxisService.java:716] mapActionToOperation: Mapping Action to
Operation: action: anonRobustOp; operation:
org.apache.axis2.description.RobustOutOnlyAxisOperation@1478a43
[DEBUG][AxisService.java:716] mapActionToOperation: Mapping Action to
Operation: action: urn:anonRobustOp; operation:
org.apache.axis2.description.RobustOutOnlyAxisOperation@1478a43
[DEBUG][AxisService.java:716] mapActionToOperation: Mapping Action to
Operation: action: anonOutonlyOp; operation:
org.apache.axis2.description.OutOnlyAxisOperation@1372656
[DEBUG][AxisService.java:716] mapActionToOperation: Mapping Action to
Operation: action: urn:anonOutonlyOp; operation:
org.apache.axis2.description.OutOnlyAxisOperation@1372656
[DEBUG][AxisService.java:716] mapActionToOperation: Mapping Action to
Operation: action: anonOutInOp; operation:
org.apache.axis2.description.OutInAxisOperation@1b6101e
[DEBUG][AxisService.java:716] mapActionToOperation: Mapping Action to
Operation: action: urn:anonOutInOp; operation:
org.apache.axis2.description.OutInAxisOperation@1b6101e
[DEBUG][AbstractXDSSoapClient.java:113] Beginning XDS SOAP Send
org.apache.axiom.om.OMException: com.ctc.wstx.exc.WstxParsingException:
Undeclared namespace prefix "ihe"
at [row,col {unknown-source}]: [2,42]
at
org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBu ilder.java:239)
at
org.apache.axiom.om.impl.llom.OMDocumentImpl.getOMDocumentEl ement(OMDocumentImpl.java:130)
at
org.apache.axiom.om.impl.builder.StAXOMBuilder.getDocumentEl ement(StAXOMBuilder.java:359)
at org.apache.axis2.util.XMLUtils.toOM(XMLUtils.java:533)
at
org.eclipse.ohf.ihe.xds.soap.AbstractXDSSoapClient.send(Abst ractXDSSoapClient.java:116)
at org.eclipse.ohf.ihe.xds.source.B_Source.submit(B_Source.java :166)
at
org.eclipse.ohf.ihe.xds.source.test.mesa.Mesa12049_Option1.t est(Mesa12049_Option1.java:106)
at
org.eclipse.ohf.ihe.xds.source.test.mesa.Mesa12049_Option1.m ain(Mesa12049_Option1.java:124)
Caused by: com.ctc.wstx.exc.WstxParsingException: Undeclared namespace
prefix "ihe"
at [row,col {unknown-source}]: [2,42]
at
com.ctc.wstx.sr.StreamScanner.constructWfcException(StreamSc anner.java:605)
at com.ctc.wstx.sr.StreamScanner.throwParseError(StreamScanner. java:467)
at
com.ctc.wstx.sr.NsInputElementStack.resolveAndValidateElemen t(NsInputElementStack.java:368)
at
com.ctc.wstx.sr.BasicStreamReader.handleStartElem(BasicStrea mReader.java:2945)
at
com.ctc.wstx.sr.BasicStreamReader.handleRootElem(BasicStream Reader.java:2093)
at
com.ctc.wstx.sr.BasicStreamReader.nextFromProlog(BasicStream Reader.java:2073)
at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.jav a:1069)
at
org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBu ilder.java:153)
... 7 more
Re: Test12049 XDS.b Submit a document error [message #45259 is a reply to message #45196] Thu, 07 August 2008 16:19 Go to previous messageGo to next message
Matthew DavisFriend
Messages: 269
Registered: July 2009
Senior Member
Hi,
Please post more lines of the log file. Also, what versions of OHF and
Eclipse are you using?

-Matt

RobertHua wrote:
> org.eclipse.ohf.ihe.xds.source.test.mesa-11746 was successful
> but Test12049 was failed:
> Errors:
>
>
> [DEBUG][DeploymentEngine.java:465] Adding new module
> [DEBUG][ProjectResourceBundle.java:70]
> org.apache.axis2.i18n.resource::handleGetObject(deployeingmo dule)
> [INFO ][ModuleDeployer.java:72] Deploying module: addressing-1.3
> [DEBUG][AxisService.java:716] mapActionToOperation: Mapping Action to
> Operation: action: anonRobustOp; operation:
> org.apache.axis2.description.RobustOutOnlyAxisOperation@1478a43
> [DEBUG][AxisService.java:716] mapActionToOperation: Mapping Action to
> Operation: action: urn:anonRobustOp; operation:
> org.apache.axis2.description.RobustOutOnlyAxisOperation@1478a43
> [DEBUG][AxisService.java:716] mapActionToOperation: Mapping Action to
> Operation: action: anonOutonlyOp; operation:
> org.apache.axis2.description.OutOnlyAxisOperation@1372656
> [DEBUG][AxisService.java:716] mapActionToOperation: Mapping Action to
> Operation: action: urn:anonOutonlyOp; operation:
> org.apache.axis2.description.OutOnlyAxisOperation@1372656
> [DEBUG][AxisService.java:716] mapActionToOperation: Mapping Action to
> Operation: action: anonOutInOp; operation:
> org.apache.axis2.description.OutInAxisOperation@1b6101e
> [DEBUG][AxisService.java:716] mapActionToOperation: Mapping Action to
> Operation: action: urn:anonOutInOp; operation:
> org.apache.axis2.description.OutInAxisOperation@1b6101e
> [DEBUG][AbstractXDSSoapClient.java:113] Beginning XDS SOAP Send
> org.apache.axiom.om.OMException: com.ctc.wstx.exc.WstxParsingException:
> Undeclared namespace prefix "ihe"
> at [row,col {unknown-source}]: [2,42]
> at
> org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBu ilder.java:239)
> at
> org.apache.axiom.om.impl.llom.OMDocumentImpl.getOMDocumentEl ement(OMDocumentImpl.java:130)
>
> at
> org.apache.axiom.om.impl.builder.StAXOMBuilder.getDocumentEl ement(StAXOMBuilder.java:359)
>
> at org.apache.axis2.util.XMLUtils.toOM(XMLUtils.java:533)
> at
> org.eclipse.ohf.ihe.xds.soap.AbstractXDSSoapClient.send(Abst ractXDSSoapClient.java:116)
>
> at org.eclipse.ohf.ihe.xds.source.B_Source.submit(B_Source.java :166)
> at
> org.eclipse.ohf.ihe.xds.source.test.mesa.Mesa12049_Option1.t est(Mesa12049_Option1.java:106)
>
> at
> org.eclipse.ohf.ihe.xds.source.test.mesa.Mesa12049_Option1.m ain(Mesa12049_Option1.java:124)
>
> Caused by: com.ctc.wstx.exc.WstxParsingException: Undeclared namespace
> prefix "ihe"
> at [row,col {unknown-source}]: [2,42]
> at
> com.ctc.wstx.sr.StreamScanner.constructWfcException(StreamSc anner.java:605)
> at
> com.ctc.wstx.sr.StreamScanner.throwParseError(StreamScanner. java:467)
> at
> com.ctc.wstx.sr.NsInputElementStack.resolveAndValidateElemen t(NsInputElementStack.java:368)
>
> at
> com.ctc.wstx.sr.BasicStreamReader.handleStartElem(BasicStrea mReader.java:2945)
>
> at
> com.ctc.wstx.sr.BasicStreamReader.handleRootElem(BasicStream Reader.java:2093)
>
> at
> com.ctc.wstx.sr.BasicStreamReader.nextFromProlog(BasicStream Reader.java:2073)
>
> at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.jav a:1069)
> at
> org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBu ilder.java:153)
> ... 7 more
>
Re: Test12049 XDS.b Submit a document error [message #45293 is a reply to message #45259] Fri, 08 August 2008 00:52 Go to previous message
Eclipse UserFriend
Originally posted by: 322zx.163.com

I used IHE 2.0,the code downed form the CVS.
All the errors are here:


Eishay comment: output file is
D:\eclipse\WorkBench\OHFWorkBench\org.eclipse.ohf.ihe.xds.so urce\resources\logs\source.log
with append attribute = true
[DEBUG][B_SourceMesaTest.java:43] ***************** SUBMIT TEST
************************
[DEBUG][B_SourceMesaTest.java:44] 2008/8/8 8:48:51
[DEBUG][Mesa12049_Option1.java:60] BEGIN MESA 12049 option 1
[DEBUG][Mesa12049_Option1.java:64] Adding input document, and metadata.
[DEBUG][Document.java:109] Created new Document from
File=D:\eclipse\WorkBench\OHFWorkBench\org.eclipse.ohf.ihe.x ds.source\.\resources\sample_files\test1\input.xml
Descriptor=CDA-R2!text/xml MimeType=text/xml
[DEBUG][SubmitTransactionData.java:257] loadDocumentWithMetadata() adding
D:\eclipse\WorkBench\OHFWorkBench\org.eclipse.ohf.ihe.xds.so urce\resources\sample_files\test1\input.xml
[DEBUG][InputStreamDocumentEntryExtractor.java:62] Loading MetadataPackage.
[DEBUG][InputStreamDocumentEntryExtractor.java:68] Loading Resources.
[DEBUG][InputStreamDocumentEntryExtractor.java:79] Creating DocumentEntry
metadata with object from InputStream java.io.FileInputStream@19b5393
[DEBUG][SubmitTransactionData.java:278] DocumentEntry entryUUID generated.
[DEBUG][SubmitTransactionData.java:299] Document metadata loaded. Current
DocumentEntry entryUUID: urn:uuid:9de00e1e-3dda-7436-b82b-001d7dab48a4.
[DEBUG][SubmitTransactionData.java:304] loadDocumentWithMetadata()
document was successfully added.
[DEBUG][Mesa12049_Option1.java:74] Saving docEntryUUId for replaceTEst
[DEBUG][SubmitTransactionData.java:587] DocumentEntry metadata found for
entryUUID: urn:uuid:9de00e1e-3dda-7436-b82b-001d7dab48a4.
[DEBUG][SubmitTransactionData.java:587] DocumentEntry metadata found for
entryUUID: urn:uuid:9de00e1e-3dda-7436-b82b-001d7dab48a4.
[DEBUG][Mesa12049_Option1.java:83] Done setting documentEntry metadata
for: org.eclipse.ohf.ihe.xds.metadata.impl.DocumentEntryTypeImpl@4e79f1
(availabilityStatus: <unset>, creationTime: 20060614, entryUUID:
urn:uuid:9de00e1e-3dda-7436-b82b-001d7dab48a4, hash: null, languageCode:
en-US, mimeType: text/xml, repositoryUniqueId: null, serviceStartTime:
null, serviceStopTime: null, size: null, uniqueId:
1.2.3.4.103029050023315117.1218156534656.1, uri: null, existing: <unset>)
[DEBUG][Mesa12049_Option1.java:87] Applying Submission Set Metadata to the
Submission.
[DEBUG][InputStreamSubmissionSetExtractor.java:67] Loading MetadataPackage.
[DEBUG][InputStreamSubmissionSetExtractor.java:73] Loading Resources.
[DEBUG][InputStreamSubmissionSetExtractor.java:84] Creating SubmissionSet
metadata with object from InputStream java.io.FileInputStream@5a9de6
[DEBUG][SubmitTransactionData.java:943] Previous Submission entryUUID:
urn:uuid:9ddfd4bc-3dda-7436-3123-001d7dab48a4.
[DEBUG][SubmitTransactionData.java:954] Submission Set metadata loaded.
Current Submission entryUUID:
urn:uuid:9ddfd4bc-3dda-7436-3123-001d7dab48a4.
[DEBUG][Mesa12049_Option1.java:105] Submitting Document.
[DEBUG][EbXML_3_0SubmissionSetTransformer.java:115] Setting attributes on
the Registry Package.
[DEBUG][EbXML_3_0SubmissionSetTransformer.java:121] Setting Description on
the Registry Package.
[DEBUG][EbXML_3_0SubmissionSetTransformer.java:127] Setting Name on the
Registry Package.
[DEBUG][EbXML_3_0SubmissionSetTransformer.java:133] Setting Slots on the
Registry Package.
[DEBUG][EbXML_3_0SubmissionSetTransformer.java:139] Setting
Classifications on the Registry Package.
[DEBUG][EbXML_3_0SubmissionSetTransformer.java:145] Setting External
Identifiers on the Registry Package.
[DEBUG][EbXML_3_0SubmissionSetTransformer.java:401] No Submission Set
Associated Documents.
[DEBUG][EbXML_3_0SubmissionSetTransformer.java:429] No Submission Set
Associated Folders.
[DEBUG][EbXML_3_0ProvideAndRegisterDocumentSetTransformer.ja va:343] All
submission set metadata added.
[DEBUG][EbXML_3_0ProvideAndRegisterDocumentSetTransformer.ja va:117] Adding
document metadata to submission set. There are 1 documents to add.
[DEBUG][EbXML_3_0DocumentEntryTransformer.java:113] Setting attributes on
the Extrinsic Object.
[DEBUG][EbXML_3_0DocumentEntryTransformer.java:119] Setting Name on the
Extrinsic Object.
[DEBUG][EbXML_3_0DocumentEntryTransformer.java:125] Setting Description on
the Extrinsic Object.
[DEBUG][EbXML_3_0DocumentEntryTransformer.java:132] Setting Slots on the
Extrinsic Object.
[DEBUG][EbXML_3_0DocumentEntryTransformer.java:138] Setting
Classifications on the Extrinsic Object.
[DEBUG][EbXML_3_0DocumentEntryTransformer.java:144] Setting
ExternalIdentifiers on the Extrinsic Object.
[DEBUG][EbXML_3_0DocumentEntryTransformer.java:197] No parentDocumentID
for urn:uuid:9de00e1e-3dda-7436-b82b-001d7dab48a4.
[DEBUG][EbXML_3_0ProvideAndRegisterDocumentSetTransformer.ja va:324] All
document metadata added to submission set.
[INFO ][EbXML_3_0ProvideAndRegisterDocumentSetTransformer.java:127 ]
Submission set contains no folders.
[DEBUG][EbXML_3_0ProvideAndRegisterDocumentSetTransformer.ja va:142]
Verifying Submission Set associated documents and associated folders.
[DEBUG][EbXML_3_0ProvideAndRegisterDocumentSetTransformer.ja va:431]
Verifying associated documents
[DEBUG][EbXML_3_0ProvideAndRegisterDocumentSetTransformer.ja va:480] Number
of "forgotten" submission set existing associated documents: 0
[DEBUG][EbXML_3_0ProvideAndRegisterDocumentSetTransformer.ja va:485]
Verifying associated folders
[DEBUG][EbXML_3_0ProvideAndRegisterDocumentSetTransformer.ja va:526] Number
of "forgotten" submission set existing associated folders: 0
[DEBUG][Loader.java:132] Trying to find
[org/apache/axis2/deployment/axis2_default.xml] using
sun.misc.Launcher$AppClassLoader@82ba41 class loader.
[DEBUG][Phase.java:96] Handler RequestURIBasedDispatcher added to Phase
Transport
[DEBUG][Phase.java:96] Handler SOAPActionBasedDispatcher added to Phase
Transport
[DEBUG][Phase.java:96] Handler AddressingBasedDispatcher added to Phase
Addressing
[DEBUG][Phase.java:96] Handler RequestURIBasedDispatcher added to Phase
Dispatch
[DEBUG][Phase.java:96] Handler SOAPActionBasedDispatcher added to Phase
Dispatch
[DEBUG][Phase.java:96] Handler RequestURIOperationDispatcher added to
Phase Dispatch
[DEBUG][Phase.java:96] Handler SOAPMessageBodyBasedDispatcher added to
Phase Dispatch
[DEBUG][Phase.java:96] Handler HTTPLocationBasedDispatcher added to Phase
Dispatch
[DEBUG][Phase.java:96] Handler AddressingBasedDispatcher added to Phase
Addressing
[DEBUG][Phase.java:96] Handler RequestURIBasedDispatcher added to Phase
Dispatch
[DEBUG][Phase.java:96] Handler SOAPActionBasedDispatcher added to Phase
Dispatch
[DEBUG][Phase.java:96] Handler RequestURIOperationDispatcher added to
Phase Dispatch
[DEBUG][Phase.java:96] Handler SOAPMessageBodyBasedDispatcher added to
Phase Dispatch
[DEBUG][Phase.java:96] Handler HTTPLocationBasedDispatcher added to Phase
Dispatch
[INFO ][Utils.java:191] Created temporary file :
C:\DOCUME~1\postgres\LOCALS~1\Temp\_axis2\axis229051addressi ng-1.3.jar
[DEBUG][ProjectResourceBundle.java:236]
getBundle(org.apache.axis2,org.apache.axis2.i18n,resource,nu ll,...)
[DEBUG][ProjectResourceBundle.java:412] loadBundle: Ignoring
MissingResourceException: Can't find bundle for base name
org.apache.axis2.resource, locale zh_CN
[DEBUG][ProjectResourceBundle.java:289] Created
org.apache.axis2.i18n.resource, linked to parent null
[DEBUG][ProjectResourceBundle.java:236]
getBundle(org.apache.axis2,org.apache.axis2.i18n,resource,nu ll,...)
[DEBUG][ProjectResourceBundle.java:70]
org.apache.axis2.i18n.resource::handleGetObject(addingnewmod ule)
[DEBUG][DeploymentEngine.java:465] Adding new module
[DEBUG][ProjectResourceBundle.java:70]
org.apache.axis2.i18n.resource::handleGetObject(deployeingmo dule)
[INFO ][ModuleDeployer.java:72] Deploying module: addressing-1.3
[INFO ][Utils.java:191] Created temporary file :
C:\DOCUME~1\postgres\LOCALS~1\Temp\_axis2\axis229052addressi ng-1.3.mar
[DEBUG][ProjectResourceBundle.java:70]
org.apache.axis2.i18n.resource::handleGetObject(addingnewmod ule)
[DEBUG][DeploymentEngine.java:465] Adding new module
[DEBUG][ProjectResourceBundle.java:70]
org.apache.axis2.i18n.resource::handleGetObject(deployeingmo dule)
[INFO ][ModuleDeployer.java:72] Deploying module: addressing-1.3
[DEBUG][AxisService.java:716] mapActionToOperation: Mapping Action to
Operation: action: anonRobustOp; operation:
org.apache.axis2.description.RobustOutOnlyAxisOperation@1478a43
[DEBUG][AxisService.java:716] mapActionToOperation: Mapping Action to
Operation: action: urn:anonRobustOp; operation:
org.apache.axis2.description.RobustOutOnlyAxisOperation@1478a43
[DEBUG][AxisService.java:716] mapActionToOperation: Mapping Action to
Operation: action: anonOutonlyOp; operation:
org.apache.axis2.description.OutOnlyAxisOperation@1372656
[DEBUG][AxisService.java:716] mapActionToOperation: Mapping Action to
Operation: action: urn:anonOutonlyOp; operation:
org.apache.axis2.description.OutOnlyAxisOperation@1372656
[DEBUG][AxisService.java:716] mapActionToOperation: Mapping Action to
Operation: action: anonOutInOp; operation:
org.apache.axis2.description.OutInAxisOperation@1b6101e
[DEBUG][AxisService.java:716] mapActionToOperation: Mapping Action to
Operation: action: urn:anonOutInOp; operation:
org.apache.axis2.description.OutInAxisOperation@1b6101e
[DEBUG][AbstractXDSSoapClient.java:113] Beginning XDS SOAP Send
org.apache.axiom.om.OMException: com.ctc.wstx.exc.WstxParsingException:
Undeclared namespace prefix "ihe"
at [row,col {unknown-source}]: [2,42]
at
org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBu ilder.java:239)
at
org.apache.axiom.om.impl.llom.OMDocumentImpl.getOMDocumentEl ement(OMDocumentImpl.java:130)
at
org.apache.axiom.om.impl.builder.StAXOMBuilder.getDocumentEl ement(StAXOMBuilder.java:359)
at org.apache.axis2.util.XMLUtils.toOM(XMLUtils.java:533)
at
org.eclipse.ohf.ihe.xds.soap.AbstractXDSSoapClient.send(Abst ractXDSSoapClient.java:116)
at org.eclipse.ohf.ihe.xds.source.B_Source.submit(B_Source.java :166)
at
org.eclipse.ohf.ihe.xds.source.test.mesa.Mesa12049_Option1.t est(Mesa12049_Option1.java:106)
at
org.eclipse.ohf.ihe.xds.source.test.mesa.Mesa12049_Option1.m ain(Mesa12049_Option1.java:124)
Caused by: com.ctc.wstx.exc.WstxParsingException: Undeclared namespace
prefix "ihe"
at [row,col {unknown-source}]: [2,42]
at
com.ctc.wstx.sr.StreamScanner.constructWfcException(StreamSc anner.java:605)
at com.ctc.wstx.sr.StreamScanner.throwParseError(StreamScanner. java:467)
at
com.ctc.wstx.sr.NsInputElementStack.resolveAndValidateElemen t(NsInputElementStack.java:368)
at
com.ctc.wstx.sr.BasicStreamReader.handleStartElem(BasicStrea mReader.java:2945)
at
com.ctc.wstx.sr.BasicStreamReader.handleRootElem(BasicStream Reader.java:2093)
at
com.ctc.wstx.sr.BasicStreamReader.nextFromProlog(BasicStream Reader.java:2073)
at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.jav a:1069)
at
org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBu ilder.java:153)
... 7 more
Re: Test12049 XDS.b Submit a document error [message #586533 is a reply to message #45196] Thu, 07 August 2008 16:19 Go to previous message
Matthew DavisFriend
Messages: 269
Registered: July 2009
Senior Member
Hi,
Please post more lines of the log file. Also, what versions of OHF and
Eclipse are you using?

-Matt

RobertHua wrote:
> org.eclipse.ohf.ihe.xds.source.test.mesa-11746 was successful
> but Test12049 was failed:
> Errors:
>
>
> [DEBUG][DeploymentEngine.java:465] Adding new module
> [DEBUG][ProjectResourceBundle.java:70]
> org.apache.axis2.i18n.resource::handleGetObject(deployeingmo dule)
> [INFO ][ModuleDeployer.java:72] Deploying module: addressing-1.3
> [DEBUG][AxisService.java:716] mapActionToOperation: Mapping Action to
> Operation: action: anonRobustOp; operation:
> org.apache.axis2.description.RobustOutOnlyAxisOperation@1478a43
> [DEBUG][AxisService.java:716] mapActionToOperation: Mapping Action to
> Operation: action: urn:anonRobustOp; operation:
> org.apache.axis2.description.RobustOutOnlyAxisOperation@1478a43
> [DEBUG][AxisService.java:716] mapActionToOperation: Mapping Action to
> Operation: action: anonOutonlyOp; operation:
> org.apache.axis2.description.OutOnlyAxisOperation@1372656
> [DEBUG][AxisService.java:716] mapActionToOperation: Mapping Action to
> Operation: action: urn:anonOutonlyOp; operation:
> org.apache.axis2.description.OutOnlyAxisOperation@1372656
> [DEBUG][AxisService.java:716] mapActionToOperation: Mapping Action to
> Operation: action: anonOutInOp; operation:
> org.apache.axis2.description.OutInAxisOperation@1b6101e
> [DEBUG][AxisService.java:716] mapActionToOperation: Mapping Action to
> Operation: action: urn:anonOutInOp; operation:
> org.apache.axis2.description.OutInAxisOperation@1b6101e
> [DEBUG][AbstractXDSSoapClient.java:113] Beginning XDS SOAP Send
> org.apache.axiom.om.OMException: com.ctc.wstx.exc.WstxParsingException:
> Undeclared namespace prefix "ihe"
> at [row,col {unknown-source}]: [2,42]
> at
> org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBu ilder.java:239)
> at
> org.apache.axiom.om.impl.llom.OMDocumentImpl.getOMDocumentEl ement(OMDocumentImpl.java:130)
>
> at
> org.apache.axiom.om.impl.builder.StAXOMBuilder.getDocumentEl ement(StAXOMBuilder.java:359)
>
> at org.apache.axis2.util.XMLUtils.toOM(XMLUtils.java:533)
> at
> org.eclipse.ohf.ihe.xds.soap.AbstractXDSSoapClient.send(Abst ractXDSSoapClient.java:116)
>
> at org.eclipse.ohf.ihe.xds.source.B_Source.submit(B_Source.java :166)
> at
> org.eclipse.ohf.ihe.xds.source.test.mesa.Mesa12049_Option1.t est(Mesa12049_Option1.java:106)
>
> at
> org.eclipse.ohf.ihe.xds.source.test.mesa.Mesa12049_Option1.m ain(Mesa12049_Option1.java:124)
>
> Caused by: com.ctc.wstx.exc.WstxParsingException: Undeclared namespace
> prefix "ihe"
> at [row,col {unknown-source}]: [2,42]
> at
> com.ctc.wstx.sr.StreamScanner.constructWfcException(StreamSc anner.java:605)
> at
> com.ctc.wstx.sr.StreamScanner.throwParseError(StreamScanner. java:467)
> at
> com.ctc.wstx.sr.NsInputElementStack.resolveAndValidateElemen t(NsInputElementStack.java:368)
>
> at
> com.ctc.wstx.sr.BasicStreamReader.handleStartElem(BasicStrea mReader.java:2945)
>
> at
> com.ctc.wstx.sr.BasicStreamReader.handleRootElem(BasicStream Reader.java:2093)
>
> at
> com.ctc.wstx.sr.BasicStreamReader.nextFromProlog(BasicStream Reader.java:2073)
>
> at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.jav a:1069)
> at
> org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBu ilder.java:153)
> ... 7 more
>
Re: Test12049 XDS.b Submit a document error [message #586552 is a reply to message #45259] Fri, 08 August 2008 00:52 Go to previous message
RobertHua is currently offline RobertHuaFriend
Messages: 58
Registered: July 2009
Member
I used IHE 2.0,the code downed form the CVS.
All the errors are here:


Eishay comment: output file is
D:\eclipse\WorkBench\OHFWorkBench\org.eclipse.ohf.ihe.xds.so urce\resources\logs\source.log
with append attribute = true
[DEBUG][B_SourceMesaTest.java:43] ***************** SUBMIT TEST
************************
[DEBUG][B_SourceMesaTest.java:44] 2008/8/8 8:48:51
[DEBUG][Mesa12049_Option1.java:60] BEGIN MESA 12049 option 1
[DEBUG][Mesa12049_Option1.java:64] Adding input document, and metadata.
[DEBUG][Document.java:109] Created new Document from
File=D:\eclipse\WorkBench\OHFWorkBench\org.eclipse.ohf.ihe.x ds.source\.\resources\sample_files\test1\input.xml
Descriptor=CDA-R2!text/xml MimeType=text/xml
[DEBUG][SubmitTransactionData.java:257] loadDocumentWithMetadata() adding
D:\eclipse\WorkBench\OHFWorkBench\org.eclipse.ohf.ihe.xds.so urce\resources\sample_files\test1\input.xml
[DEBUG][InputStreamDocumentEntryExtractor.java:62] Loading MetadataPackage.
[DEBUG][InputStreamDocumentEntryExtractor.java:68] Loading Resources.
[DEBUG][InputStreamDocumentEntryExtractor.java:79] Creating DocumentEntry
metadata with object from InputStream java.io.FileInputStream@19b5393
[DEBUG][SubmitTransactionData.java:278] DocumentEntry entryUUID generated.
[DEBUG][SubmitTransactionData.java:299] Document metadata loaded. Current
DocumentEntry entryUUID: urn:uuid:9de00e1e-3dda-7436-b82b-001d7dab48a4.
[DEBUG][SubmitTransactionData.java:304] loadDocumentWithMetadata()
document was successfully added.
[DEBUG][Mesa12049_Option1.java:74] Saving docEntryUUId for replaceTEst
[DEBUG][SubmitTransactionData.java:587] DocumentEntry metadata found for
entryUUID: urn:uuid:9de00e1e-3dda-7436-b82b-001d7dab48a4.
[DEBUG][SubmitTransactionData.java:587] DocumentEntry metadata found for
entryUUID: urn:uuid:9de00e1e-3dda-7436-b82b-001d7dab48a4.
[DEBUG][Mesa12049_Option1.java:83] Done setting documentEntry metadata
for: org.eclipse.ohf.ihe.xds.metadata.impl.DocumentEntryTypeImpl@4e79f1
(availabilityStatus: <unset>, creationTime: 20060614, entryUUID:
urn:uuid:9de00e1e-3dda-7436-b82b-001d7dab48a4, hash: null, languageCode:
en-US, mimeType: text/xml, repositoryUniqueId: null, serviceStartTime:
null, serviceStopTime: null, size: null, uniqueId:
1.2.3.4.103029050023315117.1218156534656.1, uri: null, existing: <unset>)
[DEBUG][Mesa12049_Option1.java:87] Applying Submission Set Metadata to the
Submission.
[DEBUG][InputStreamSubmissionSetExtractor.java:67] Loading MetadataPackage.
[DEBUG][InputStreamSubmissionSetExtractor.java:73] Loading Resources.
[DEBUG][InputStreamSubmissionSetExtractor.java:84] Creating SubmissionSet
metadata with object from InputStream java.io.FileInputStream@5a9de6
[DEBUG][SubmitTransactionData.java:943] Previous Submission entryUUID:
urn:uuid:9ddfd4bc-3dda-7436-3123-001d7dab48a4.
[DEBUG][SubmitTransactionData.java:954] Submission Set metadata loaded.
Current Submission entryUUID:
urn:uuid:9ddfd4bc-3dda-7436-3123-001d7dab48a4.
[DEBUG][Mesa12049_Option1.java:105] Submitting Document.
[DEBUG][EbXML_3_0SubmissionSetTransformer.java:115] Setting attributes on
the Registry Package.
[DEBUG][EbXML_3_0SubmissionSetTransformer.java:121] Setting Description on
the Registry Package.
[DEBUG][EbXML_3_0SubmissionSetTransformer.java:127] Setting Name on the
Registry Package.
[DEBUG][EbXML_3_0SubmissionSetTransformer.java:133] Setting Slots on the
Registry Package.
[DEBUG][EbXML_3_0SubmissionSetTransformer.java:139] Setting
Classifications on the Registry Package.
[DEBUG][EbXML_3_0SubmissionSetTransformer.java:145] Setting External
Identifiers on the Registry Package.
[DEBUG][EbXML_3_0SubmissionSetTransformer.java:401] No Submission Set
Associated Documents.
[DEBUG][EbXML_3_0SubmissionSetTransformer.java:429] No Submission Set
Associated Folders.
[DEBUG][EbXML_3_0ProvideAndRegisterDocumentSetTransformer.ja va:343] All
submission set metadata added.
[DEBUG][EbXML_3_0ProvideAndRegisterDocumentSetTransformer.ja va:117] Adding
document metadata to submission set. There are 1 documents to add.
[DEBUG][EbXML_3_0DocumentEntryTransformer.java:113] Setting attributes on
the Extrinsic Object.
[DEBUG][EbXML_3_0DocumentEntryTransformer.java:119] Setting Name on the
Extrinsic Object.
[DEBUG][EbXML_3_0DocumentEntryTransformer.java:125] Setting Description on
the Extrinsic Object.
[DEBUG][EbXML_3_0DocumentEntryTransformer.java:132] Setting Slots on the
Extrinsic Object.
[DEBUG][EbXML_3_0DocumentEntryTransformer.java:138] Setting
Classifications on the Extrinsic Object.
[DEBUG][EbXML_3_0DocumentEntryTransformer.java:144] Setting
ExternalIdentifiers on the Extrinsic Object.
[DEBUG][EbXML_3_0DocumentEntryTransformer.java:197] No parentDocumentID
for urn:uuid:9de00e1e-3dda-7436-b82b-001d7dab48a4.
[DEBUG][EbXML_3_0ProvideAndRegisterDocumentSetTransformer.ja va:324] All
document metadata added to submission set.
[INFO ][EbXML_3_0ProvideAndRegisterDocumentSetTransformer.java:127 ]
Submission set contains no folders.
[DEBUG][EbXML_3_0ProvideAndRegisterDocumentSetTransformer.ja va:142]
Verifying Submission Set associated documents and associated folders.
[DEBUG][EbXML_3_0ProvideAndRegisterDocumentSetTransformer.ja va:431]
Verifying associated documents
[DEBUG][EbXML_3_0ProvideAndRegisterDocumentSetTransformer.ja va:480] Number
of "forgotten" submission set existing associated documents: 0
[DEBUG][EbXML_3_0ProvideAndRegisterDocumentSetTransformer.ja va:485]
Verifying associated folders
[DEBUG][EbXML_3_0ProvideAndRegisterDocumentSetTransformer.ja va:526] Number
of "forgotten" submission set existing associated folders: 0
[DEBUG][Loader.java:132] Trying to find
[org/apache/axis2/deployment/axis2_default.xml] using
sun.misc.Launcher$AppClassLoader@82ba41 class loader.
[DEBUG][Phase.java:96] Handler RequestURIBasedDispatcher added to Phase
Transport
[DEBUG][Phase.java:96] Handler SOAPActionBasedDispatcher added to Phase
Transport
[DEBUG][Phase.java:96] Handler AddressingBasedDispatcher added to Phase
Addressing
[DEBUG][Phase.java:96] Handler RequestURIBasedDispatcher added to Phase
Dispatch
[DEBUG][Phase.java:96] Handler SOAPActionBasedDispatcher added to Phase
Dispatch
[DEBUG][Phase.java:96] Handler RequestURIOperationDispatcher added to
Phase Dispatch
[DEBUG][Phase.java:96] Handler SOAPMessageBodyBasedDispatcher added to
Phase Dispatch
[DEBUG][Phase.java:96] Handler HTTPLocationBasedDispatcher added to Phase
Dispatch
[DEBUG][Phase.java:96] Handler AddressingBasedDispatcher added to Phase
Addressing
[DEBUG][Phase.java:96] Handler RequestURIBasedDispatcher added to Phase
Dispatch
[DEBUG][Phase.java:96] Handler SOAPActionBasedDispatcher added to Phase
Dispatch
[DEBUG][Phase.java:96] Handler RequestURIOperationDispatcher added to
Phase Dispatch
[DEBUG][Phase.java:96] Handler SOAPMessageBodyBasedDispatcher added to
Phase Dispatch
[DEBUG][Phase.java:96] Handler HTTPLocationBasedDispatcher added to Phase
Dispatch
[INFO ][Utils.java:191] Created temporary file :
C:\DOCUME~1\postgres\LOCALS~1\Temp\_axis2\axis229051addressi ng-1.3.jar
[DEBUG][ProjectResourceBundle.java:236]
getBundle(org.apache.axis2,org.apache.axis2.i18n,resource,nu ll,...)
[DEBUG][ProjectResourceBundle.java:412] loadBundle: Ignoring
MissingResourceException: Can't find bundle for base name
org.apache.axis2.resource, locale zh_CN
[DEBUG][ProjectResourceBundle.java:289] Created
org.apache.axis2.i18n.resource, linked to parent null
[DEBUG][ProjectResourceBundle.java:236]
getBundle(org.apache.axis2,org.apache.axis2.i18n,resource,nu ll,...)
[DEBUG][ProjectResourceBundle.java:70]
org.apache.axis2.i18n.resource::handleGetObject(addingnewmod ule)
[DEBUG][DeploymentEngine.java:465] Adding new module
[DEBUG][ProjectResourceBundle.java:70]
org.apache.axis2.i18n.resource::handleGetObject(deployeingmo dule)
[INFO ][ModuleDeployer.java:72] Deploying module: addressing-1.3
[INFO ][Utils.java:191] Created temporary file :
C:\DOCUME~1\postgres\LOCALS~1\Temp\_axis2\axis229052addressi ng-1.3.mar
[DEBUG][ProjectResourceBundle.java:70]
org.apache.axis2.i18n.resource::handleGetObject(addingnewmod ule)
[DEBUG][DeploymentEngine.java:465] Adding new module
[DEBUG][ProjectResourceBundle.java:70]
org.apache.axis2.i18n.resource::handleGetObject(deployeingmo dule)
[INFO ][ModuleDeployer.java:72] Deploying module: addressing-1.3
[DEBUG][AxisService.java:716] mapActionToOperation: Mapping Action to
Operation: action: anonRobustOp; operation:
org.apache.axis2.description.RobustOutOnlyAxisOperation@1478a43
[DEBUG][AxisService.java:716] mapActionToOperation: Mapping Action to
Operation: action: urn:anonRobustOp; operation:
org.apache.axis2.description.RobustOutOnlyAxisOperation@1478a43
[DEBUG][AxisService.java:716] mapActionToOperation: Mapping Action to
Operation: action: anonOutonlyOp; operation:
org.apache.axis2.description.OutOnlyAxisOperation@1372656
[DEBUG][AxisService.java:716] mapActionToOperation: Mapping Action to
Operation: action: urn:anonOutonlyOp; operation:
org.apache.axis2.description.OutOnlyAxisOperation@1372656
[DEBUG][AxisService.java:716] mapActionToOperation: Mapping Action to
Operation: action: anonOutInOp; operation:
org.apache.axis2.description.OutInAxisOperation@1b6101e
[DEBUG][AxisService.java:716] mapActionToOperation: Mapping Action to
Operation: action: urn:anonOutInOp; operation:
org.apache.axis2.description.OutInAxisOperation@1b6101e
[DEBUG][AbstractXDSSoapClient.java:113] Beginning XDS SOAP Send
org.apache.axiom.om.OMException: com.ctc.wstx.exc.WstxParsingException:
Undeclared namespace prefix "ihe"
at [row,col {unknown-source}]: [2,42]
at
org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBu ilder.java:239)
at
org.apache.axiom.om.impl.llom.OMDocumentImpl.getOMDocumentEl ement(OMDocumentImpl.java:130)
at
org.apache.axiom.om.impl.builder.StAXOMBuilder.getDocumentEl ement(StAXOMBuilder.java:359)
at org.apache.axis2.util.XMLUtils.toOM(XMLUtils.java:533)
at
org.eclipse.ohf.ihe.xds.soap.AbstractXDSSoapClient.send(Abst ractXDSSoapClient.java:116)
at org.eclipse.ohf.ihe.xds.source.B_Source.submit(B_Source.java :166)
at
org.eclipse.ohf.ihe.xds.source.test.mesa.Mesa12049_Option1.t est(Mesa12049_Option1.java:106)
at
org.eclipse.ohf.ihe.xds.source.test.mesa.Mesa12049_Option1.m ain(Mesa12049_Option1.java:124)
Caused by: com.ctc.wstx.exc.WstxParsingException: Undeclared namespace
prefix "ihe"
at [row,col {unknown-source}]: [2,42]
at
com.ctc.wstx.sr.StreamScanner.constructWfcException(StreamSc anner.java:605)
at com.ctc.wstx.sr.StreamScanner.throwParseError(StreamScanner. java:467)
at
com.ctc.wstx.sr.NsInputElementStack.resolveAndValidateElemen t(NsInputElementStack.java:368)
at
com.ctc.wstx.sr.BasicStreamReader.handleStartElem(BasicStrea mReader.java:2945)
at
com.ctc.wstx.sr.BasicStreamReader.handleRootElem(BasicStream Reader.java:2093)
at
com.ctc.wstx.sr.BasicStreamReader.nextFromProlog(BasicStream Reader.java:2073)
at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.jav a:1069)
at
org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBu ilder.java:153)
... 7 more
Previous Topic:Test12049 XDS.b Submit a document error
Next Topic:Xds.b submit tests have the same errors
Goto Forum:
  


Current Time: Thu Mar 28 15:43:36 GMT 2024

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

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

Back to the top