Details
-
Wish
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.5 Final
-
None
-
None
-
linux
Description
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.
The initialize_module( 0 ) call produces the exception SERVER_ENGINE_EXCEPTION does not mean that you cannot run the server and client in parallel.
In fact the server and client are tow distinct entities and they have no relation to each other when operating. I think the misunderstanding comes because the exception code is named SERVER_ENGINE_EXCEPTION. When the client throw this, what it means is that there seem to be some problem on the server side. In other words, most probably the server has returned a fault.