Re: Axis2 Spring integration Issues

2011-08-22 Thread seba.wag...@gmail.com
okay full stop: *operations :* If the service impl class is Java, then all the public methods in that service will be exposed. If the user wants to override it, he has to add the "operation" tag and override it. In a non-Java scenario or if you do not have a service class, then all the operations

Re: Axis2 Spring integration Issues

2011-08-22 Thread seba.wag...@gmail.com
Well but out of curiosity: Is the "operation" TAG needed to make a method available via Axis2: YES or NO? There must be one definitive answer to that isn't it? I am quite sure there is NO information regarding that on the documentation in the wiki. I am using Axis2 sind it was called Axis. I do

Re: Axis2 Spring integration Issues

2011-08-22 Thread robert lazarski
On Mon, Aug 22, 2011 at 4:09 PM, seba.wag...@gmail.com wrote: > Hi Robert, > > no the "useOriginalwsdl" doesn't work for me. What should it do actually? I > mean I don't want to specify a WSDL on my own manually I want Axis2 to > create one based on the Methods that are declared public the the Ser

Re: Axis2 Spring integration Issues

2011-08-22 Thread seba.wag...@gmail.com
Hi Robert, no the "useOriginalwsdl" doesn't work for me. What should it do actually? I mean I don't want to specify a WSDL on my own manually I want Axis2 to create one based on the Methods that are declared public the the Service Class. In Version 1.3 of Axis2 there was no need to write any addit

Re: Axis2 Spring integration Issues

2011-08-22 Thread robert lazarski
On Mon, Aug 22, 2011 at 3:23 PM, seba.wag...@gmail.com wrote: > Hi Robert, > > the initial exception on startup is gone now, > however the generated WSDL initially contained no method definitions. > > I had to manually add a "operation" tag in the service XML. > This is my new Service.xml definiti

Re: Axis2 Spring integration Issues

2011-08-22 Thread seba.wag...@gmail.com
Hi Robert, the initial exception on startup is gone now, however the generated WSDL initially contained no method definitions. I had to manually add a "operation" tag in the service XML. This is my new Service.xml definition (I only test with the UserService modified only): http://code.google.com

Re: Axis2 Spring integration Issues

2011-08-22 Thread seba.wag...@gmail.com
Hi Robert, I will test and give feedback. Thanks a lot! Sebastian 2011/8/21 robert lazarski > On Sun, Aug 21, 2011 at 3:58 PM, seba.wag...@gmail.com > wrote: > > service.xml including that service: > > > http://code.google.com/p/openmeetings/source/browse/branches/dev/injection/src/META-INF/s

Re: Axis2 Spring integration Issues

2011-08-21 Thread robert lazarski
On Sun, Aug 21, 2011 at 3:58 PM, seba.wag...@gmail.com wrote: > service.xml including that service: > http://code.google.com/p/openmeetings/source/browse/branches/dev/injection/src/META-INF/services.xml The docs indicate that for servlet context loading you should use SpringServletContextObjectSu

Re: Axis2 Spring integration Issues

2011-08-21 Thread seba.wag...@gmail.com
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 wher

Re: Axis2 Spring integration Issues

2011-08-21 Thread 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 : > On Sun, Aug 21, 2011 at 1:58 PM, robert lazarski > wrote: >> On Sun, Aug 21, 2011 at 1:33 PM, seba.wag...@gmail.com >> wrote: >>> Hi Robert, >>> >>>

Re: Axis2 Spring integration Issues

2011-08-21 Thread robert lazarski
On Sun, Aug 21, 2011 at 1:58 PM, robert lazarski wrote: > On Sun, Aug 21, 2011 at 1:33 PM, seba.wag...@gmail.com > wrote: >> Hi Robert, >> >> I have exactly read and applied this one first. >> >> You mean: >> >>     >>        simple spring example >>     >>    > name="ServiceObjectSupplier">org.

Re: Axis2 Spring integration Issues

2011-08-21 Thread robert lazarski
On Sun, Aug 21, 2011 at 1:33 PM, seba.wag...@gmail.com wrote: > Hi Robert, > > I have exactly read and applied this one first. > > You mean: > >     >        simple spring example >     >     name="ServiceObjectSupplier">org.apache.axis2.extensions.spring.receivers.SpringServletContextObjectSuppl

Re: Axis2 Spring integration Issues

2011-08-21 Thread seba.wag...@gmail.com
Hi Robert, I have exactly read and applied this one first. You mean: simple spring example org.apache.axis2.extensions.spring.receivers.SpringServletContextObjectSupplier springAwareService => It results in a situation where the WSDL file is generat

Re: Axis2 Spring integration Issues

2011-08-21 Thread robert lazarski
On Sun, Aug 21, 2011 at 7:10 AM, seba.wag...@gmail.com wrote: > Hi, > > we are trying to inject Spring Services into an Axis2 Service Class. > Unfortunately the Spring application Context is loaded AFTER Webapp > initializes the Axis2 Servlet. > > My first approach was to use a SpringInit-Java Cla

Re: Axis2 Spring integration Issues

2011-08-21 Thread seba.wag...@gmail.com
One obvious way would be of course to manually grab the ServletContext and get the Bean from it like: public ServletContext getServletContext()     {         MessageContext mc = MessageContext.getCurrentMessageContext();         return (ServletContext) mc.getProperty(HTTPConstants.MC_HTTP_SERVLETCO

Axis2 Spring integration Issues

2011-08-21 Thread seba.wag...@gmail.com
Hi, we are trying to inject Spring Services into an Axis2 Service Class. Unfortunately the Spring application Context is loaded AFTER Webapp initializes the Axis2 Servlet. My first approach was to use a SpringInit-Java Class that gets the application-Context: http://code.google.com/p/openmeetings