axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dinesh Premalal (JIRA)" <>
Subject [jira] Commented: (AXIS2C-209) Cannot invoke a service from within a service
Date Sat, 09 Dec 2006 13:46:21 GMT
    [ ] 
Dinesh Premalal commented on AXIS2C-209:

Since recent memory leak fixes in the code base, this services crashed as in windows. An we
were able to find serverl bugs in the code related to this scenario.

1. when we going to access intermediary service, need to say explicitly      AXIS2_OPTIONS_SET_XML_PARSER_RESET(options,
env, AXIS2_FALSE);
else when we call svc_client_free in intermediary service it resets parser. 

2.When we got respose from the intermediary service need to detach the return node from the
Before doing that we need to make sure tree is completely build

if (ret_node)
          document = AXIOM_NODE_GET_DOCUMENT (ret_node, env);
          if (document)
                  AXIOM_DOCUMENT_BUILD_ALL (document, env);
          AXIOM_NODE_DETACH (ret_node, env);

But I'm afraid I didn't test it in windows machine. Ill do so before close this jira.  Will
attach new service here with

> Cannot invoke a service from within a service
> ---------------------------------------------
>                 Key: AXIS2C-209
>                 URL:
>             Project: Axis2-C
>          Issue Type: Bug
>    Affects Versions: 0.92
>            Reporter: Andrew Borley
>         Assigned To: Dinesh Premalal
>            Priority: Critical
>             Fix For: 0.96
>         Attachments: error.txt, leak.txt, test_service.tar.gz
> Using Axis2C 0.92 and trying to call a service on another server from within a service.

> The call to the final service works correctly but then the intermediary service fails
when Axis2C tries to return the response to the original client. This happens after my skeleton
invoke method returns.
> The problem can be fixed by commenting out the AXIS2_SVC_CLIENT_FREE call in the intermediary
service, but then I have memory leaks.
> It would be good to have a sample that shows this operation, as it seems a likely user-scenario
to me.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message