tuscany-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David T. Adcox (JIRA)" <tuscany-...@ws.apache.org>
Subject [jira] Commented: (TUSCANY-1929) generate xml from dataobject
Date Wed, 05 Dec 2007 20:29:43 GMT

    [ 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


Mime
View raw message