Hi,
 I am trying the example in http://ws.apache.org/axis2/1_1_1/spring.html#23 
I put the services and modules directory under WEB-INF/ dir of my application. 
Also copied the springExample.aar file under services. 

1) Should I include the AxisServlet under web.xml since this is not mentioned 
in the above url?  I tried both including/excluding the axis servlet. 

2) How can I make spring read the services.xml file. Looks like the service is 
not configured.

3) Should the aar file also contain the wsdl ?

I still get the below exception while accessing the url: 
http://localhost:8080/mm/services

 ERROR org.apache.axis2.transport.http.AxisServlet - 
org.apache.axis2.AxisFault: I can not find a service for this request to be 
serviced. Check the WSDL and the request URI

Thanks

robert lazarski <[EMAIL PROTECTED]> wrote: Jetty should be ok. I assume since 
you got this far that all the axis2
jars are under WEB-INF/lib. If you look at the expanded axis2.war via
'jar xf axis2.war', you'll see the services dir and also a modules
dir. I suggest simply copying in its entirety the services and modules
directory to your expanded war. Then place your new aar, with the
services.xml configured for spring, under the services dir. From that
point, let us know if you still have problems.

Robert

On 3/27/07, Rosan Roche  wrote:
>     Where should the aar file be placed. I am using Jetty server from
> eclipse to test. After the server startup, while checking for services, I
> get the exception:
> I can not find a service for this request to be serviced. Check the WSDL and
> the request URI.
>
> Thanks
>
> robert lazarski  wrote:
>  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 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
> >
> >
> > PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
> > "http://java.sun.com/dtd/web-app_2_3.dtd";>
> >
> >
> > Media Management
> >
> >
> > contextConfigLocation
> > classpath:applicationContext.xml
> >
> >
> >
> > configuration
> > deployment
> >
> >
> >
> >
> >
> > org.springframework.web.context.ContextLoaderListener
> >
> >
> >
> > mm
> >
> > wicket.protocol.http.WicketServlet
> >
> >
> > applicationFactoryClassName
> >
> > wicket.spring.SpringWebApplicationFactory
> >
> > 1
> >
> >
> >
> > axis
> >
> > org.apache.axis2.transport.http.AxisServlet
> > 5
> >
> >
> >
> > axis
> > /services/*
> >
> >
> >
> > 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]
>
>
>
>
>  ________________________________
> We won't tell. Get more on shows you hate to love
> (and love to hate): Yahoo! TV's Guilty Pleasures list.
>
>

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



 
---------------------------------
TV dinner still cooling?
Check out "Tonight's Picks" on Yahoo! TV.

Reply via email to