Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » XML Schema Definition (XSD) » Trying to find an example
Trying to find an example [message #602497] Tue, 17 July 2007 17:41
Jason Henriksen is currently offline Jason HenriksenFriend
Messages: 231
Registered: July 2009
Senior Member
Hi All,

I'm sorry if this is a dumb question, but I'm trying to find an example and
so far have had not luck.

I use some XSD which I use to generate EMF objects and WSDL bindings
It basically looks like this:

<xsd:complexType name="Book">
<xsd:sequence>
<xsd:element name="authors"
maxOccurs="unbounded" minOccurs="0"
type="xsd:anyURI"
ecore:reference="lib:Writer"
ecore:opposite="books"/>
</xsd:sequence>
</xsd:complexType>

<xsd:complexType name="Writer">
<xsd:sequence>
<xsd:element name="books"
maxOccurs="unbounded" minOccurs="0"
type="xsd:anyURI"
ecore:reference="lib:Book"
ecore:opposite="author">
</xsd:element>
</xsd:sequence>
</xsd:complexType>

Using that WSDL I need to make a conforming SOAP call. So my operation
needs a create a new Writer and I specify it with a uri for the book. But
in that same document I also need to specify the Book object so that I can
have something for the URI to point at. Where do I put that Book in the
SOAP XML? Is this even supported by soap? Will EMF
Serialization/Deserialization handle a big tree of these objects in a SOAP
friendly way? I'm using the Eclipse-Eudora RC4 so I can use whatever code
is latest, but I having trouble finding an example where someone has
actually done this and shows the XML for it.

I'm hoping one of you has a link to example/instructions/tutorial about this
is supposed to look. I'm guessing it's out there somewhere, but I'm just
too blind to find it.

Thanks for your help,

Jason
Previous Topic:Any example for transform XML schema to Ecore programmatically?
Next Topic:Trying to find an example
Goto Forum:
  


Current Time: Thu Apr 25 07:31:15 GMT 2024

Powered by FUDForum. Page generated in 0.02441 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top