axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Borley" <ajbor...@gmail.com>
Subject Re: [Axis2] Calling one service from another
Date Thu, 13 Jul 2006 15:33:03 GMT
Hi Sahan,

Thanks for your suggestion, but it doesn't seem to work I'm afraid - I get
the same problem whether I do the DETACH before or after the
AXIS2_SVC_CLIENT_FREE.

Cheers
Andrew


On 7/11/06, Sahan Gamage <sahan@wso2.com> wrote:
>
> Hi,
>
> The problem may be that the ret_node returned by the svc_client is a
> part of the om tree which attached svc_client. When you free the
> svc_client the om_tree is also freed. To prevent that, try detaching the
> ret_node from the internal tree. AXIOM_NODE_DETACH()
>
> - sahan
>
> Andrew Borley wrote:
>
> > Hi,
> >
> > I'm using Axis2C 0.92 and trying to call another service from within
> > my service. The call to my final service works correctly but then the
> > intermediary service fails when Axis2 tries to return the response to
> > the original client. This happens after my skeleton invoke method
> > returns.
> > I can fix my problem by commenting out the call to
> > AXIS2_SVC_CLIENT_FREE in my intermediary service, but then I have
> > memory leaks.
> > I have included my service & skeleton code.
> >
> > Does anyone know what's going on? Can anyone help?
> >
> > Thanks
> >
> > Andrew
> >
> >------------------------------------------------------------------------
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
> >For additional commands, e-mail: axis-c-user-help@ws.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-c-user-help@ws.apache.org
>
>

Mime
View raw message