You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@tuscany.apache.org by Denny Xu <tu...@gmail.com> on 2008/01/02 09:24:36 UTC

Does Tuscany support jaxws implementation?

Hi all

I create a web service using stp jaxws project,  and now, I want assembly
these services as using sca components, I wondered if Tuscany supports jaxws
service as its implementation. I am trying to create a sca component in
composite file by following MikeEdwards's article in OSOA which url is
http://www.osoa.org/display/Main/JAX-WS+Services+Integration.

<component name="GreeterComponment">
<tuscany: implementation.jaxws class="
org.apache.hellow_world_soap.GreeterImpl"/>
</component>

Does Tuscany know the tag "implementation.jaxws"

Thanks
Denny

Re: Does Tuscany support jaxws implementation?

Posted by Simon Nash <na...@hursley.ibm.com>.
See inline.

   Simon

Raymond Feng wrote:

> Hi,
> 
> I'm looking into the JAXWS support from a slight different perspetive. 
> Basically, I'm adding JAXWS annotation processing capability into 
> Tuscany so that Tuscany can capture the addtional metadata from the 
> annotations and use them during runtime.
> 
+1 for adding this.  Is this only for JAX-WS annotations or for
JAXB annotations as well?

   Simon

> Thanks,
> Raymond
> 
> ----- Original Message ----- From: "Denny Xu" <tu...@gmail.com>
> To: <tu...@ws.apache.org>
> Sent: Wednesday, January 02, 2008 12:24 AM
> Subject: Does Tuscany support jaxws implementation?
> 
> 
>> Hi all
>>
>> I create a web service using stp jaxws project,  and now, I want assembly
>> these services as using sca components, I wondered if Tuscany supports 
>> jaxws
>> service as its implementation. I am trying to create a sca component in
>> composite file by following MikeEdwards's article in OSOA which url is
>> http://www.osoa.org/display/Main/JAX-WS+Services+Integration.
>>
>> <component name="GreeterComponment">
>> <tuscany: implementation.jaxws class="
>> org.apache.hellow_world_soap.GreeterImpl"/>
>> </component>
>>
>> Does Tuscany know the tag "implementation.jaxws"
>>
>> Thanks
>> Denny
>>
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tuscany-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: tuscany-user-help@ws.apache.org
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-user-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-user-help@ws.apache.org


Re: Does Tuscany support jaxws implementation?

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

Thank you for the info. I just checked in a module interface-java-jaxws 
under r614265. The basic idea is to enable the JAXWS annotations and provide 
extra metadata for the Tuscany runtime. Please feel free to jump in and 
help.

Raymond

----- Original Message ----- 
From: "ant elder" <an...@gmail.com>
To: <tu...@ws.apache.org>
Sent: Monday, January 21, 2008 11:53 PM
Subject: Re: Does Tuscany support jaxws implementation?


> To help with motivation for doing this here's a blog post also asking for 
> it
> -
> http://biemond.blogspot.com/2008/01/tuscany-sca-java-and-jdeveloper-11g.html
>
>   ...ant
>
> On Jan 7, 2008 5:39 PM, Raymond Feng <en...@gmail.com> wrote:
>
>> Hi,
>>
>> I'm looking into the JAXWS support from a slight different perspetive.
>> Basically, I'm adding JAXWS annotation processing capability into Tuscany
>> so
>> that Tuscany can capture the addtional metadata from the annotations and
>> use
>> them during runtime.
>>
>> Thanks,
>> Raymond
>>
>> ----- Original Message -----
>> From: "Denny Xu" <tu...@gmail.com>
>> To: <tu...@ws.apache.org>
>> Sent: Wednesday, January 02, 2008 12:24 AM
>> Subject: Does Tuscany support jaxws implementation?
>>
>>
>> > Hi all
>> >
>> > I create a web service using stp jaxws project,  and now, I want
>> assembly
>> > these services as using sca components, I wondered if Tuscany supports
>> > jaxws
>> > service as its implementation. I am trying to create a sca component in
>> > composite file by following MikeEdwards's article in OSOA which url is
>> > http://www.osoa.org/display/Main/JAX-WS+Services+Integration.
>> >
>> > <component name="GreeterComponment">
>> > <tuscany: implementation.jaxws class="
>> > org.apache.hellow_world_soap.GreeterImpl"/>
>> > </component>
>> >
>> > Does Tuscany know the tag "implementation.jaxws"
>> >
>> > Thanks
>> > Denny
>> >
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: tuscany-user-unsubscribe@ws.apache.org
>> For additional commands, e-mail: tuscany-user-help@ws.apache.org
>>
>>
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


Re: Does Tuscany support jaxws implementation?

Posted by Simon Nash <na...@hursley.ibm.com>.
See inline.

   Simon

