Hi.
Thanks alot!
When I created my own ApplicationContextHolder everything worked.
Thanks for all your help, much appreciated after this has taken me alot more
time then it probably should have.. :)
-Az.
> Apart from this code, is spring and axis2 running together in your web
On Thu, Apr 2, 2009 at 4:05 PM, Azazel Se wrote:
>> Date: Thu, 2 Apr 2009 15:01:48 -0300
>> Subject: Re: Axis2 service and spring problem, can't find Spring's
>> ApplicationContext.
>> From: robertlazar...@gmail.com
>> To: axis-user@ws.apache.org
>>
> Date: Thu, 2 Apr 2009 15:01:48 -0300
> Subject: Re: Axis2 service and spring problem, can't find Spring's
> ApplicationContext.
> From: robertlazar...@gmail.com
> To: axis-user@ws.apache.org
>
> On Thu, Apr 2, 2009 at 1:48 PM, Azazel Se wrote:
>
On Thu, Apr 2, 2009 at 1:48 PM, Azazel Se wrote:
>> From: robertlazar...@gmail.com
>>
>> "ApplicationContextHolder.getContext()" isn't needed when using
>> SpringServletContextObjectSupplier. If spring and axis2 are working
>> together, you are done. You have to configure Spring to use
>> Applicat
As mentioned in previous mails "ApplicationContextHolder.getContext()"
is not required to handle this , i think reading some Spring docs
will helpful to you because this is a problem with the the way you
retrieve beans from spring context.
First create your service as a POJO service and configure
> From: robertlazar...@gmail.com
>
> "ApplicationContextHolder.getContext()" isn't needed when using
> SpringServletContextObjectSupplier. If spring and axis2 are working
> together, you are done. You have to configure Spring to use
> ApplicationContextHolder, otherwise it will return null values
On Thu, Apr 2, 2009 at 12:01 PM, Azazel Se wrote:
> Thanks Sagara.
> I actually tried that one first but I didn't know which of the suppliers
> was the correct one so I tried both. In my mail I pasted the exception
> from SpringAppContextAwareObjectSupplier twice by accident. When
> using SpringSe
Hi Azazel ,
> But later
> when I tried using the context I get
> from ApplicationContextHolder.getContext() I found that it has value null???
> Anyone know why?
Here, how you try to use context .and can you provide error trace you
got ? i cant get any clue with supplied details .
> . Ap
Thanks Sagara.
I actually tried that one first but I didn't know which of the suppliers was
the correct one so I tried both. In my mail I pasted the exception from
SpringAppContextAwareObjectSupplier twice by accident. When using
SpringServletContextObjectSupplier I got a "No bean named 'MySer
Hi Azazel,
>
> org.apache.axis2.extensions.spring.receivers.SpringAppContextAwareObjectSupplier
You are loading SpringAppContext through ContextLoaderListener , so
you should use SpringServletContextObjectSupplier instead of
SpringAppContextAwareObjectSupplier.
org.apache.axis2.extensions.s
Hi.
I have added Axis2 and a service to a web application. I tried first with a
simple echo string method in the service which I have gotten to work. But when
I add ApplicationContextHolder.getContext() to the method there is an exception
when the client tries to connect to the web service, an
11 matches
Mail list logo