Hi, There were changes to the Module/Handler interfaces in Axis2. Therefore Rampart-1.1 will not work with Axis2-1.2-*.
The latest rampart trunk is available here : https://svn.apache.org/repos/asf/webservices/rampart/trunk/java Thanks, Ruchith On 3/27/07, Jorge Fernandez <[EMAIL PROTECTED]> wrote:
Hi, I get the following Exception when executing my client with the new release. i'm using Rampart 1.1 module but it's only engaged, not used, actually: Exception in thread "main" java.lang.NoSuchMethodError: org.apache.axis2.context.MessageContext.isEngaged(Ljavax/xml/namespace/QName;)Z at org.apache.rampart.handler.RampartSender.invoke(RampartSender.java:53) at org.apache.axis2.engine.Phase.invoke(Phase.java:383) at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:203) at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:433) at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:330) at org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:294) at client.Medici_LinkStub.validateSystem(Medici_LinkStub.java:2234) at client.ClientUtilities.validateSystemTest(ClientUtilities.java:62) at client.Client.main(Client.java:33) And this one when I use axis2 1.1.1 in my client and the new release at the service: org.apache.axis2.AxisFault: HTTP Transport error : '400' - 'Petici?n incorrecta'; nested exception is: org.apache.axis2.AxisFault: HTTP Transport error : '400' - 'Petici?n incorrecta'; nested exception is: org.apache.axis2.AxisFault: HTTP Transport error : '400' - 'Petici?n incorrecta'; nested exception is: org.apache.axis2.AxisFault: HTTP Transport error : '400' - 'Petici?n incorrecta' at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:227) at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:674) at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:237) at org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:202) at client.Medici_LinkStub.validateSystem(Medici_LinkStub.java:2234) at client.ClientUtilities.validateSystemTest(ClientUtilities.java:62) at client.Client.main(Client.java:33) Caused by: org.apache.axis2.AxisFault: HTTP Transport error : '400' - 'Petici?n incorrecta'; nested exception is: org.apache.axis2.AxisFault: HTTP Transport error : '400' - 'Petici?n incorrecta' at org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:344) at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:204) ... 6 more Caused by: org.apache.axis2.AxisFault: HTTP Transport error : '400' - 'Petici?n incorrecta' at org.apache.axis2.transport.http.SOAPOverHTTPSender.send(SOAPOverHTTPSender.java:144) at org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:335) ... 7 more If I use axis2 1.1.1 in both service and client it works perfectly. I don't know if with the new release I need to do any aditional configuration. Regards, Jorge Fernández Charitha Kankanamge <[EMAIL PROTECTED]> escribió: I also observed the same and added a JIRA https://issues.apache.org/jira/browse/AXIS2-2393 regards Charitha >Hi, > >I've just deployed the war file on tomcat 6.0.10 (NIO connector), but >when I hit http://localhost:8080/axis2/axis2-admin/listService I get a >HTTP error 500. The server logs reports > > >26-Mar-2007 13:29:40 org.apache.axis2.transport.http.AbstractAgent >handle >WARNING: Error dispatching request /axis2/axis2-admin/listService >java.lang.reflect.InvocationTargetException > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at >sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at >sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:585) > at >org.apache.axis2.transport.http.AbstractAgent.handle(AbstractAgent.java:77) > at >org.apache.axis2.transport.http.AdminAgent.handle(AdminAgent.java:113) > at >org.apache.axis2.transport.http.AxisAdminServlet.doGet(AxisAdminServlet.java:44) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:690) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) > at >org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) > at >org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) > at >org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:228) > at >org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) > at >org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) > at >org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104) > at >org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) > at >org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:216) > at >org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:888) > at org.apache.coyote.http11.Http11NioProtocol >$Http11ConnectionHandler.process(Http11NioProtocol.java:624) > at org.apache.tomcat.util.net.NioEndpoint >$Worker.run(NioEndpoint.java:1465) > at java.lang.Thread.run(Thread.java:595) >Caused by: org.apache.jasper.JasperException: Unable to compile class >for JSP: > >An error occurred at line: 90 in the jsp >file: /axis2-web/listService.jsp >The method getLocalPart() is undefined for the type String >87: <% >88: for (Iterator iteratorm = engagedModules.iterator(); >iteratorm.hasNext();) { >89: AxisModule axisOperation = (AxisModule) iteratorm.next(); >90: moduleName = axisOperation.getName().getLocalPart(); >91: if (!modules_present) { >92: modules_present = true; >93: %> > > >An error occurred at line: 124 in the jsp >file: /axis2-web/listService.jsp >The method getLocalPart() is undefined for the type String >121: <% >122: for (Iterator iterator2 = engagedModules.iterator(); >iterator2.hasNext();) { >123: AxisModule moduleDecription = (AxisModule) >iterator2.next(); >124: moduleName = moduleDecription.getName().getLocalPart(); >125: %> <%=moduleName%> :: >href="axis2-admin/disengageModule?type=operation&serviceName=<% >=serviceName%>&operation=<%=axisOperation.getName().getLocalPart()% > > >>&module=<%=moduleName%>">Disengage <% >> >> >126: } >127: %><% > > >Stacktrace: > at >org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:85) > at >org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330) > at >org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:415) > at >org.apache.jasper.compiler.Compiler.compile(Compiler.java:308) > at >org.apache.jasper.compiler.Compiler.compile(Compiler.java:286) > at >org.apache.jasper.compiler.Compiler.compile(Compiler.java:273) > at >org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566) > at >org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:308) > at >org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320) > at >org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) > at >org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) > at >org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) > at >org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:687) > at >org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:590) > at >org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:505) > at >org.apache.axis2.transport.http.AbstractAgent.renderView(AbstractAgent.java:118) > at >org.apache.axis2.transport.http.AdminAgent.processListService(AdminAgent.java:502) > ... 21 more > > >Michele > >On Mon, 2007-03-26 at 16:47 +0530, Deepal Jayasinghe wrote: > > >>Hi all, >> >>I uploaded Axis2 1.2 RC1 release artifacts. Please help us by downloading and reviewing them. >> >>Download locations : >>*binary distributions* - >>http://people.apache.org/~deepal/axis2/1.2-RC1/axis2-1.2-RC1.zip >>*source distribution* >>http://people.apache.org/~deepal/axis2/1.2-RC1/axis2-1.2-RC1-src.zip >>*docs distribution* >>http://people.apache.org/~deepal/axis2/1.2-RC1/axis2-1.2-RC1-docs.zip >>*war distribution* >>http://people.apache.org/~deepal/axis2/1.2-RC1/axis2.war >> >>*jars* >>http://people.apache.org/~deepal/maven/org.apache.axis2/jars/ >> >>*mars* (addressing and soapmonitor) >>http://people.apache.org/~deepal/maven/org.apache.axis2/mars/ >> >> >>According to the release plan, I'm expecting to release Axis2 1.2 on >>6^th April, 2007. >> >> >>Features included in the release : >>- WSDL 2.0 fully support >>(Reading , writing and codegen) >>- POJO â€" annotation >>- JAX-WS integration >>- JAX-WS -annotation >>- Un-wrapping (Response) >>- ADB - missing schema support >>- Maven2 support >>- JASON support >>- Binary serialization >>- Multiple services support in code gen >>- HTTP code generation (both WSDL 1.1 and 2.0) >>- Fix/update helper mode >>- Custom deployers support >>- Message formatters >>- Message Builders >> >>In addition to above major features we have fixed numerous JIRA issues. >> >> >>Thanks, >> Deepal >> >> >> >>--------------------------------------------------------------------- >>To unsubscribe, e-mail: [EMAIL PROTECTED] >>For additional commands, e-mail: [EMAIL PROTECTED] >> >> >> > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ________________________________ LLama Gratis a cualquier PC del Mundo. Llamadas a fijos y móviles desde 1 céntimo por minuto. http://es.voice.yahoo.com
-- www.ruchith.org www.wso2.org --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]