Trying to find an example [message #72732] |
Tue, 17 July 2007 17:41  |
Eclipse User |
|
|
|
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
|
|
|
Re: Trying to find an example [message #72739 is a reply to message #72732] |
Tue, 17 July 2007 17:46   |
Eclipse User |
|
|
|
Originally posted by: merks.ca.ibm.com
Jason,
This is a little off topic for this newsgroup. Supporting things like
WSDL and SOAP bindings for web services falls within the scope of the
WebTools project which I've added to the "to" list of the reply. I
have no direct experience with SOAP, although I'm aware of other people
having used EMF in conjunction with web services, but that might have
been using document literal rather than SOAP. I think, but am not sure,
that WTP provides some SDO-based support...
Jason Henriksen wrote:
> 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
>
>
>
|
|
|
|
Re: Trying to find an example [message #602505 is a reply to message #72732] |
Tue, 17 July 2007 17:46  |
Eclipse User |
|
|
|
Jason,
This is a little off topic for this newsgroup. Supporting things like
WSDL and SOAP bindings for web services falls within the scope of the
WebTools project which I've added to the "to" list of the reply. I
have no direct experience with SOAP, although I'm aware of other people
having used EMF in conjunction with web services, but that might have
been using document literal rather than SOAP. I think, but am not sure,
that WTP provides some SDO-based support...
Jason Henriksen wrote:
> 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.03050 seconds