Hi ,
we found that this was an issue with JAXWS MR could not found the service
impl class,
I have attached a patch to the
https://issues.apache.org/jira/browse/AXIS2-3382
And it addresses the class loading issue and now,
With the patch if we build axis2 jaxws-calculator and deploy it in axis2

Both code generate stubs with client invocation and rest like invocation
works for me.
Could not commit since there are some test failures in the kernel module
currently in the trunk.
Can someone who is more familiar with JAXWS look more at the issue and the
patch.
The patch address a class loader switch from service to current and vise
versa at the time needed to load the impl service class.


Thanks
Sandakith.

On Dec 3, 2007 8:42 AM, Lahiru Sandakith <[EMAIL PROTECTED]> wrote:

> Hi Rick,
>
> On Dec 2, 2007 11:17 PM, Rick Isaacs <[EMAIL PROTECTED]> wrote:
>
> >
> > Hi Charitha,
> >
> > Thank you for your email and that you have reported this problem.
> >
> > I am not familiar with the Axis2 snapshot releases.
> >
> > Where can I find out more about snapshots?
>
>
> If you need the latest snapshot build its available here,
> http://people.apache.org/dist/axis2/nightly/
> One more thing, if you are building axis2 from the source, it is
> recommended to use latest maven version (I have 2.0.7)
>
> I tried to look at the issue that you have reported against the
> jaxws-calcualter service archive with the axis2 with the latest snapshot
> build. I noticed that the service getting deployed with correct operations,
> and its seems to be an issue with the rest like way of invoking the service.
> Will update you more on this as soon as I have more info.
> Thanks
> Sandakith.
>
> >
> >
> > I noticed that the maven project was using a 1.3-snapshot.
> >
> > Thanks,
> > Rick
> >
> >
> >
> > On Dec 2, 2007 2:37 AM, Charitha Kankanamge < [EMAIL PROTECTED]> wrote:
> >
> > > Rick,
> > > I also experienced some issues with jax-ws sample. That sample did not
> > > have any document and I had reported a jira sometime back
> > > ( https://issues.apache.org/jira/browse/AXIS2-3091 ).
> > > A seperate jira was reported for the nullpointer exception.
> > > (https://issues.apache.org/jira/browse/AXIS2-3382)
> > >
> > > Hope these issues will be resolved in the snapshot builds ASAP.
> > >
> > > regards
> > > Charitha
> > >
> > > Rick Isaacs wrote:
> > >
> > > >
> > > > Hi,
> > > >
> > > > I am trying to get the axis2-1.3\samples\jaxws-calculator sample to
> > > > work, but I get
> > > > the error in Tomcat
> > > >
> > > > java.lang.ClassNotFoundException:
> > > > org.apache.axis2.jaxws.calculator.Calculator
> > > >
> > > >
> > > > - downloaded and installed maven
> > > >
> > > > - called maven package for the the sample, but maven could not
> > > > download the necessary files
> > > >
> > > > - changed the pom.xml
> > > >
> > > >     <artifactId>axis2-aar-maven-plugin</artifactId>
> > > >         <version> 1.3-SNAPSHOT</version>
> > > >
> > > >     <artifactId>axis2-jaxws</artifactId>
> > > >       <version>1.3-SNAPSHOT</version>
> > > >
> > > > to
> > > >
> > > > <version>1.3</version>
> > > >
> > > > - maven package downloaded many files and built
> > > > samples\jaxws-calculator\target\jaxws-calculator-1.3.aar
> > > >
> > > > - copied aar file to /services to deploy
> > > >
> > > > - service is found by the Axis2 Service servlet along with wsdl
> > > >
> > > > -
> > > >
> > > http://127.0.0.1:8080/axis2/services/CalculatorService/add?value1=1&value2=3
> > > > <http://127.0.0.1:8080/axis2/services/CalculatorService/add?value1=1&value2=3
> > > >
> > > >
> > > > response in browser
> > > >
> > > > <faultstring>java.lang.NullPointerException</faultstring>
> > > >
> > > >
> > > > Tomcat shows
> > > > <faultstring>java.lang.NullPointerException</faultstring>
> > > >
> > > >
> > > > I could not find an documentation for this sample, so I am not sure,
> > > > how to correctly install this sample.
> > > >
> > > > Maybe I am missing some jars.
> > > >
> > > > Thanks,
> > > > Rick
> > > >
> > >
> > >
> > > --
> > > Charitha Kankanamge
> > > WSO2 inc.
> > > Flower Road, Colombo 07
> > > +94 714268070
> > >
> > > A bug in the hand is better than one as yet undetected
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
>
>
> --
> Thanks
> Lahiru Sandakith
>
> http://sandakith.wordpress.com/
> GPG Key Fingerprint : 8CD8 68E0 4CBC 75CB 25BC  1AB1 FE5E 7464 1F01 9A0F




-- 
Thanks
Lahiru Sandakith

http://sandakith.wordpress.com/
GPG Key Fingerprint : 8CD8 68E0 4CBC 75CB 25BC  1AB1 FE5E 7464 1F01 9A0F

Reply via email to