Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » OHF » Xds.b submit tests have the same errors
Xds.b submit tests have the same errors [message #586590] Fri, 08 August 2008 02:16
RobertHua is currently offline RobertHuaFriend
Messages: 58
Registered: July 2009
Member
I runned the test that the OHF provided,it occured the same the error.
Always it said :Undeclared namespace prefix "ihe".

The whole 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 10:14:41
[DEBUG][Mesa12046.java:77] BEGIN MESA 12046
[DEBUG][Mesa12046.java:79] Secure URL is:
http://129.6.24.109:9080/axis2/services/xdsrepositoryb
[DEBUG][Mesa12046.java:83] 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:00f196ea-40f0-7440-e09e-001d7dab48a4.
[DEBUG][SubmitTransactionData.java:304] loadDocumentWithMetadata()
document was successfully added.
[DEBUG][SubmitTransactionData.java:587] DocumentEntry metadata found for
entryUUID: urn:uuid:00f196ea-40f0-7440-e09e-001d7dab48a4.
[DEBUG][SubmitTransactionData.java:587] DocumentEntry metadata found for
entryUUID: urn:uuid:00f196ea-40f0-7440-e09e-001d7dab48a4.
[DEBUG][Mesa12046.java:94] Done setting documentEntry metadata for:
org.eclipse.ohf.ihe.xds.metadata.impl.DocumentEntryTypeImpl@4e79f1
(availabilityStatus: <unset>, creationTime: 20060614, entryUUID:
urn:uuid:00f196ea-40f0-7440-e09e-001d7dab48a4, hash: null, languageCode:
en-US, mimeType: text/xml, repositoryUniqueId: null, serviceStartTime:
null, serviceStopTime: null, size: null, uniqueId:
1.2.3.4.133072049007104050.1218161682718.1, uri: null, existing: <unset>)
[DEBUG][Mesa12046.java:98] 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:00f175f2-40f0-7440-6816-001d7dab48a4.
[DEBUG][SubmitTransactionData.java:954] Submission Set metadata loaded.
Current Submission entryUUID:
urn:uuid:00f175f2-40f0-7440-6816-001d7dab48a4.
[DEBUG][Mesa12046.java:116] 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:00f196ea-40f0-7440-e09e-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\axis255416addressi 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\axis255417addressi 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@b1aebf
[DEBUG][AxisService.java:716] mapActionToOperation: Mapping Action to
Operation: action: urn:anonRobustOp; operation:
org.apache.axis2.description.RobustOutOnlyAxisOperation@b1aebf
[DEBUG][AxisService.java:716] mapActionToOperation: Mapping Action to
Operation: action: anonOutonlyOp; operation:
org.apache.axis2.description.OutOnlyAxisOperation@1c65216
[DEBUG][AxisService.java:716] mapActionToOperation: Mapping Action to
Operation: action: urn:anonOutonlyOp; operation:
org.apache.axis2.description.OutOnlyAxisOperation@1c65216
[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.Mesa12046.test(Mesa 12046.java:117)
at
org.eclipse.ohf.ihe.xds.source.test.mesa.Mesa12046.main(Mesa 12046.java:136)
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:If OHF validation the document form?
Goto Forum:
  


Current Time: Fri Apr 26 16:06:30 GMT 2024

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

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

Back to the top