ant elder wrote:

> To help with motivation for doing this here's a blog post also asking for it
> -
> http://biemond.blogspot.com/2008/01/tuscany-sca-java-and-jdeveloper-11g.html
> 
>    ...ant
> 
I have read this a few times and I don't see where JAX-WS annotations
come into play for this sample.  It seems to be a pure POJO plus SDO
scenario.  Could the issue that he ran into perhaps relate to using
JAXB annotations to control the databinding serialization?  If so, I
would prioritize this above JAX-WS annotation support.  I have posted
a reply to the blog entry to try to find out more.

   Simon

> On Jan 7, 2008 5:39 PM, Raymond Feng <en...@gmail.com> wrote:
> 
> 
>>Hi,
>>
>>I'm looking into the JAXWS support from a slight different perspetive.
>>Basically, I'm adding JAXWS annotation processing capability into Tuscany
>>so
>>that Tuscany can capture the addtional metadata from the annotations and
>>use
>>them during runtime.
>>
>>Thanks,
>>Raymond
>>
>>----- Original Message -----
>>From: "Denny Xu" <tu...@gmail.com>
>>To: <tu...@ws.apache.org>
>>Sent: Wednesday, January 02, 2008 12:24 AM
>>Subject: Does Tuscany support jaxws implementation?
>>
>>
>>
>>>Hi all
>>>
>>>I create a web service using stp jaxws project,  and now, I want
>>
>>assembly
>>
>>>these services as using sca components, I wondered if Tuscany supports
>>>jaxws
>>>service as its implementation. I am trying to create a sca component in
>>>composite file by following MikeEdwards's article in OSOA which url is
>>>http://www.osoa.org/display/Main/JAX-WS+Services+Integration.
>>>
>>><component name="GreeterComponment">
>>><tuscany: implementation.jaxws class="
>>>org.apache.hellow_world_soap.GreeterImpl"/>
>>></component>
>>>
>>>Does Tuscany know the tag "implementation.jaxws"
>>>
>>>Thanks
>>>Denny
>>>
>>



---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


Re: Does Tuscany support jaxws implementation?

Posted by ant elder <an...@gmail.com>.
To help with motivation for doing this here's a blog post also asking for it
-
http://biemond.blogspot.com/2008/01/tuscany-sca-java-and-jdeveloper-11g.html

   ...ant

On Jan 7, 2008 5:39 PM, Raymond Feng <en...@gmail.com> wrote:

> Hi,
>
> I'm looking into the JAXWS support from a slight different perspetive.
> Basically, I'm adding JAXWS annotation processing capability into Tuscany
> so
> that Tuscany can capture the addtional metadata from the annotations and
> use
> them during runtime.
>
> Thanks,
> Raymond
>
> ----- Original Message -----
> From: "Denny Xu" <tu...@gmail.com>
> To: <tu...@ws.apache.org>
> Sent: Wednesday, January 02, 2008 12:24 AM
> Subject: Does Tuscany support jaxws implementation?
>
>
> > Hi all
> >
> > I create a web service using stp jaxws project,  and now, I want
> assembly
> > these services as using sca components, I wondered if Tuscany supports
> > jaxws
> > service as its implementation. I am trying to create a sca component in
> > composite file by following MikeEdwards's article in OSOA which url is
> > http://www.osoa.org/display/Main/JAX-WS+Services+Integration.
> >
> > <component name="GreeterComponment">
> > <tuscany: implementation.jaxws class="
> > org.apache.hellow_world_soap.GreeterImpl"/>
> > </component>
> >
> > Does Tuscany know the tag "implementation.jaxws"
> >
> > Thanks
> > Denny
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tuscany-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: tuscany-user-help@ws.apache.org
>
>

Re: Does Tuscany support jaxws implementation?

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

I'm looking into the JAXWS support from a slight different perspetive. 
Basically, I'm adding JAXWS annotation processing capability into Tuscany so 
that Tuscany can capture the addtional metadata from the annotations and use 
them during runtime.

Thanks,
Raymond

----- Original Message ----- 
From: "Denny Xu" <tu...@gmail.com>
To: <tu...@ws.apache.org>
Sent: Wednesday, January 02, 2008 12:24 AM
Subject: Does Tuscany support jaxws implementation?


> Hi all
>
> I create a web service using stp jaxws project,  and now, I want assembly
> these services as using sca components, I wondered if Tuscany supports 
> jaxws
> service as its implementation. I am trying to create a sca component in
> composite file by following MikeEdwards's article in OSOA which url is
> http://www.osoa.org/display/Main/JAX-WS+Services+Integration.
>
> <component name="GreeterComponment">
> <tuscany: implementation.jaxws class="
> org.apache.hellow_world_soap.GreeterImpl"/>
> </component>
>
> Does Tuscany know the tag "implementation.jaxws"
>
> Thanks
> Denny
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-user-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-user-help@ws.apache.org


