axis2 on Websphere
Hi guys, I have a Axis2 webservice deployed on a Websphere App Server 6, and my client web app is deployed on Websphere App Server 5, whenever I try to invoke in the webservice in my web app client, it gives me ClassDefNotFound exception for various class which ARE included in the axis jars that I put in my web app's web-inf/lib directory. When I do a Class.forName() for that class I can find it, yet during runtime it still gives me the ClassDefNotFound exception. Is there some incompatibility issues with WAS 5 and axis2 jars? Thanks, Larry Xu
question regarding Axis Exception handling with Websphere Portal
When using axis2 1.1 with Websphere Portal 5.1, in the case where exceptions are expected from the webservice, they cannot be caught. Example below:(pseudo code) try { webservice = Factory.getWebservice(); String username = 111; String password = 112; //invalid password, should expect an exception webservice.login(username, password); System.out.println(succeeded); } catch(Exception e) { e.printStackTrace(); } When testing this using Websphere Application Server as a servlet, the exception is caught, but when testing this using Portal Test Environment, the exception is not caught when it should be. Please help. Larry