http://ws.apache.org/axis2/1_1_1/spring.html#24 points to the "without
a servlet context" section , yet you have a web.xml and are loading
spring there. That's fine, but you need to have an AAR file with just
the services.xml file in it. Try
http://ws.apache.org/axis2/1_1_1/spring.html#23 and see how that goes.
As shown further down in the same docs, the structure of your AAR in
this case will be like:

./springExample.aar
./META-INF
./META-INF/MANIFEST.MF
./META-INF/services.xml

Further hint: look at the "Axis2 Web Application Home Page" section in
this link where you can see a list of your services:

http://ws.apache.org/axis2/1_1_1/installationguide.html

HTH,
Robert

On 3/27/07, Rosan Roche <[EMAIL PROTECTED]> wrote:
I am trying to integrate the existing Spring application I have with axis2.
I am following the example from
http://ws.apache.org/axis2/1_1_1/spring.html#24.
I have added the Axis servlet to my web.xml file along with the existing
servlet that is being used by the main application.
   When I try to access the service at
http://localhost:8080/mm/services/SpringAwareService,
I get an exception: org.apache.axis2.AxisFault:
I can not find a service for this request to be serviced.
Check the WSDL and the request URI

 How does the services.xml get loaded?
Should it be explicitly loaded while startup? Should I create
a WSDL?

web.xml
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/dtd/web-app_2_3.dtd";>

<web-app>
    <display-name>Media Management</display-name>

    <context-param>
        <param-name>contextConfigLocation</param-name>
        <param-value>classpath:applicationContext.xml</param-value>
    </context-param>

    <context-param>
      <param-name>configuration</param-name>
      <param-value>deployment</param-value>
      <!--       <param-value>development</param-value>-->
    </context-param>

    <listener>

<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
    </listener>

    <servlet>
        <servlet-name>mm</servlet-name>

<servlet-class>wicket.protocol.http.WicketServlet</servlet-class>
        <init-param>

<param-name>applicationFactoryClassName</param-name>

<param-value>wicket.spring.SpringWebApplicationFactory</param-value>
        </init-param>
        <load-on-startup>1</load-on-startup>
    </servlet>

    <servlet>
        <servlet-name>axis</servlet-name>

<servlet-class>org.apache.axis2.transport.http.AxisServlet</servlet-class>
        <load-on-startup>5</load-on-startup>
    </servlet>

    <servlet-mapping>
        <servlet-name>axis</servlet-name>
        <url-pattern>/services/*</url-pattern>
    </servlet-mapping>
</web-app>

 Thanks



 ________________________________
Never miss an email again!
Yahoo! Toolbar alerts you the instant new Mail arrives. Check it out.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to