Skip to Content.
Sympa Menu

perfsonar-dev - failure of converting returning message (XML) to DOM

Subject: perfsonar development work

List archive

failure of converting returning message (XML) to DOM


Chronological Thread 
  • From: ulisses <>
  • To: Jason Zurawski <>, Loukik Kudarimoti <>
  • Cc: ,
  • Subject: failure of converting returning message (XML) to DOM
  • Date: Thu, 27 Jul 2006 13:04:45 +0200


Hi Jason, Loukik again


I have just uploaded revision 1494 to svn trunk which hopefully produces a
minimal output
of XML that fails converting to DOM:

ulisses@tux:~/rediris/jra1/perfsonar/ant$
cat
/home/ulisses/rediris/jra1/perfsonar/schema/example-instances/sonar/TOPS/test/TOPSDownloadDBResponse.xml

<?xml version="1.0" encoding="UTF-8"?>
<nmwg:message xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/";
id="resultCodeMessage">
<nmwg:metadata id="resultCodeMetadata">
<nmwg:eventType>error.common.parse_error</nmwg:eventType>
</nmwg:metadata>
<nmwg:data id="resultDescriptionData_for_resultCodeMetadata"
metadataIdRef="resultCodeMetadata">
<nmwg:datum value="Cannot convert Message to DOM" />
</nmwg:data>
</nmwg:message>

The XML to DOM conversion fails after I return the message being returned in
my method

TopsDownloadDBAction.java:performAction()

the message being returned is:

<nmwg:message id="localhost.localdomain.-5dcccc19:10cafa0681f:-7ffd"
type="TOPSDownloadDBResponse"
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/";>
<nmwg:metadata id="TOPSDownloadDBResponseMetadata"/>
<nmwg:data id="TOPSDownloadDBResponse"
metadataIdRef="TOPSDownloadDBResponseMetadata">
<nmwg:metadata id="TOPSDownloadDBResponseMetadata"/>
<nmwg:data id="localhost.localdomain.-5dcccc19:10cafa0681f:-7ffe">
<nmwgtopo3:link
id="localhost.localdomain.-5dcccc19:10cafa0681f:-7fff"
xmlns:nmwgtopo3="http://ggf.org/ns/nmwg/topology/l3/3.0/";>
<nmwgtopo3:interface
id="localhost.localdomain.-5dcccc19:10cafa0681f:-8000"
interfaceIdRef="private_index: 0, snmp_ifindex: unknown">

<nmwgtopo3:ifDescription>GE-0/0/0.20</nmwgtopo3:ifDescription>
<nmwgtopo3:type>other</nmwgtopo3:type>
<nmwgtopo3:capacity>0</nmwgtopo3:capacity>
<nmwgtopo3:netmask>62.40.98.40/29</nmwgtopo3:netmask>
<nmwgtopo3:ipAddress value="62.40.98.41"/>
</nmwgtopo3:interface>
<nmwgtopo3:name>be1.be.geant.net_62.40.98.40/29 -
_</nmwgtopo3:name>
</nmwgtopo3:link>
</nmwg:data>
</nmwg:data>
</nmwg:message>

Any comment will be greatly appreciated

regards

Ulisses



Archive powered by MHonArc 2.6.16.

Top of Page