Return-Path: Delivered-To: apmail-ws-tuscany-dev-archive@locus.apache.org Received: (qmail 4470 invoked from network); 5 Dec 2007 20:30:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Dec 2007 20:30:06 -0000 Received: (qmail 42298 invoked by uid 500); 5 Dec 2007 20:29:54 -0000 Delivered-To: apmail-ws-tuscany-dev-archive@ws.apache.org Received: (qmail 42277 invoked by uid 500); 5 Dec 2007 20:29:53 -0000 Mailing-List: contact tuscany-dev-help@ws.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: tuscany-dev@ws.apache.org Delivered-To: mailing list tuscany-dev@ws.apache.org Received: (qmail 42268 invoked by uid 99); 5 Dec 2007 20:29:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Dec 2007 12:29:53 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Dec 2007 20:29:40 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 5F101714245 for ; Wed, 5 Dec 2007 12:29:43 -0800 (PST) Message-ID: <21481618.1196886583387.JavaMail.jira@brutus> Date: Wed, 5 Dec 2007 12:29:43 -0800 (PST) From: "David T. Adcox (JIRA)" To: tuscany-dev@ws.apache.org Subject: [jira] Commented: (TUSCANY-1929) generate xml from dataobject In-Reply-To: <23385781.1196846743682.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/TUSCANY-1929?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12548803 ] David T. Adcox commented on TUSCANY-1929: ----------------------------------------- Kristina, One thing that is not clear is whether or not you are getting 'anything' returned in the 'generatedXml' variable. I would expect to see some contents. If you are getting something from the call, could you attach what you are seeing, to this JIRA? I will post a simple sample of the XMLHelper class doing what you are attempting to do in the code above. My sample will generate a type, create an instance of that type, then display the contents of the instance in both XML and from the data object directly. The DO dump is a very abbreviated version of what you can find demonstrated in the org.apache.tuscany.samples.sdo.advanced.PrintDataGraph sample found in sample-sdo porject. > generate xml from dataobject > ---------------------------- > > Key: TUSCANY-1929 > URL: https://issues.apache.org/jira/browse/TUSCANY-1929 > Project: Tuscany > Issue Type: Bug > Components: Java DAS RDB > Affects Versions: Java-DAS-M2 > Environment: java ee 1.5, eclipse 3.3.1.1. , windows xp, das 1.0 beta 2, access mdb - no access installed, sca 1.0 > Reporter: Kristina > > hi all, > not sure if this is a bug or is just me... bottom line i need help :) > when trying to generate the xml from dataobject , i get an empty one eventhough the dataobject is filled > I am using: String generatedXml = XMLHelper.INSTANCE.save(root, "http://helloworld2", "MaterialListForTest"); where root is my dataobject > what am i doing wrong? > thanks, > kristina -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org For additional commands, e-mail: tuscany-dev-help@ws.apache.org