So here we go. I am testing the Service called *UserService*
service.xml including that service: http://code.google.com/p/openmeetings/source/browse/branches/dev/injection/src/META-INF/services.xml The application-Context file from Spring that gets loaded and the link to the line of the xml where the Bean is defined that Axis2 will reference: http://code.google.com/p/openmeetings/source/browse/branches/dev/injection/WebContent/WEB-INF/openmeetings-applicationContext.xml#256 The UserService Class that gets deployed as WebService: http://code.google.com/p/openmeetings/source/browse/branches/dev/injection/src/userservice/org/openmeetings/axis/services/UserServiceProxy.java All very simple I think and alligned exactly to what is written at: http://axis.apache.org/axis2/java/core/docs/spring.html#With_a_ServletContext The service.xml is compiled into a file called: OpenMeetingsService.aar and situated in webapp/WEB-INF/services The UserServiceProxy.java class is bundled into a openmeetings-WebService.jar and situated in webapp/WEB-INF/lib The exception on startup of Tomcat is: 2011-08-21 20:49:23,552 [main] INFO o.a.catalina.core.StandardEngine - Starting Servlet Engine: Apache Tomcat/6.0.24 2011-08-21 20:49:26,011 [main] ERROR o.a.a.deployment.ServiceDeployer - The OpenMeetingsService.aar service, which is not valid, caused The following error occurred during schema generation: Axis2 Can't find Spring's ApplicationContext org.apache.axis2.deployment.DeploymentException: The following error occurred during schema generation: Axis2 Can't find Spring's ApplicationContext ... Thanks Sebastian 2011/8/21 seba.wag...@gmail.com <seba.wag...@gmail.com>: > Thanks Robert, > > I will modify the sources aligned with the inital approach again and > send you the details. > > Sebastian > > 2011/8/21 robert lazarski <robertlazar...@gmail.com>: >> On Sun, Aug 21, 2011 at 1:58 PM, robert lazarski >> <robertlazar...@gmail.com> wrote: >>> On Sun, Aug 21, 2011 at 1:33 PM, seba.wag...@gmail.com >>> <seba.wag...@gmail.com> wrote: >>>> Hi Robert, >>>> >>>> I have exactly read and applied this one first. >>>> >>>> You mean: >>>> <service name="SpringAwareService"> >>>> <description> >>>> simple spring example >>>> </description> >>>> <parameter name="ServiceObjectSupplier">org.apache.axis2.extensions.spring.receivers.SpringServletContextObjectSupplier</parameter> >>>> <parameter name="SpringBeanName">springAwareService</parameter> >>>> <operation name="getValue"> >>>> <messageReceiver >>>> class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/> >>>> </operation> >>>> </service> >>>> >>>> => It results in a situation where the WSDL file is generated but ZERO >>>> methods are in the Service. >>>> >>>> If you manually add one like this: >>>> <operation name="getValue"> >>>> >>>> (of course with a different method name that really exist in our case >>>> and with a SpringBean that does exist et cetera it results in: >>>> Service Object cannot be found ... which means that much like it was >>>> not able to find the Bean. >>>> >>>> >>>> Sebastian >>>> >>> >>> I'm not sure what exactly your problem is - you've mentioned at least >>> loading order, wsdl issues and ungenerated methods, best I can tell. >>> The axis2 spring integration guide requires you follow it exactly, and >>> works when done so. You are pasting incomplete configs and no stack >>> traces, so its hard to see where you are going wrong. I don't think >>> you mentioned what version of axis2 you are using, but I suggest you >>> try going over the guide another time as it typically works for >>> everyone eventually. >>> >> >> If all else fails, if you paste all your configs as outined in the >> guide, and you stack traces, on the latest released axis2, I'll see if >> I can help. >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: java-user-unsubscr...@axis.apache.org >> For additional commands, e-mail: java-user-h...@axis.apache.org >> >> > > > > -- > Sebastian Wagner > http://www.webbase-design.de > http://openmeetings.googlecode.com > http://www.wagner-sebastian.com > seba.wag...@gmail.com > -- Sebastian Wagner http://www.webbase-design.de http://openmeetings.googlecode.com http://www.wagner-sebastian.com seba.wag...@gmail.com