you need to add stax and wstx-asl jars to class patch. see the lib folder of your Axis2 distribution
thanks, Amila. On Tue, Jul 29, 2008 at 8:55 AM, Rahul Juneja <[EMAIL PROTECTED]> wrote: > Happy, > > You need to have java 6 as this is a class which is present in Java6. > > Thanks, > Rahul > > -----Original Message----- > From: Happy [mailto:[EMAIL PROTECTED] > Sent: Monday, July 28, 2008 7:40 AM > To: [email protected] > Subject: [SPAM] - Axis2 -1.3 using XMLStreamException - Bayesian Filter > detected spam > > Dear All, > > I have made a web service client using jdk 5.0 update 11. But I could > not make a call to the deployed web service. It gave me an > XMLStreamException. > I am including the stack trace here in this mail. > > Exception occurred during event dispatching: > java.lang.NoClassDefFoundError: javax/xml/stream/XMLStreamException > at > org.apache.axis2.context.ConfigurationContextFactory.createConfigurat > ionContextFromFileSystem(ConfigurationContextFactory.java:180) > at > org.apache.axis2.client.ServiceClient.configureServiceClient(ServiceC > lient.java:146) > at > org.apache.axis2.client.ServiceClient.<init>(ServiceClient.java:139) > at > org.apache.axis2.client.ServiceClient.<init>(ServiceClient.java:228) > at > org.apache.axis2.rpc.client.RPCServiceClient.<init>(RPCServiceClient. > java:47) > at > webdna.wsclients.WSCallingSetup.getRPCClient(WSCallingSetup.java:82) > at > webdna.wsclients.WSCallingSetup.callService(WSCallingSetup.java:128) > at > webdna.wsclients.common.Authentication.Login(Authentication.java:33) > at > webdna.psaconsole.api.Authentication.Login(Authentication.java:27) > at > webdna.psaconsole.controllers.LoginManager.processLoginRequest(LoginM > anager.java:103) > > Can anyone help me out this? I have my home set to JDK 5.0. And I may > be wrong in saying that jdk 5.0 does not have the class > javax.xml.stream.XMLStreamException, because axis2-1.3 requires only > jdk1.4. > > Thanks > Happy Somani > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > This electronic message contains information from CTIS Inc., which may be > company sensitive, proprietary, privileged or otherwise protected from > disclosure. The information is intended to be used solely by the recipients > named above. If you are not an intended recipient, be aware that any > review,disclosure, copying, distribution or use of this transmission or its > contents is prohibited. If you have received this transmission in error, > please notify us immediately at [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Amila Suriarachchi, WSO2 Inc.
