Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Send EMF object over the net(Send EMF object over the net)
Send EMF object over the net [message #673298] Mon, 23 May 2011 07:28 Go to next message
Michel Uncini is currently offline Michel UnciniFriend
Messages: 2
Registered: May 2011
Junior Member
Hello every body,

I created an ECORE model and I make it persistent using TENEO and ECLIPSE-LINK.
Now I want send some objects over the net using SOAP (Eclipse WTD + Axis2).

Well I have problem sending Eobjects because in my model there are EList and
apparently Axis2 when create the WSDL don't know collection.
So should I send an XML?
if yes how can I create an XML concern only part of the model? because I can create an
XMI using Resorce etcc. but then how can I extrapolate only what I need?

Thanks for your help and time.

[Updated on: Mon, 23 May 2011 07:30]

Report message to a moderator

Re: Send EMF object over the net [message #673597 is a reply to message #673298] Tue, 24 May 2011 08:28 Go to previous messageGo to next message
saurav sarkar is currently offline saurav sarkarFriend
Messages: 428
Registered: July 2009
Senior Member
Hi Michel,

Check if this link helps you.

http://wiki.eclipse.org/EMF/Recipes#Recipe:_Using_EMF_for_SOAP_.2F_Compatibility_between_EMF_XML_and_Axis_or_JAX_XML

cheers,
Saurav


Re: Send EMF object over the net [message #687027 is a reply to message #673298] Mon, 23 May 2011 16:29 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33113
Registered: July 2009
Senior Member
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Michel,<br>
<br>
This option would help:<br>
<blockquote><small>  /**</small><br>
<small>   * Write only the subtree starting at the specified list of
EObjects, </small><br>
<small>   * which must be objects contained by the resource.</small><br>
<small>   */</small><br>
<small>  String OPTION_ROOT_OBJECTS = "ROOT_OBJECTS";</small><br>
</blockquote>
<br>
<br>
Michel Uncini wrote:
<blockquote cite="mid:ird1rh$9dv$1@news.eclipse.org" type="cite">Hello
every body,
<br>
<br>
I created an ECORE model and I make it persistent using TENEO and
ECLIPSE-LINK.
<br>
Now I want send some objects over the net using SOAP (Eclipse WTD +
Axis2).
<br>
<br>
Well I have problem sending the object because in my model there are
EList and apparently Axis2 when create the WSDL don't know collection.
<br>
So should I send an XML?
<br>
if yes how can I create an XML concern only part of the model? because
I can create an
<br>
XMI using Resorce etcc. but then how can I extrapolate only what I
need?
<br>
<br>
Thanks for your help and time.
<br>
</blockquote>
</body>
</html>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Send EMF object over the net [message #687038 is a reply to message #673597] Tue, 24 May 2011 11:50 Go to previous message
John Smith is currently offline John SmithFriend
Messages: 137
Registered: July 2009
Senior Member
> Hi Michel,
>
> Check if this link helps you.
>
> http://wiki.eclipse.org/EMF/Recipes#Recipe:_Using_EMF_for_SOAP_.2F_Compatibility_between_EMF_XML_and_Axis_or_JAX_XML
>
>
> cheers,
> Saurav
>


The link is interesting, is there an example for this technique somewhere?
Previous Topic:(no subject)
Next Topic:(no subject)
Goto Forum:
  


Current Time: Fri Mar 29 06:06:18 GMT 2024

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

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

Back to the top