Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Re: Trying to find an example
Re: Trying to find an example [message #196576] Tue, 17 July 2007 17:46 Go to next message
Eclipse UserFriend
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 #196592 is a reply to message #196576] Tue, 17 July 2007 18:20 Go to previous message
Jason Henriksen is currently offline Jason HenriksenFriend
Messages: 231
Registered: July 2009
Senior Member
Thanks Ed,

Sorry for the off topic post.

Jason
Previous Topic:An error occurred while automatically activating bundle
Next Topic:How to call a web page and pass input/output parameters
Goto Forum:
  


Current Time: Thu Dec 18 20:17:30 GMT 2014

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

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