Re: Simple Web Service with JAX-WS sample on AG wiki
Hi Lin I too trying on this sample with the latest built today.I'm trying to deploy and do the server debugging for both axis2 and CXF targeting more testing on tasks of Supports javax.jws.WebService annotation and Supports web service annotation with web service descriptor file - web service deployment descriptor file override or enhance web service annotations in http://cwiki.apache.org/GMOxPMGT/geronimo-20-web-services-support.html I'll also keep you update with the status.Present confluence url for this sample application says that CXF has to be the latest and installed.Can't I use the existing CXF binaries and installed for this. Regards Kanchana On Thu, 2007-02-15 at 22:46 -0500, Lin Sun wrote: > Hi there, > > After making some changes to the sample[1], I am able to get it > (slightly different versions of it for CXF and Axis2) working with this > week's trunk. > > Here are some observations: > 1) I have to use the generated classes (package-info, objectFactory, > RequestWrapper and ResponseWrapper classes) for CXF to get the war file > deployed. This was not required before... > 2) I developed an Axiom based web services client for Axis2 so that it > doesn't require CXF specific jars at the runtime of the client. > > I'll begin updating the docs and send out another update. Initial > thought is to use the same wiki page for both CXF and Axis2 (instead of > creating a new page for Axis2) and highlight the differences. > > Lin > > [1]http://cwiki.apache.org/GMOxDOC20/simple-web-service-with-jax-ws.html
Re: Simple Web Service with JAX-WS sample on AG wiki
Hi Lin On Fri, 2007-02-16 at 09:48 -0500, Lin Sun wrote: > To make Jarek's job easier, I'll start a wiki write-up by creating a > table with lists of functions we need to do for CXF and Axis2. This will be really great Lin.Please do.I'm interested of contributing and started some testing to have some picking point. Thanks Kanchana > I'll get > this information from JSR109 which is the only spec we (geronimo) needs > to implement IIUC. Then we can check items that we think is developed > and/or tested. I'll have placeholders for stuff I don't know so that > you guys can fill in the holes.:-) I'll begin working on this next > week as soon as I finish up with the sample. > > Lin > > Davanum Srinivas wrote: > > Lasantha, > > > > Jarek promised to write up a list of items implemented then we can > > make a check list and fix whatever is missing. We need to test all the > > code too. Since we don't know what works and what doesn't as we don't > > have full test coverage. > > > > thanks, > > dims > > > > On 2/15/07, Lasantha Ranaweera <[EMAIL PROTECTED]> wrote: > >> Hi Lin, > >> > >> Great work... We are getting closer & closer to finish Axis2 with POJO > >> support ... Dims do you any idea to add what are we missing right now ? > >> > >> Are you using latest version of trunk to build Geronimo? IMO in Axis2 > >> there is a bug and I am submitting a patch for that too ;). > >> > >> Please see my in line comments too. > >> > >> Thanks, > >> Lasantha > >> Lin Sun wrote: > >> > Hi there, > >> > > >> > After making some changes to the sample[1], I am able to get it > >> > (slightly different versions of it for CXF and Axis2) working with > >> > this week's trunk. > >> > > >> > Here are some observations: > >> > 1) I have to use the generated classes (package-info, objectFactory, > >> > RequestWrapper and ResponseWrapper classes) for CXF to get the war > >> > file deployed. This was not required before... > >> It wasn't necessary to generate these files in CXF for WSDL provided > >> situation before. I though it is only for Axis2 to necessary to do this > >> step. Jarek do you have any idea ? :-) > >> > 2) I developed an Axiom based web services client for Axis2 so that it > >> > doesn't require CXF specific jars at the runtime of the client. > >> > > >> > I'll begin updating the docs and send out another update. Initial > >> > thought is to use the same wiki page for both CXF and Axis2 (instead > >> > of creating a new page for Axis2) and highlight the differences. > >> > > >> > Lin > >> > > >> > > >> [1]http://cwiki.apache.org/GMOxDOC20/simple-web-service-with-jax-ws.html > >> > > >> > >> > > > > >
Re: Simple Web Service with JAX-WS sample on AG wiki
Sure - submitted G2846 for this. Thanks for reviewing it. Lin Davanum Srinivas wrote: Lin, Before you update the online doc. Could you please post the modified samples in JIRA? Let me take a quick look? thanks, dims On 2/15/07, Lin Sun <[EMAIL PROTECTED]> wrote: Hi there, After making some changes to the sample[1], I am able to get it (slightly different versions of it for CXF and Axis2) working with this week's trunk. Here are some observations: 1) I have to use the generated classes (package-info, objectFactory, RequestWrapper and ResponseWrapper classes) for CXF to get the war file deployed. This was not required before... 2) I developed an Axiom based web services client for Axis2 so that it doesn't require CXF specific jars at the runtime of the client. I'll begin updating the docs and send out another update. Initial thought is to use the same wiki page for both CXF and Axis2 (instead of creating a new page for Axis2) and highlight the differences. Lin [1]http://cwiki.apache.org/GMOxDOC20/simple-web-service-with-jax-ws.html
Re: Simple Web Service with JAX-WS sample on AG wiki
To make Jarek's job easier, I'll start a wiki write-up by creating a table with lists of functions we need to do for CXF and Axis2. I'll get this information from JSR109 which is the only spec we (geronimo) needs to implement IIUC. Then we can check items that we think is developed and/or tested. I'll have placeholders for stuff I don't know so that you guys can fill in the holes.:-) I'll begin working on this next week as soon as I finish up with the sample. Lin Davanum Srinivas wrote: Lasantha, Jarek promised to write up a list of items implemented then we can make a check list and fix whatever is missing. We need to test all the code too. Since we don't know what works and what doesn't as we don't have full test coverage. thanks, dims On 2/15/07, Lasantha Ranaweera <[EMAIL PROTECTED]> wrote: Hi Lin, Great work... We are getting closer & closer to finish Axis2 with POJO support ... Dims do you any idea to add what are we missing right now ? Are you using latest version of trunk to build Geronimo? IMO in Axis2 there is a bug and I am submitting a patch for that too ;). Please see my in line comments too. Thanks, Lasantha Lin Sun wrote: > Hi there, > > After making some changes to the sample[1], I am able to get it > (slightly different versions of it for CXF and Axis2) working with > this week's trunk. > > Here are some observations: > 1) I have to use the generated classes (package-info, objectFactory, > RequestWrapper and ResponseWrapper classes) for CXF to get the war > file deployed. This was not required before... It wasn't necessary to generate these files in CXF for WSDL provided situation before. I though it is only for Axis2 to necessary to do this step. Jarek do you have any idea ? :-) > 2) I developed an Axiom based web services client for Axis2 so that it > doesn't require CXF specific jars at the runtime of the client. > > I'll begin updating the docs and send out another update. Initial > thought is to use the same wiki page for both CXF and Axis2 (instead > of creating a new page for Axis2) and highlight the differences. > > Lin > > [1]http://cwiki.apache.org/GMOxDOC20/simple-web-service-with-jax-ws.html >
Re: Simple Web Service with JAX-WS sample on AG wiki
Hi Lasantha, I am using a geronimo build I built on Monday which is probably why I didn't see the bug you hit.:-) Re your inline comment below, seems there are sufficient changes in CXF recently to cause the previous example not working. I tried to run the war file without these generated classes but got some stack trace asking for something like getResquestWrapper from CXF... This can be easily recreated with the latest sample I have by just uncommenting out the java code generation portion in pom.xml if anyone is interested in more details. Thanks, Lin Lasantha Ranaweera wrote: Here are some observations: 1) I have to use the generated classes (package-info, objectFactory, RequestWrapper and ResponseWrapper classes) for CXF to get the war file deployed. This was not required before... It wasn't necessary to generate these files in CXF for WSDL provided situation before. I though it is only for Axis2 to necessary to do this step. Jarek do you have any idea ? :-)
Re: Simple Web Service with JAX-WS sample on AG wiki
Hi Jarek, good point - I dont have a good reason for that. :) It is just the examples I found are using Axiom. I'll let you know once I find out. Lin Jarek Gawor wrote: Great. A few comments inline: On 2/15/07, Lin Sun <[EMAIL PROTECTED]> wrote: Hi there, After making some changes to the sample[1], I am able to get it (slightly different versions of it for CXF and Axis2) working with this week's trunk. Here are some observations: 1) I have to use the generated classes (package-info, objectFactory, RequestWrapper and ResponseWrapper classes) for CXF to get the war file deployed. This was not required before... 2) I developed an Axiom based web services client for Axis2 so that it doesn't require CXF specific jars at the runtime of the client. Hmm... is that different from the javax.xml.ws.Service API? Why couldn't you use the Axis2 implementation of the Service API? I'll begin updating the docs and send out another update. Initial thought is to use the same wiki page for both CXF and Axis2 (instead of creating a new page for Axis2) and highlight the differences. Right, there should be only one page. And eventually (and hopefully) those differences should disappear, so we should stress that these differences are temporary. Jarek
Re: Simple Web Service with JAX-WS sample on AG wiki
Sure. Please do. thanks, dims On 2/16/07, Lasantha Ranaweera <[EMAIL PROTECTED]> wrote: Dims, Yes we need a good test coverage. Specially when it comes to WSDL provided situation, it reads WSDL and creating annotations by hand. Then we might miss some of the WSDLs. I think there is a good test codings for Axis1 implementation (AxisWebServiceContainerTest.java). Shall we create something like here too? Thanks, Lasantha Davanum Srinivas wrote: > Lasantha, > > Jarek promised to write up a list of items implemented then we can > make a check list and fix whatever is missing. We need to test all the > code too. Since we don't know what works and what doesn't as we don't > have full test coverage. > > thanks, > dims > > On 2/15/07, Lasantha Ranaweera <[EMAIL PROTECTED]> wrote: >> Hi Lin, >> >> Great work... We are getting closer & closer to finish Axis2 with POJO >> support ... Dims do you any idea to add what are we missing right now ? >> >> Are you using latest version of trunk to build Geronimo? IMO in Axis2 >> there is a bug and I am submitting a patch for that too ;). >> >> Please see my in line comments too. >> >> Thanks, >> Lasantha >> Lin Sun wrote: >> > Hi there, >> > >> > After making some changes to the sample[1], I am able to get it >> > (slightly different versions of it for CXF and Axis2) working with >> > this week's trunk. >> > >> > Here are some observations: >> > 1) I have to use the generated classes (package-info, objectFactory, >> > RequestWrapper and ResponseWrapper classes) for CXF to get the war >> > file deployed. This was not required before... >> It wasn't necessary to generate these files in CXF for WSDL provided >> situation before. I though it is only for Axis2 to necessary to do this >> step. Jarek do you have any idea ? :-) >> > 2) I developed an Axiom based web services client for Axis2 so that it >> > doesn't require CXF specific jars at the runtime of the client. >> > >> > I'll begin updating the docs and send out another update. Initial >> > thought is to use the same wiki page for both CXF and Axis2 (instead >> > of creating a new page for Axis2) and highlight the differences. >> > >> > Lin >> > >> > >> [1]http://cwiki.apache.org/GMOxDOC20/simple-web-service-with-jax-ws.html >> > >> >> > > -- Davanum Srinivas :: http://wso2.org/ :: Oxygen for Web Services Developers
Re: Simple Web Service with JAX-WS sample on AG wiki
Dims, Yes we need a good test coverage. Specially when it comes to WSDL provided situation, it reads WSDL and creating annotations by hand. Then we might miss some of the WSDLs. I think there is a good test codings for Axis1 implementation (AxisWebServiceContainerTest.java). Shall we create something like here too? Thanks, Lasantha Davanum Srinivas wrote: Lasantha, Jarek promised to write up a list of items implemented then we can make a check list and fix whatever is missing. We need to test all the code too. Since we don't know what works and what doesn't as we don't have full test coverage. thanks, dims On 2/15/07, Lasantha Ranaweera <[EMAIL PROTECTED]> wrote: Hi Lin, Great work... We are getting closer & closer to finish Axis2 with POJO support ... Dims do you any idea to add what are we missing right now ? Are you using latest version of trunk to build Geronimo? IMO in Axis2 there is a bug and I am submitting a patch for that too ;). Please see my in line comments too. Thanks, Lasantha Lin Sun wrote: > Hi there, > > After making some changes to the sample[1], I am able to get it > (slightly different versions of it for CXF and Axis2) working with > this week's trunk. > > Here are some observations: > 1) I have to use the generated classes (package-info, objectFactory, > RequestWrapper and ResponseWrapper classes) for CXF to get the war > file deployed. This was not required before... It wasn't necessary to generate these files in CXF for WSDL provided situation before. I though it is only for Axis2 to necessary to do this step. Jarek do you have any idea ? :-) > 2) I developed an Axiom based web services client for Axis2 so that it > doesn't require CXF specific jars at the runtime of the client. > > I'll begin updating the docs and send out another update. Initial > thought is to use the same wiki page for both CXF and Axis2 (instead > of creating a new page for Axis2) and highlight the differences. > > Lin > > [1]http://cwiki.apache.org/GMOxDOC20/simple-web-service-with-jax-ws.html >
Re: Simple Web Service with JAX-WS sample on AG wiki
Lasantha, Jarek promised to write up a list of items implemented then we can make a check list and fix whatever is missing. We need to test all the code too. Since we don't know what works and what doesn't as we don't have full test coverage. thanks, dims On 2/15/07, Lasantha Ranaweera <[EMAIL PROTECTED]> wrote: Hi Lin, Great work... We are getting closer & closer to finish Axis2 with POJO support ... Dims do you any idea to add what are we missing right now ? Are you using latest version of trunk to build Geronimo? IMO in Axis2 there is a bug and I am submitting a patch for that too ;). Please see my in line comments too. Thanks, Lasantha Lin Sun wrote: > Hi there, > > After making some changes to the sample[1], I am able to get it > (slightly different versions of it for CXF and Axis2) working with > this week's trunk. > > Here are some observations: > 1) I have to use the generated classes (package-info, objectFactory, > RequestWrapper and ResponseWrapper classes) for CXF to get the war > file deployed. This was not required before... It wasn't necessary to generate these files in CXF for WSDL provided situation before. I though it is only for Axis2 to necessary to do this step. Jarek do you have any idea ? :-) > 2) I developed an Axiom based web services client for Axis2 so that it > doesn't require CXF specific jars at the runtime of the client. > > I'll begin updating the docs and send out another update. Initial > thought is to use the same wiki page for both CXF and Axis2 (instead > of creating a new page for Axis2) and highlight the differences. > > Lin > > [1]http://cwiki.apache.org/GMOxDOC20/simple-web-service-with-jax-ws.html > -- Davanum Srinivas :: http://wso2.org/ :: Oxygen for Web Services Developers
Re: Simple Web Service with JAX-WS sample on AG wiki
Lin, Before you update the online doc. Could you please post the modified samples in JIRA? Let me take a quick look? thanks, dims On 2/15/07, Lin Sun <[EMAIL PROTECTED]> wrote: Hi there, After making some changes to the sample[1], I am able to get it (slightly different versions of it for CXF and Axis2) working with this week's trunk. Here are some observations: 1) I have to use the generated classes (package-info, objectFactory, RequestWrapper and ResponseWrapper classes) for CXF to get the war file deployed. This was not required before... 2) I developed an Axiom based web services client for Axis2 so that it doesn't require CXF specific jars at the runtime of the client. I'll begin updating the docs and send out another update. Initial thought is to use the same wiki page for both CXF and Axis2 (instead of creating a new page for Axis2) and highlight the differences. Lin [1]http://cwiki.apache.org/GMOxDOC20/simple-web-service-with-jax-ws.html -- Davanum Srinivas :: http://wso2.org/ :: Oxygen for Web Services Developers
Re: Simple Web Service with JAX-WS sample on AG wiki
Hi All, Great work... We are getting closer & closer to finish Axis2 with POJO support ... Dims do you any idea what are we missing right now ? Are you using latest version of trunk to build Geronimo? IMO in Axis2 there is a bug and I am submitting a patch for that too ;). Please see my in line comments too. Thanks, Lasantha Lin Sun wrote: Hi there, After making some changes to the sample[1], I am able to get it (slightly different versions of it for CXF and Axis2) working with this week's trunk. Here are some observations: 1) I have to use the generated classes (package-info, objectFactory, RequestWrapper and ResponseWrapper classes) for CXF to get the war file deployed. This was not required before... It wasn't necessary to generate these files in CXF for WSDL provided situation before. I though it is only for Axis2 to necessary to do this step. Jarek do you have any idea ? :-) 2) I developed an Axiom based web services client for Axis2 so that it doesn't require CXF specific jars at the runtime of the client. I'll begin updating the docs and send out another update. Initial thought is to use the same wiki page for both CXF and Axis2 (instead of creating a new page for Axis2) and highlight the differences. Lin [1]http://cwiki.apache.org/GMOxDOC20/simple-web-service-with-jax-ws.html
Re: Simple Web Service with JAX-WS sample on AG wiki
Hi Lin, Great work... We are getting closer & closer to finish Axis2 with POJO support ... Dims do you any idea to add what are we missing right now ? Are you using latest version of trunk to build Geronimo? IMO in Axis2 there is a bug and I am submitting a patch for that too ;). Please see my in line comments too. Thanks, Lasantha Lin Sun wrote: Hi there, After making some changes to the sample[1], I am able to get it (slightly different versions of it for CXF and Axis2) working with this week's trunk. Here are some observations: 1) I have to use the generated classes (package-info, objectFactory, RequestWrapper and ResponseWrapper classes) for CXF to get the war file deployed. This was not required before... It wasn't necessary to generate these files in CXF for WSDL provided situation before. I though it is only for Axis2 to necessary to do this step. Jarek do you have any idea ? :-) 2) I developed an Axiom based web services client for Axis2 so that it doesn't require CXF specific jars at the runtime of the client. I'll begin updating the docs and send out another update. Initial thought is to use the same wiki page for both CXF and Axis2 (instead of creating a new page for Axis2) and highlight the differences. Lin [1]http://cwiki.apache.org/GMOxDOC20/simple-web-service-with-jax-ws.html
Re: Simple Web Service with JAX-WS sample on AG wiki
Great. A few comments inline: On 2/15/07, Lin Sun <[EMAIL PROTECTED]> wrote: Hi there, After making some changes to the sample[1], I am able to get it (slightly different versions of it for CXF and Axis2) working with this week's trunk. Here are some observations: 1) I have to use the generated classes (package-info, objectFactory, RequestWrapper and ResponseWrapper classes) for CXF to get the war file deployed. This was not required before... 2) I developed an Axiom based web services client for Axis2 so that it doesn't require CXF specific jars at the runtime of the client. Hmm... is that different from the javax.xml.ws.Service API? Why couldn't you use the Axis2 implementation of the Service API? I'll begin updating the docs and send out another update. Initial thought is to use the same wiki page for both CXF and Axis2 (instead of creating a new page for Axis2) and highlight the differences. Right, there should be only one page. And eventually (and hopefully) those differences should disappear, so we should stress that these differences are temporary. Jarek
