[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.technology.ohf] Re: Test12049 XDS.b Submit a document error
|
- From: 322zx@xxxxxxx (RobertHua)
- Date: Fri, 8 Aug 2008 00:52:40 +0000 (UTC)
- Newsgroups: eclipse.technology.ohf
- Organization: Eclipse
- User-agent: NewsPortal/0.36 (http://florian-amrhein.de/newsportal)
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.source\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.xds.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.source\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.java:343] All
submission set metadata added.
[DEBUG][EbXML_3_0ProvideAndRegisterDocumentSetTransformer.java: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.java:324] All
document metadata added to submission set.
[INFO ][EbXML_3_0ProvideAndRegisterDocumentSetTransformer.java:127]
Submission set contains no folders.
[DEBUG][EbXML_3_0ProvideAndRegisterDocumentSetTransformer.java:142]
Verifying Submission Set associated documents and associated folders.
[DEBUG][EbXML_3_0ProvideAndRegisterDocumentSetTransformer.java:431]
Verifying associated documents
[DEBUG][EbXML_3_0ProvideAndRegisterDocumentSetTransformer.java:480] Number
of "forgotten" submission set existing associated documents: 0
[DEBUG][EbXML_3_0ProvideAndRegisterDocumentSetTransformer.java:485]
Verifying associated folders
[DEBUG][EbXML_3_0ProvideAndRegisterDocumentSetTransformer.java: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\axis229051addressing-1.3.jar
[DEBUG][ProjectResourceBundle.java:236]
getBundle(org.apache.axis2,org.apache.axis2.i18n,resource,null,...)
[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,null,...)
[DEBUG][ProjectResourceBundle.java:70]
org.apache.axis2.i18n.resource::handleGetObject(addingnewmodule)
[DEBUG][DeploymentEngine.java:465] Adding new module
[DEBUG][ProjectResourceBundle.java:70]
org.apache.axis2.i18n.resource::handleGetObject(deployeingmodule)
[INFO ][ModuleDeployer.java:72] Deploying module: addressing-1.3
[INFO ][Utils.java:191] Created temporary file :
C:\DOCUME~1\postgres\LOCALS~1\Temp\_axis2\axis229052addressing-1.3.mar
[DEBUG][ProjectResourceBundle.java:70]
org.apache.axis2.i18n.resource::handleGetObject(addingnewmodule)
[DEBUG][DeploymentEngine.java:465] Adding new module
[DEBUG][ProjectResourceBundle.java:70]
org.apache.axis2.i18n.resource::handleGetObject(deployeingmodule)
[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(StAXOMBuilder.java:239)
at
org.apache.axiom.om.impl.llom.OMDocumentImpl.getOMDocumentElement(OMDocumentImpl.java:130)
at
org.apache.axiom.om.impl.builder.StAXOMBuilder.getDocumentElement(StAXOMBuilder.java:359)
at org.apache.axis2.util.XMLUtils.toOM(XMLUtils.java:533)
at
org.eclipse.ohf.ihe.xds.soap.AbstractXDSSoapClient.send(AbstractXDSSoapClient.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.test(Mesa12049_Option1.java:106)
at
org.eclipse.ohf.ihe.xds.source.test.mesa.Mesa12049_Option1.main(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(StreamScanner.java:605)
at com.ctc.wstx.sr.StreamScanner.throwParseError(StreamScanner.java:467)
at
com.ctc.wstx.sr.NsInputElementStack.resolveAndValidateElement(NsInputElementStack.java:368)
at
com.ctc.wstx.sr.BasicStreamReader.handleStartElem(BasicStreamReader.java:2945)
at
com.ctc.wstx.sr.BasicStreamReader.handleRootElem(BasicStreamReader.java:2093)
at
com.ctc.wstx.sr.BasicStreamReader.nextFromProlog(BasicStreamReader.java:2073)
at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1069)
at
org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:153)
... 7 more