Re: Does Tuscany support jaxws implementation?

Posted by Denny Xu <tu...@gmail.com>.
Hi Simon

It's great to hear that a POJO wrapper class can be used for jaxws service
as a java implementation, since the work I'm working on is still on
investigate phase, the sample  has to be set all jars of  CXF and Tuscany
into project class path, and it still does not work so far.  I will look for
your help later.

Thanks
Denny





On Jan 3, 2008 11:00 PM, Simon Nash <na...@hursley.ibm.com> wrote:

> Hi Denny,
> It may be possible to create a POJO wrapper class for the jaxws service
> and use the implementation.java type to make this into an SCA component.
> If you can point me at an example jaxws service with instructions for
> how to run it, I'll take a look and see how feasible this is.
>
>   Simon
>
> Denny Xu wrote:
> > Hi Simon
> >
> > I would like to add support for implementation.jaxws components in
> Tuscany,
> > but for now , I have been working on Eclipse STP project and have to
> spent
> > more time on the project for next release. I'm very interested in
> Tuncany
> > and very pleasure to contribute to it when I have more time.
> >
> > So far, in my project, I am trying to assemble jaxws services into SCA
> > components and run with tuncany,  do you have any suggestions on how to
> > create sca components with jaxws implementation?  where can I get a
> sample
> > about it?
> >
> > Thanks
> > Denny
> >
> >
> >
> >
> > On Jan 2, 2008 7:42 PM, Simon Nash <na...@hursley.ibm.com> wrote:
> >
> >
> >>Hi Denny,
> >>We don't have this support in Tuscany currently.  I think it would
> >>be good to add it.
> >>
> >>I have been doing some work recently to provide better support for
> >>JAX-WS semantics in the Tuscany implementations of implementation.java
> >>and binding.ws, but this is not the same as what's described in the
> >>article.  However, this code should be reusable as part of the work
> >>to support implementation.jaxws components.  For example, the fix for
> >>TUSCANY-1939 adds data binding support for the default JAX-WS mapping
> >>of thrown POJO exceptions.
> >>
> >>Are you interested in helping with adding support for
> implementation.jaxws
> >>components in Tuscany?
> >>
> >>  Simon
> >>
> >>Denny Xu wrote:
> >>
> >>>Hi all
> >>>
> >>>I create a web service using stp jaxws project,  and now, I want
> >>
> >>assembly
> >>
> >>>these services as using sca components, I wondered if Tuscany supports
> >>
> >>jaxws
> >>
> >>>service as its implementation. I am trying to create a sca component in
> >>>composite file by following MikeEdwards's article in OSOA which url is
> >>>http://www.osoa.org/display/Main/JAX-WS+Services+Integration.
> >>>
> >>><component name="GreeterComponment">
> >>><tuscany: implementation.jaxws class="
> >>>org.apache.hellow_world_soap.GreeterImpl"/>
> >>></component>
> >>>
> >>>Does Tuscany know the tag "implementation.jaxws"
> >>>
> >>>Thanks
> >>>Denny
> >>>
> >>
> >>
> >>---------------------------------------------------------------------
> >>To unsubscribe, e-mail: tuscany-user-unsubscribe@ws.apache.org
> >>For additional commands, e-mail: tuscany-user-help@ws.apache.org
> >>
> >>
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tuscany-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: tuscany-user-help@ws.apache.org
>
>

Re: Does Tuscany support jaxws implementation?

Posted by Simon Nash <na...@hursley.ibm.com>.
Hi Denny,
It may be possible to create a POJO wrapper class for the jaxws service
and use the implementation.java type to make this into an SCA component.
If you can point me at an example jaxws service with instructions for
how to run it, I'll take a look and see how feasible this is.

   Simon

