Hi, all
     I am using Tuscany C++ SCA Runtime to export webservices through
AXIS2C-HTTP server.
     But I find that if it receives an invalid request, for example, the
requested web service cannot be found in Tuscany SCA C++ Runtime, an
structured exception will be thrown out [1] and since in its container, the
AXIS2C-HTTP server, there is no exception handler for it, the whole process
will be terminated. Is there any option I can set to let the service just
return an error code for this invalid request and continue to serve later
request?
    Furthermore, for example, a malicious person can shutdown the webservice
just by sending it an invalid request. So, is it more reasonable for the
Tuscany C++ WebService extension return an error code to the container
instead of just throwing out an exception?

[1]tuscany::sca::ws::Axis2Service_invoke(axis2_svc_skeleton_t *svc_skeleton,
 const axis2_env_t *env, axiom_node_t *node,           axis2_msg_ctx_t
*msg_ctx);

Thanks.
-- 
Leo Li
China Software Development Lab, IBM

Reply via email to