You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by Jarek Gawor <jg...@gmail.com> on 2008/08/14 22:45:26 UTC

Axis2: Using CXF tooling instead of Sun tooling to generate WSDL

Hi,

Right now, when using Axis2 as the JAX-WS provider, Geronimo will use
Sun tooling (wsgen/wsimport) to generate the WSDL and other artifacts
for the web service. That requires some Sun libraries to be
distributed with Geronimo such as jaxws-rt.jar, jaxws-tools.jar, etc.
I am wondering what people think if we switched Geronimo to use CXF
tooling instead of Sun tooling (in Geronimo 2.2 only; assuming CXF
tooling passes all the TCK tests (which it does AFAIK)).

Jarek

Re: Axis2: Using CXF tooling instead of Sun tooling to generate WSDL

Posted by Lin Sun <li...@gmail.com>.
Quick google showed that Axis2 v1.4 recommended users to use
wsimport/wsgen tools in JDK1.6 for JAXWS code generation (see
http://marc.info/?l=webservices-general&m=120974410219252&w=2).

I agree that we can replace the sun's wsgen and wsimport with CXF's
equivalent, if all goes well.

Lin

On Fri, Aug 15, 2008 at 8:35 AM, Davanum Srinivas <da...@gmail.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> I agree with Jarek. We don't have the equivalent of wsgen or wsimport in Axis2.
>
> - -- dims
>
> Jarek Gawor wrote:
>> I'm pretty confident in CXF tooling but not so much about Axis2. Sure,
>> we can re-assess Axis2 tooling first. Is this something you can take a
>> look at?
>>
>> Thanks,
>> Jarek
>>
>> On Thu, Aug 14, 2008 at 5:13 PM, Lin Sun <li...@gmail.com> wrote:
>>> Hi,
>>>
>>> Do we have a feel about how stable is the CXF wsdl generation code,
>>> besides tck?   I remember way back we decided we could not use Axis2's
>>> wsdl generation code as it didn't support annotation.   Should we also
>>> look into where Axis2's wsdl generation code is now and assess if we
>>> should use Axis2's or CXF's?
>>>
>>> Lin
>>>
>>> On Thu, Aug 14, 2008 at 4:45 PM, Jarek Gawor <jg...@gmail.com> wrote:
>>>> Hi,
>>>>
>>>> Right now, when using Axis2 as the JAX-WS provider, Geronimo will use
>>>> Sun tooling (wsgen/wsimport) to generate the WSDL and other artifacts
>>>> for the web service. That requires some Sun libraries to be
>>>> distributed with Geronimo such as jaxws-rt.jar, jaxws-tools.jar, etc.
>>>> I am wondering what people think if we switched Geronimo to use CXF
>>>> tooling instead of Sun tooling (in Geronimo 2.2 only; assuming CXF
>>>> tooling passes all the TCK tests (which it does AFAIK)).
>>>>
>>>> Jarek
>>>>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
>
> iD8DBQFIpXf8gNg6eWEDv1kRAtvnAJwOMN9AMuoF+yOH6v638l2/22J/9ACfdGrA
> GXdFW0sMK7FvmmjDkCL3WrI=
> =C6wf
> -----END PGP SIGNATURE-----
>

Re: Axis2: Using CXF tooling instead of Sun tooling to generate WSDL

Posted by Davanum Srinivas <da...@gmail.com>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I agree with Jarek. We don't have the equivalent of wsgen or wsimport in Axis2.

- -- dims

Jarek Gawor wrote:
> I'm pretty confident in CXF tooling but not so much about Axis2. Sure,
> we can re-assess Axis2 tooling first. Is this something you can take a
> look at?
> 
> Thanks,
> Jarek
> 
> On Thu, Aug 14, 2008 at 5:13 PM, Lin Sun <li...@gmail.com> wrote:
>> Hi,
>>
>> Do we have a feel about how stable is the CXF wsdl generation code,
>> besides tck?   I remember way back we decided we could not use Axis2's
>> wsdl generation code as it didn't support annotation.   Should we also
>> look into where Axis2's wsdl generation code is now and assess if we
>> should use Axis2's or CXF's?
>>
>> Lin
>>
>> On Thu, Aug 14, 2008 at 4:45 PM, Jarek Gawor <jg...@gmail.com> wrote:
>>> Hi,
>>>
>>> Right now, when using Axis2 as the JAX-WS provider, Geronimo will use
>>> Sun tooling (wsgen/wsimport) to generate the WSDL and other artifacts
>>> for the web service. That requires some Sun libraries to be
>>> distributed with Geronimo such as jaxws-rt.jar, jaxws-tools.jar, etc.
>>> I am wondering what people think if we switched Geronimo to use CXF
>>> tooling instead of Sun tooling (in Geronimo 2.2 only; assuming CXF
>>> tooling passes all the TCK tests (which it does AFAIK)).
>>>
>>> Jarek
>>>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFIpXf8gNg6eWEDv1kRAtvnAJwOMN9AMuoF+yOH6v638l2/22J/9ACfdGrA
GXdFW0sMK7FvmmjDkCL3WrI=
=C6wf
-----END PGP SIGNATURE-----

Re: Axis2: Using CXF tooling instead of Sun tooling to generate WSDL

Posted by Jarek Gawor <jg...@gmail.com>.
I'm pretty confident in CXF tooling but not so much about Axis2. Sure,
we can re-assess Axis2 tooling first. Is this something you can take a
look at?

Thanks,
Jarek

On Thu, Aug 14, 2008 at 5:13 PM, Lin Sun <li...@gmail.com> wrote:
> Hi,
>
> Do we have a feel about how stable is the CXF wsdl generation code,
> besides tck?   I remember way back we decided we could not use Axis2's
> wsdl generation code as it didn't support annotation.   Should we also
> look into where Axis2's wsdl generation code is now and assess if we
> should use Axis2's or CXF's?
>
> Lin
>
> On Thu, Aug 14, 2008 at 4:45 PM, Jarek Gawor <jg...@gmail.com> wrote:
>> Hi,
>>
>> Right now, when using Axis2 as the JAX-WS provider, Geronimo will use
>> Sun tooling (wsgen/wsimport) to generate the WSDL and other artifacts
>> for the web service. That requires some Sun libraries to be
>> distributed with Geronimo such as jaxws-rt.jar, jaxws-tools.jar, etc.
>> I am wondering what people think if we switched Geronimo to use CXF
>> tooling instead of Sun tooling (in Geronimo 2.2 only; assuming CXF
>> tooling passes all the TCK tests (which it does AFAIK)).
>>
>> Jarek
>>
>

Re: Axis2: Using CXF tooling instead of Sun tooling to generate WSDL

Posted by Deepal Jayasinghe <de...@opensource.lk>.
> Hi Deepal,
>
> Thanks - it is good to know that Axis2 supports WSDL generation with
> annotation.   Can you please provide us the current known limitation
> of the wsdl generation tool in Axis2?   As I mentioned in my other
> note yesterday, Axis2 v1.4 recommended users to use
> wsimport/wsgen tools in JDK1.6 for JAXWS code generation, so I thought
> the tool was not ready when I read it.
>   
As you might know JAXWS and annotation based WSDL generation are two 
different things in Axis2. Yes JAXWS also has all those JSR 181 
annotation and WSDL generation (but I do not know much about that) . 
When talking about Axis2 Java2WSDL support it has its own WSDL 
generation , and it support all the parts in JSR 181 specification. May 
be you could try and see whether you find any limitation with that, 
because I did not do much work with annotation and WSDL generation. If 
we find any limitation let's fix that.

Thank you!
Deepal
> Lin
>
>
>
> On 8/14/08, Deepal Jayasinghe <de...@opensource.lk> wrote:
>   
>>  Axis2 does support for WSDL generation with annotation (JSR181). We added
>> that a long time back.
>>
>>  Thank you!
>>  Deepal
>>
>>     
>>>
>>>
>>>
>>>       
>>  --
>>  Thanks,
>>  Deepal
>> ................................................................
>>  http://blogs.deepal.org/
>>
>>
>>
>>
>>     
>
>
>   

-- 
Thanks,
Deepal
................................................................
http://blogs.deepal.org/




Re: Axis2: Using CXF tooling instead of Sun tooling to generate WSDL

Posted by Lin Sun <li...@gmail.com>.
Hi Deepal,

Thanks - it is good to know that Axis2 supports WSDL generation with
annotation.   Can you please provide us the current known limitation
of the wsdl generation tool in Axis2?   As I mentioned in my other
note yesterday, Axis2 v1.4 recommended users to use
wsimport/wsgen tools in JDK1.6 for JAXWS code generation, so I thought
the tool was not ready when I read it.

Lin



On 8/14/08, Deepal Jayasinghe <de...@opensource.lk> wrote:
>
>  Axis2 does support for WSDL generation with annotation (JSR181). We added
> that a long time back.
>
>  Thank you!
>  Deepal
>
> >
> >
> >
> >
> >
>
>  --
>  Thanks,
>  Deepal
> ................................................................
>  http://blogs.deepal.org/
>
>
>
>

Re: Axis2: Using CXF tooling instead of Sun tooling to generate WSDL

Posted by Daniel Kulp <dk...@apache.org>.
Deepal,

I hope you realize that generating wsdl from JSR181 stuff is a small part of a 
full JAX-WS compliant tooling story.   If you look at the two tools:

wsgen (java2ws in CXF): this tool requires generation of not just WSDL and 
Schema, but also various JAX-WS beans such as fault beans, wrapper beans, 
etc...  This has also become slightly more complicated in JAX-WS 2.1 due to 
the requirement to support a subset of the JAXB annotations on the SEI as 
well, but not too major.

wsimport (wsdl2java in CXF): 
Obviously, this needs to output JAX-WS compliant code (mostly the JSR181 
annotations and JAXB).   However, it also has to support all the jax-ws and 
jaxb customization binding files.

Anyway, as Jarek pointed out, the CXF tools are completely JAX-WS compliant 
and DO pass the TCK.  They are named differently than the RI tools (serious, 
what's up with wsimport/wsgen?   wsdl2java/java2ws seems to make more sense 
to me), but they do meet all the requirements. 

Dan
   

On Thursday 14 August 2008 7:04:54 pm Deepal Jayasinghe wrote:
> > Hi,
> >
> > Do we have a feel about how stable is the CXF wsdl generation code,
> > besides tck?   I remember way back we decided we could not use Axis2's
> > wsdl generation code as it didn't support annotation.   Should we also
> > look into where Axis2's wsdl generation code is now and assess if we
> > should use Axis2's or CXF's?
>
> Axis2 does support for WSDL generation with annotation (JSR181). We
> added that a long time back.
>
> Thank you!
> Deepal



-- 
Daniel Kulp
dkulp@apache.org
http://www.dankulp.com/blog

Re: Axis2: Using CXF tooling instead of Sun tooling to generate WSDL

Posted by Deepal Jayasinghe <de...@opensource.lk>.

> Hi,
>
> Do we have a feel about how stable is the CXF wsdl generation code,
> besides tck?   I remember way back we decided we could not use Axis2's
> wsdl generation code as it didn't support annotation.   Should we also
> look into where Axis2's wsdl generation code is now and assess if we
> should use Axis2's or CXF's?
>   
Axis2 does support for WSDL generation with annotation (JSR181). We 
added that a long time back.

Thank you!
Deepal
>
>
>
>   

-- 
Thanks,
Deepal
................................................................
http://blogs.deepal.org/




Re: Axis2: Using CXF tooling instead of Sun tooling to generate WSDL

Posted by Lin Sun <li...@gmail.com>.
Hi,

Do we have a feel about how stable is the CXF wsdl generation code,
besides tck?   I remember way back we decided we could not use Axis2's
wsdl generation code as it didn't support annotation.   Should we also
look into where Axis2's wsdl generation code is now and assess if we
should use Axis2's or CXF's?

Lin

On Thu, Aug 14, 2008 at 4:45 PM, Jarek Gawor <jg...@gmail.com> wrote:
> Hi,
>
> Right now, when using Axis2 as the JAX-WS provider, Geronimo will use
> Sun tooling (wsgen/wsimport) to generate the WSDL and other artifacts
> for the web service. That requires some Sun libraries to be
> distributed with Geronimo such as jaxws-rt.jar, jaxws-tools.jar, etc.
> I am wondering what people think if we switched Geronimo to use CXF
> tooling instead of Sun tooling (in Geronimo 2.2 only; assuming CXF
> tooling passes all the TCK tests (which it does AFAIK)).
>
> Jarek
>