You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@tuscany.apache.org by "Wolf, Chris" <Ch...@morganstanley.com> on 2009/07/16 16:08:49 UTC

Re: top-down service creation / OSGi

Hello, I didn't see any way to search the list at:
http://mail-archives.apache.org/mod_mbox/tuscany-user/
 
So forgive potentially redundant questions.  I have two:
 
1.) I looked at the service creation tutorial:
 
http://tuscany.apache.org/build-your-first-web-services-with-tuscany.htm
l
     I see this is a "bottom-up" approach using code annotations.  My
question is: can we start with a WSDL
     and create a service component for/with Tuscany?
 
2.) Is there a way to create a mix of service components that use
different versions of the same JAR dependencies?
     i.e. something like OSGi?
 
Thanks,
 
Chris W.

--------------------------------------------------------------------------
NOTICE: If received in error, please destroy, and notify sender. Sender does not intend to waive confidentiality or privilege. Use of this email is prohibited when received in error. We may monitor and store emails to the extent permitted by applicable law.

Re: top-down service creation / OSGi

Posted by Raymond Feng <en...@gmail.com>.
Hi,

1) Sure, you can start with a WSDL to create an SCA component.

For example, if you want to develop a Web Service with Tuscany, you can do 
the following:

a. Develop a WSDL
b. Run JAX-WS wsimport tools to generated the Service Endpoint Interface 
(SEI) and related JAXB classes
c. Write a Java component that implements the SEI
d. Configure the component service with Web Service binding (binding.ws)

To consume a Web Service:

c. Write a Java component that consumes the SEI by defining an SCA reference
d. Configure the component reference with Web Service binding (binding.ws)

To add a BPEL process:
a. Develop a WSDL and BPEL process
b. Create an SCA component with implementation.bpel
c. For partnerLinks, you can use Java components that consume or provide the 
services using the JAX-WS SEI generated from the WSDL

2) Tuscany 2.x stream (trunk) has full OSGi integration including the 
runtime enablement and a prototype of Distributed OSGi.

Thanks,
Raymond

From: Wolf, Chris
Sent: Thursday, July 16, 2009 7:08 AM
To: user@tuscany.apache.org
Subject: Re: top-down service creation / OSGi


Hello, I didn't see any way to search the list at:
http://mail-archives.apache.org/mod_mbox/tuscany-user/

So forgive potentially redundant questions.  I have two:

1.) I looked at the service creation tutorial:
     http://tuscany.apache.org/build-your-first-web-services-with-tuscany.html
     I see this is a "bottom-up" approach using code annotations.  My 
question is: can we start with a WSDL
     and create a service component for/with Tuscany?

2.) Is there a way to create a mix of service components that use different 
versions of the same JAR dependencies?
     i.e. something like OSGi?

Thanks,

Chris W.



NOTICE: If received in error, please destroy, and notify sender. Sender does 
not intend to waive confidentiality or privilege. Use of this email is 
prohibited when received in error. We may monitor and store emails to the 
extent permitted by applicable law. 


Re: top-down service creation / OSGi

Posted by Jason Pratt <jp...@gmail.com>.
hi chris,
i am just getting started too, but you should look at felix or equinox for
the mix-n-match aspects via osgi. for the top down dev, i've been going the
XSD/JAXB2/Spring route and it seems to be working.

jason

On Tue, Jul 21, 2009 at 9:45 AM, Wolf, Chris
<Ch...@morganstanley.com>wrote:

>  Can anybody help me with this question? Especially the question regarding
> top-down service creation.
>
> Thanks,
>
>    -Chris W.
>
>  ------------------------------
> *From:* Wolf, Chris (IDEAS)
> *Sent:* Thursday, July 16, 2009 10:09 AM
> *To:* user@tuscany.apache.org
> *Subject:* Re: top-down service creation / OSGi
>
>  Hello, I didn't see any way to search the list at:
> http://mail-archives.apache.org/mod_mbox/tuscany-user/
>
> So forgive potentially redundant questions.  I have two:
>
> 1.) I looked at the service creation tutorial:
>
> http://tuscany.apache.org/build-your-first-web-services-with-tuscany.html
>      I see this is a "bottom-up" approach using code annotations.  My
> question is: can we start with a WSDL
>      and create a service component for/with Tuscany?
>
> 2.) Is there a way to create a mix of service components that use different
> versions of the same JAR dependencies?
>      i.e. something like OSGi?
>
> Thanks,
>
> Chris W.
>  ------------------------------
>
> NOTICE: If received in error, please destroy, and notify sender. Sender
> does not intend to waive confidentiality or privilege. Use of this email is
> prohibited when received in error. We may monitor and store emails to the
> extent permitted by applicable law.
>  ------------------------------
>
> NOTICE: If received in error, please destroy, and notify sender. Sender
> does not intend to waive confidentiality or privilege. Use of this email is
> prohibited when received in error. We may monitor and store emails to the
> extent permitted by applicable law.
>

RE: top-down service creation / OSGi

Posted by "Wolf, Chris" <Ch...@morganstanley.com>.
Can anybody help me with this question? Especially the question
regarding top-down service creation.
 
Thanks,
 
   -Chris W.

________________________________

From: Wolf, Chris (IDEAS) 
Sent: Thursday, July 16, 2009 10:09 AM
To: user@tuscany.apache.org
Subject: Re: top-down service creation / OSGi


Hello, I didn't see any way to search the list at:
http://mail-archives.apache.org/mod_mbox/tuscany-user/
 
So forgive potentially redundant questions.  I have two:
 
1.) I looked at the service creation tutorial:
 
http://tuscany.apache.org/build-your-first-web-services-with-tuscany.htm
l
     I see this is a "bottom-up" approach using code annotations.  My
question is: can we start with a WSDL
     and create a service component for/with Tuscany?
 
2.) Is there a way to create a mix of service components that use
different versions of the same JAR dependencies?
     i.e. something like OSGi?
 
Thanks,
 
Chris W.
________________________________


NOTICE: If received in error, please destroy, and notify sender. Sender
does not intend to waive confidentiality or privilege. Use of this email
is prohibited when received in error. We may monitor and store emails to
the extent permitted by applicable law.


--------------------------------------------------------------------------
NOTICE: If received in error, please destroy, and notify sender. Sender does not intend to waive confidentiality or privilege. Use of this email is prohibited when received in error. We may monitor and store emails to the extent permitted by applicable law.