Denny Xu wrote:
> Hi Simon
> 
> I would like to add support for implementation.jaxws components in Tuscany,
> but for now , I have been working on Eclipse STP project and have to spent
> more time on the project for next release. I'm very interested in Tuncany
> and very pleasure to contribute to it when I have more time.
> 
> So far, in my project, I am trying to assemble jaxws services into SCA
> components and run with tuncany,  do you have any suggestions on how to
> create sca components with jaxws implementation?  where can I get a sample
> about it?
> 
> Thanks
> Denny
> 
> 
> 
> 
> On Jan 2, 2008 7:42 PM, Simon Nash <na...@hursley.ibm.com> wrote:
> 
> 
>>Hi Denny,
>>We don't have this support in Tuscany currently.  I think it would
>>be good to add it.
>>
>>I have been doing some work recently to provide better support for
>>JAX-WS semantics in the Tuscany implementations of implementation.java
>>and binding.ws, but this is not the same as what's described in the
>>article.  However, this code should be reusable as part of the work
>>to support implementation.jaxws components.  For example, the fix for
>>TUSCANY-1939 adds data binding support for the default JAX-WS mapping
>>of thrown POJO exceptions.
>>
>>Are you interested in helping with adding support for implementation.jaxws
>>components in Tuscany?
>>
>>  Simon
>>
>>Denny Xu wrote:
>>
>>>Hi all
>>>
>>>I create a web service using stp jaxws project,  and now, I want
>>
>>assembly
>>
>>>these services as using sca components, I wondered if Tuscany supports
>>
>>jaxws
>>
>>>service as its implementation. I am trying to create a sca component in
>>>composite file by following MikeEdwards's article in OSOA which url is
>>>http://www.osoa.org/display/Main/JAX-WS+Services+Integration.
>>>
>>><component name="GreeterComponment">
>>><tuscany: implementation.jaxws class="
>>>org.apache.hellow_world_soap.GreeterImpl"/>
>>></component>
>>>
>>>Does Tuscany know the tag "implementation.jaxws"
>>>
>>>Thanks
>>>Denny
>>>
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: tuscany-user-unsubscribe@ws.apache.org
>>For additional commands, e-mail: tuscany-user-help@ws.apache.org
>>
>>
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-user-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-user-help@ws.apache.org


Re: Does Tuscany support jaxws implementation?

Posted by Denny Xu <tu...@gmail.com>.
Hi Simon

I would like to add support for implementation.jaxws components in Tuscany,
but for now , I have been working on Eclipse STP project and have to spent
more time on the project for next release. I'm very interested in Tuncany
and very pleasure to contribute to it when I have more time.

So far, in my project, I am trying to assemble jaxws services into SCA
components and run with tuncany,  do you have any suggestions on how to
create sca components with jaxws implementation?  where can I get a sample
about it?

Thanks
Denny




On Jan 2, 2008 7:42 PM, Simon Nash <na...@hursley.ibm.com> wrote:

> Hi Denny,
> We don't have this support in Tuscany currently.  I think it would
> be good to add it.
>
> I have been doing some work recently to provide better support for
> JAX-WS semantics in the Tuscany implementations of implementation.java
> and binding.ws, but this is not the same as what's described in the
> article.  However, this code should be reusable as part of the work
> to support implementation.jaxws components.  For example, the fix for
> TUSCANY-1939 adds data binding support for the default JAX-WS mapping
> of thrown POJO exceptions.
>
> Are you interested in helping with adding support for implementation.jaxws
> components in Tuscany?
>
>   Simon
>
> Denny Xu wrote:
> > Hi all
> >
> > I create a web service using stp jaxws project,  and now, I want
> assembly
> > these services as using sca components, I wondered if Tuscany supports
> jaxws
> > service as its implementation. I am trying to create a sca component in
> > composite file by following MikeEdwards's article in OSOA which url is
> > http://www.osoa.org/display/Main/JAX-WS+Services+Integration.
> >
> > <component name="GreeterComponment">
> > <tuscany: implementation.jaxws class="
> > org.apache.hellow_world_soap.GreeterImpl"/>
> > </component>
> >
> > Does Tuscany know the tag "implementation.jaxws"
> >
> > Thanks
> > Denny
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tuscany-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: tuscany-user-help@ws.apache.org
>
>

Re: Does Tuscany support jaxws implementation?

Posted by Simon Nash <na...@hursley.ibm.com>.
Hi Denny,
We don't have this support in Tuscany currently.  I think it would
be good to add it.

I have been doing some work recently to provide better support for
JAX-WS semantics in the Tuscany implementations of implementation.java
and binding.ws, but this is not the same as what's described in the
article.  However, this code should be reusable as part of the work
to support implementation.jaxws components.  For example, the fix for
TUSCANY-1939 adds data binding support for the default JAX-WS mapping
of thrown POJO exceptions.

Are you interested in helping with adding support for implementation.jaxws
components in Tuscany?

   Simon

Denny Xu wrote:
> Hi all
> 
> I create a web service using stp jaxws project,  and now, I want assembly
> these services as using sca components, I wondered if Tuscany supports jaxws
> service as its implementation. I am trying to create a sca component in
> composite file by following MikeEdwards's article in OSOA which url is
> http://www.osoa.org/display/Main/JAX-WS+Services+Integration.
> 
> <component name="GreeterComponment">
> <tuscany: implementation.jaxws class="
> org.apache.hellow_world_soap.GreeterImpl"/>
> </component>
> 
> Does Tuscany know the tag "implementation.jaxws"
> 
> Thanks
> Denny
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-user-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-user-help@ws.apache.org