This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Web Services and the fly likes Cannot run AXIS 1.1 RC2 inside J2EE 1.2 complaint application server  ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Cannot run AXIS 1.1 RC2 inside J2EE 1.2 complaint application server  ?" Watch "Cannot run AXIS 1.1 RC2 inside J2EE 1.2 complaint application server  ?" New topic
Author

Cannot run AXIS 1.1 RC2 inside J2EE 1.2 complaint application server ?

Rr Kumaran
Ranch Hand

Joined: Sep 17, 2001
Posts: 548
Hi All,

I am not using WebSphere 4.0 or WebSphere 5.0 provided web services soap engine but the axis soap engine that I download from Apache website.

I am trying deploy AXIS 1.1 RC2 (I need to work only with AXIS 1.1 RC2 but not AXIS 1.2 RC2 due to some project constraints) as a web application inside WSAD 5.1.2 WebSphere 4.0 Test Environment.


--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[1/22/05 14:41:00:429 IST] 5f847c1a WebGroup I SRVE0091I: [Servlet LOG]: AxisServlet: init
[1/22/05 14:41:03:835 IST] 5f847c1a WebGroup X Servlet Error: javax.wsdl.Definition: method getBinding(Ljavax/xml/namespace/QName;)Ljavax/wsdl/Binding; not found: java.lang.NoSuchMethodError: javax.wsdl.Definition: method getBinding(Ljavax/xml/namespace/QName Ljavax/wsdl/Binding; not found
at org.apache.axis.wsdl.fromJava.Emitter.writeBinding(Emitter.java:708)
at org.apache.axis.wsdl.fromJava.Emitter.getWSDL(Emitter.java:382)
at org.apache.axis.wsdl.fromJava.Emitter.emit(Emitter.java:262)
at org.apache.axis.providers.java.JavaProvider.generateWSDL(JavaProvider.java:491)
at org.apache.axis.strategies.WSDLGenStrategy.visit(WSDLGenStrategy.java:72)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:150)
at org.apache.axis.SimpleChain.generateWSDL(SimpleChain.java:137)
at org.apache.axis.handlers.soap.SOAPService.generateWSDL(SOAPService.java:374)
at org.apache.axis.server.AxisServer.generateWSDL(AxisServer.java:499)
at org.apache.axis.transport.http.AxisServlet.processWsdlRequest(AxisServlet.java:484)
at org.apache.axis.transport.http.AxisServlet.doGet(AxisServlet.java:285)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:339)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.ibm.servlet.engine.webapp.StrictServletInstance.doService(ServletManager.java:827)
at com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(StrictLifecycleServlet.java:167)
at com.ibm.servlet.engine.webapp.IdleServletState.service(StrictLifecycleServlet.java:297)
at com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(StrictLifecycleServlet.java:110)
at com.ibm.servlet.engine.webapp.ServletInstance.service(ServletManager.java:472)
at com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(ServletManager.java:1012)
at com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(ServletManager.java:913)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:721)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:374)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:118)
at com.ibm.servlet.engine.srt.WebAppInvoker.doForward(WebAppInvoker.java:134)
at com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:239)
at com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:67)
at com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:151)
at com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(OSEListener.java:317)
at com.ibm.servlet.engine.http11.HttpConnection.handleRequest(HttpConnection.java:60)
at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:477)
at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:351)
at com.ibm.ws.util.CachedThread.run(ThreadPool.java:144)

[1/22/05 14:41:53:274 IST] 5f847c1a WebGroup X Servlet Error: javax.wsdl.Definition: method getBinding(Ljavax/xml/namespace/QName;)Ljavax/wsdl/Binding; not found: java.lang.NoSuchMethodError: javax.wsdl.Definition: method getBinding(Ljavax/xml/namespace/QName Ljavax/wsdl/Binding; not found
at org.apache.axis.wsdl.fromJava.Emitter.writeBinding(Emitter.java:708)
at org.apache.axis.wsdl.fromJava.Emitter.getWSDL(Emitter.java:382)
at org.apache.axis.wsdl.fromJava.Emitter.emit(Emitter.java:262)
at org.apache.axis.providers.java.JavaProvider.generateWSDL(JavaProvider.java:491)
at org.apache.axis.strategies.WSDLGenStrategy.visit(WSDLGenStrategy.java:72)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:150)
at org.apache.axis.SimpleChain.generateWSDL(SimpleChain.java:137)
at org.apache.axis.handlers.soap.SOAPService.generateWSDL(SOAPService.java:374)
at org.apache.axis.server.AxisServer.generateWSDL(AxisServer.java:499)
at org.apache.axis.transport.http.AxisServlet.processWsdlRequest(AxisServlet.java:484)
at org.apache.axis.transport.http.AxisServlet.doGet(AxisServlet.java:285)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:339)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.ibm.servlet.engine.webapp.StrictServletInstance.doService(ServletManager.java:827)
at com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(StrictLifecycleServlet.java:167)
at com.ibm.servlet.engine.webapp.IdleServletState.service(StrictLifecycleServlet.java:297)
at com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(StrictLifecycleServlet.java:110)
at com.ibm.servlet.engine.webapp.ServletInstance.service(ServletManager.java:472)
at com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(ServletManager.java:1012)
at com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(ServletManager.java:913)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:721)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:374)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:118)
at com.ibm.servlet.engine.srt.WebAppInvoker.doForward(WebAppInvoker.java:134)
at com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:239)
at com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:67)
at com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:151)
at com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(OSEListener.java:317)
at com.ibm.servlet.engine.http11.HttpConnection.handleRequest(HttpConnection.java:60)
at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:477)
at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:341)
at com.ibm.ws.util.CachedThread.run(ThreadPool.java:144)
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------



When I type http://localhost:8080/Axis11RC2Web/services/Version?wsdl in browsre I am getting below exception. However when I run AXIS 1.1 RC2 on WSAD 5.1.2 WebSphere 5.1 Test Environment as then everthing works fine.

Can't we run AXIS 1.1 RC2 as web application inside WebSphere 4.0 ?

Please help me friends ...




Thanks & Regards,
Kumar.


RR Kumaran
SCJP 1.4
Rr Kumaran
Ranch Hand

Joined: Sep 17, 2001
Posts: 548
I solved my problem. Please let me know if anyone needs answer.
Pejavar Rao
Greenhorn

Joined: Feb 03, 2006
Posts: 1
Kumar pLease let me know the fix for the same
wise owen
Ranch Hand

Joined: Feb 02, 2006
Posts: 2023
Post you solution here. It may save anothers time.

Thanks,
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Cannot run AXIS 1.1 RC2 inside J2EE 1.2 complaint application server ?