geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevan Miller <kevan.mil...@gmail.com>
Subject Re: geronimo 2.1 and axis2.war webinterface
Date Wed, 09 Sep 2009 12:48:05 GMT

On Sep 9, 2009, at 1:09 AM, Stephan Mehlhase wrote:

> I'm also quite new, but isn't axis already part of Geronimo? What do
> you want to achieve?

Correct. You're really much better off using the embedded web services  
support in Geronimo. Note that the default web services implementation  
for a Jetty-based server is CXF. For Tomcat, the default  
implementation is Axis2.

Here's some documentation on developing a JAX-WS app: http://cwiki.apache.org/GMOxDOC21/jaxws-calculator-simple-web-service-with-jax-ws.html

If you really, really want to use axis2.war, you should be able to use  
the following geronimo deployment plan:

<web-app xmlns="http://geronimo.apache.org/xml/ns/j2ee/web-1.1">

   <dep:environment xmlns:dep="http://geronimo.apache.org/xml/ns/deployment-1.1 
">
     <dep:moduleId>
       <dep:groupId>mygroup</dep:groupId>
       <dep:artifactId>myapp</dep:artifactId>
       <dep:version>1.0</dep:version>
       <dep:type>war</dep:type>
     </dep:moduleId>

     <dep:hidden-classes>
       <dep:filter>org.apache.commons</dep:filter>
         <dep:filter>org.jdom</dep:filter>
         <dep:filter>org.apache.axis2</dep:filter>
         <dep:filter>org.apache.axiom</dep:filter>
     </dep:hidden-classes>
   </dep:environment>

   <context-root>/myapp-context</context-root>
</web-app>

--kevan
Mime
View raw message