Re: Axis2 Problem accessing the WSDL.
Hi, I tried using Axis2 1.3 jars, when i tried getting the WSDL , then i get the following exception on the browser. I still see the old classCastException, still in the logs. Exceptionorg.apache.axis2.AxisFault: The endpoint reference (EPR) for the Operation not found is /csows/services/EnrollmentMgtService?WSDL and the WSA Action = null at org.apache.axis2.engine.DispatchPhase.checkPostConditions(DispatchPhase.java:86) at org.apache.axis2.engine.Phase.invoke(Phase.java:308) at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:212) at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:132) at org.apache.axis2.transport.http.util.RESTUtil.invokeAxisEngine(RESTUtil.java:125) at org.apache.axis2.transport.http.util.RESTUtil.processURLRequest(RESTUtil.java:119) at org.apache.axis2.transport.http.AxisServlet$RestRequestProcessor.processURLRequest(AxisServlet.java:799) at org.apache.axis2.transport.http.AxisServlet.doGet(AxisServlet.java:242) at javax.servlet.http.HttpServlet.service(HttpServlet.java:743) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:225) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:127) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:272) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:165) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3153) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:1973) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1880) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1310) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207) at weblogic.work.ExecuteThread.run(ExecuteThread.java:179)/Exception keith chapman wrote: Yes I believe this is fixed in 1.3. Please try the 1.3 release. Thanks, Keith. On Nov 27, 2007 11:18 AM, Deepal Jayasinghe [EMAIL PROTECTED] wrote: Hi tinkugadu , May be a bug in Axis2 1.2 release , if you can please try with Axis2 1.3 Thanks Deepal WHen i try to access the WSDL i get the StringIndexOUtOfBoundsException followed by the ClassCastException. WHen i try to access the csows/axis2-web/index.jsp from the Weblogic console then i just get the classcast exception my Environment: Webserver - Weblogic9 axis version- axis2 1.2 I am not using axis2.xml i have listed the two exceptions below. Nov 26, 2007 1:08:34 PM EST Error HTTP lnx552.dteco.com ndsAdmin [ACTIVE] ExecuteThread: '8' for queue: ' weblogic.kernel.Default (self-tuning)' WLS Kernel 1196100514023 BEA-101020 [EMAIL PROTECTED] - name: ' csows.war', context-path: '/csows'] Servlet failed with Exception java.lang.StringIndexOutOfBoundsException: String index out of range: -11 at java.lang.String.substring(String.java:1768) at java.lang.String.substring(String.java:1735) at org.apache.axis2.engine.HTTPLocationBasedDispatcher.parseRequestURL( HTTPLocationBasedDispatcher.java:106) at org.apache.axis2.engine.HTTPLocationBasedDispatcher.findOperation( HTTPLocationBasedDispatcher.java:52) at org.apache.axis2.engine.AbstractDispatcher.invoke( AbstractDispatcher.java:100) at org.apache.axis2.transport.http.util.RESTUtil.dispatchAndVerify( RESTUtil.java:138) at org.apache.axis2.transport.http.util.RESTUtil.processURLRequest( RESTUtil.java:95) at org.apache.axis2.transport.http.AxisServlet$ProcessRESTRequest.processURLRequest (AxisServlet.java:776) at org.apache.axis2.transport.http.AxisServlet.doGet(AxisServlet.java:238) at javax.servlet.http.HttpServlet.service(HttpServlet.java:743) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run( StubSecurityHelper.java:225) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet( StubSecurityHelper.java:127) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java :272) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java :165) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run (WebAppServletContext.java:3153) at weblogic.security.acl.internal.AuthenticatedSubject.doAs( AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java :121) at weblogic.servlet.internal.WebAppServletContext.securedExecute
RE: Axis2 Problem accessing the WSDL.
raghu, that did not solve the problem. Raghu Upadhyayula wrote: Hi tinkugadu, From the exception it appears to me that you are trying to get the wsdl using ?WSDL but you have to use ?wsdl (it is case sensitive). Thanks Raghu -Original Message- From: tinkugadu [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 27, 2007 1:16 PM To: axis-user@ws.apache.org Subject: Re: Axis2 Problem accessing the WSDL. Hi, I tried using Axis2 1.3 jars, when i tried getting the WSDL , then i get the following exception on the browser. I still see the old classCastException, still in the logs. Exceptionorg.apache.axis2.AxisFault: The endpoint reference (EPR) for the Operation not found is /csows/services/EnrollmentMgtService?WSDL and the WSA Action = null at org.apache.axis2.engine.DispatchPhase.checkPostConditions(DispatchPhase. java:86) at org.apache.axis2.engine.Phase.invoke(Phase.java:308) at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:212) at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:132) at org.apache.axis2.transport.http.util.RESTUtil.invokeAxisEngine(RESTUtil. java:125) at org.apache.axis2.transport.http.util.RESTUtil.processURLRequest(RESTUtil .java:119) at org.apache.axis2.transport.http.AxisServlet$RestRequestProcessor.process URLRequest(AxisServlet.java:799) at org.apache.axis2.transport.http.AxisServlet.doGet(AxisServlet.java:242) at javax.servlet.http.HttpServlet.service(HttpServlet.java:743) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(St ubSecurityHelper.java:225) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityH elper.java:127) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:2 72) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:1 65) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.r un(WebAppServletContext.java:3153) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSu bject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121 ) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServ letContext.java:1973) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletCont ext.java:1880) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java :1310) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207) at weblogic.work.ExecuteThread.run(ExecuteThread.java:179)/Exception keith chapman wrote: Yes I believe this is fixed in 1.3. Please try the 1.3 release. Thanks, Keith. On Nov 27, 2007 11:18 AM, Deepal Jayasinghe [EMAIL PROTECTED] wrote: Hi tinkugadu , May be a bug in Axis2 1.2 release , if you can please try with Axis2 1.3 Thanks Deepal WHen i try to access the WSDL i get the StringIndexOUtOfBoundsException followed by the ClassCastException. WHen i try to access the csows/axis2-web/index.jsp from the Weblogic console then i just get the classcast exception my Environment: Webserver - Weblogic9 axis version- axis2 1.2 I am not using axis2.xml i have listed the two exceptions below. Nov 26, 2007 1:08:34 PM EST Error HTTP lnx552.dteco.com ndsAdmin [ACTIVE] ExecuteThread: '8' for queue: ' weblogic.kernel.Default (self-tuning)' WLS Kernel 1196100514023 BEA-101020 [EMAIL PROTECTED] - name: ' csows.war', context-path: '/csows'] Servlet failed with Exception java.lang.StringIndexOutOfBoundsException: String index out of range: -11 at java.lang.String.substring(String.java:1768) at java.lang.String.substring(String.java:1735) at org.apache.axis2.engine.HTTPLocationBasedDispatcher.parseRequestURL( HTTPLocationBasedDispatcher.java:106) at org.apache.axis2.engine.HTTPLocationBasedDispatcher.findOperation( HTTPLocationBasedDispatcher.java:52) at org.apache.axis2.engine.AbstractDispatcher.invoke( AbstractDispatcher.java:100) at org.apache.axis2.transport.http.util.RESTUtil.dispatchAndVerify( RESTUtil.java:138) at org.apache.axis2.transport.http.util.RESTUtil.processURLRequest( RESTUtil.java:95) at org.apache.axis2.transport.http.AxisServlet$ProcessRESTRequest.processUR LRequest (AxisServlet.java:776) at org.apache.axis2.transport.http.AxisServlet.doGet(AxisServlet.java:238) at javax.servlet.http.HttpServlet.service(HttpServlet.java:743) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run( StubSecurityHelper.java:225) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet( StubSecurityHelper.java:127
Axis2 Problem accessing the WSDL.
WHen i try to access the WSDL i get the StringIndexOUtOfBoundsException followed by the ClassCastException. WHen i try to access the csows/axis2-web/index.jsp from the Weblogic console then i just get the classcast exception my Environment: Webserver - Weblogic9 axis version- axis2 1.2 I am not using axis2.xml i have listed the two exceptions below. Nov 26, 2007 1:08:34 PM EST Error HTTP lnx552.dteco.com ndsAdmin [ACTIVE] ExecuteThread: '8' for queue: 'weblogic.kernel.Default (self-tuning)' WLS Kernel 1196100514023 BEA-101020 [EMAIL PROTECTED] - name: 'csows.war', context-path: '/csows'] Servlet failed with Exception java.lang.StringIndexOutOfBoundsException: String index out of range: -11 at java.lang.String.substring(String.java:1768) at java.lang.String.substring(String.java:1735) at org.apache.axis2.engine.HTTPLocationBasedDispatcher.parseRequestURL(HTTPLocationBasedDispatcher.java:106) at org.apache.axis2.engine.HTTPLocationBasedDispatcher.findOperation(HTTPLocationBasedDispatcher.java:52) at org.apache.axis2.engine.AbstractDispatcher.invoke(AbstractDispatcher.java:100) at org.apache.axis2.transport.http.util.RESTUtil.dispatchAndVerify(RESTUtil.java:138) at org.apache.axis2.transport.http.util.RESTUtil.processURLRequest(RESTUtil.java:95) at org.apache.axis2.transport.http.AxisServlet$ProcessRESTRequest.processURLRequest(AxisServlet.java:776) at org.apache.axis2.transport.http.AxisServlet.doGet(AxisServlet.java:238) at javax.servlet.http.HttpServlet.service(HttpServlet.java:743) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:225) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:127) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:272) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:165) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3153) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:1973) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1880) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1310) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207) at weblogic.work.ExecuteThread.run(ExecuteThread.java:179) Nov 26, 2007 1:08:35 PM EST Error HTTP lnx552.dteco.com ndsAdmin [ACTIVE] ExecuteThread: '8' for queue: 'weblogic.kernel.Default (self-tuning)' WLS Kernel 1196100515023 BEA-101107 [EMAIL PROTECTED] - name: 'csows.war', context-path: '/csows'] Problem occurred while serving the error page. java.lang.ClassCastException: org.apache.xerces.jaxp.DocumentBuilderFactoryImpl at javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java:98) at javelin.jsp.JspTagLibraryFeature.parseTldFromWebXML(JspTagLibraryFeature.java:857) at javelin.jsp.JspTagLibraryFeature.initFromWebXML(JspTagLibraryFeature.java:841) at javelin.jsp.JspTagLibraryFeature.init(JspTagLibraryFeature.java:442) at javelin.jsp.JspTagLibraryFeature.init(JspTagLibraryFeature.java:241) at javelin.jsp.JspTagLibraryFeature.setCPL(JspTagLibraryFeature.java:42) at javelin.CPL.getFeature(CPL.java:1580) at javelin.jsp.JspParser.getTagLibraryFeature(JspParser.java:3364) at javelin.jsp.JspParser.getTagLibInfo(JspParser.java:2127) at javelin.jsp.JspParser.jspParse(JspParser.java:430) at javelin.jsp.JspParser._parse(JspParser.java:349) at javelin.jsp.JspParser.parse(JspParser.java:342) at javelin.jsp.JspAnalyzer.parseFile(JspAnalyzer.java:113) at javelin.jsp.JspAnalyzer.parse(JspAnalyzer.java:101) at javelin.ProxySourceFile.parse(ProxySourceFile.java:117) at javelin.SourceFile.getAst(SourceFile.java:542) at javelin.SourceFile.getAst(SourceFile.java:516) at javelin.ProxySourceFile.codeGen(ProxySourceFile.java:215) at javelin.SourceFile.codeGen(SourceFile.java:310) at javelin.client.ClientUtilsImpl$CodeGenJob.run(ClientUtilsImpl.java:1105) at javelin.client.Job.performJob(Job.java:81) Do you Guys think they are two seperate problems are they related -- View this message in context: http://www.nabble.com/Axis2-Problem-accessing-the-WSDL.-tf4879381.html#a13963503 Sent from the Axis - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL