Trying to find an example [message #602497] |
Tue, 17 July 2007 17:41 |
Jason Henriksen 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
|
|
|
Powered by
FUDForum. Page generated in 0.02441 seconds