[
http://issues.apache.org/jira/browse/AXISCPP-771?page=comments#action_12320543
]
jose commented on AXISCPP-771:
------------------------------
To work in server and client (dual) mode at the same time, I need to call in
the same worker process to initialize_module as a server and as a client.
Right now I would have to call initialize_module(0) and initialize_module(1).
In the following lines you can see how I got the SERVER_ENGINE_EXCEPTION:
int initialize_module (int bServer)
{
// some code ...
if (g_uModuleInitialize == 0)
{
// some code ...
}
else if (AxisEngine::m_bServer != bServer)
{
throw AxisEngineException(SERVER_ENGINE_EXCEPTION);
}
}
// some code ...
}
I would like to call initialize_module once, for example with value 2, meaning
dual mode, server and client at the same time. Or some other way to get the
same result.
> Why Axis C++ doesn't support initialize_module() in dual mode, server and
> client at the same time?
> --------------------------------------------------------------------------------------------------
>
> Key: AXISCPP-771
> URL: http://issues.apache.org/jira/browse/AXISCPP-771
> Project: Axis-C++
> Type: Bug
> Components: Basic Architecture
> Versions: 1.5 Final
> Environment: linux
> Reporter: jose
> Priority: Blocker
>
> Why doesn't Axis C++ support initialize_module() in dual mode, server and
> client at the same time?
> My company is very interested on Axis C++ that is, at the moment, perfectly
> integrable with our main product: Abysal-WebDTP Multiprotocol Transaction
> Server.
> This server has a master process that receives all requests that redirects to
> a free worker from a pool of worker processes. These workers execute all the
> transactions. All the workers call properly initialize_module( 1 ) and
> uninitialize_module(). My big problem is that if a transaction want's to call
> a web service via Axis, the initialize_module( 0 ) call produces the
> exception SERVER_ENGINE_EXCEPTION.
> I think this is a big limitation because a process can't run as server and
> client in a web service at the same time.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira