File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes XML and Related Technologies and the fly likes Service Data Object (SDO) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Service Data Object (SDO)" Watch "Service Data Object (SDO)" New topic

Service Data Object (SDO)

Chris as

Joined: Mar 08, 2006
Posts: 5

i need a simple sample for SDO. Yes, there are samples on the net, but the samples are generating a DataGraph manually. I need one, reading an XML Schema creating a DataGraph after that it should read a XML file and load it into the Datagraph automatically. After that, i will access every DataObject.

I found some samples which uses XMLHelper and other, but I think im too stupid for , it doesn�t work. I use the SDO API source. The compile is right! There is no HelperProviderImpl!

Allways the same exception after i compiled it.

How should this class look like? Any Ideas?

In the end, a small sample with the right API would be great! THX

Chris as

Joined: Mar 08, 2006
Posts: 5
I found the answer! Its so stupid...I tried to work with EMF and SDO 2.0!

EMF only supports SDO 1.0. For that refer to the documents here:

SDO 2.0 work is happening at Apache. For that go here:
mukta darera

Joined: Apr 25, 2006
Posts: 1
hey, i am trying to do the same thing now, and i got stuck at exactly the same place- the class wasn't found. how did you eventually work your way around it?
Chris as

Joined: Mar 08, 2006
Posts: 5
I don�t know, why it work, but i created the Model by EMF and got the Object by SDO and EMF. But in the end i only worked with the EMF construct. It is easier to get the objects by setter and getter classes, instead of hardcoded Strings.

Here is some Code i used to get my Project work:

After that, you are able to access the Objects by EMF or SDO.

Accessing Object:

Perhaps it helped you....
I got the Problem, that i had to cast very mutch in my function, like you can see at EMF:name.
I agree. Here's the link:
subject: Service Data Object (SDO)
jQuery in Action, 3rd edition