You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by di...@apache.org on 2006/12/09 22:51:17 UTC

svn commit: r485068 - /webservices/axis2/trunk/c/modules/core/engine/disp_checker.c

Author: dinesh
Date: Sat Dec  9 13:51:16 2006
New Revision: 485068

URL: http://svn.apache.org/viewvc?view=rev&rev=485068
Log:
operation not found soap fault

Modified:
    webservices/axis2/trunk/c/modules/core/engine/disp_checker.c

Modified: webservices/axis2/trunk/c/modules/core/engine/disp_checker.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/engine/disp_checker.c?view=diff&rev=485068&r1=485067&r2=485068
==============================================================================
--- webservices/axis2/trunk/c/modules/core/engine/disp_checker.c (original)
+++ webservices/axis2/trunk/c/modules/core/engine/disp_checker.c Sat Dec  9 13:51:16 2006
@@ -283,6 +283,10 @@
     if (!op)
     {
         AXIS2_LOG_INFO(env->log, "Operation Not found. Endpoint reference is : %s", (address) ? address : "NULL");
+		soap_envelope = axiom_soap_envelope_create_default_soap_envelope (env, soap_version); 
+		soap_body = AXIOM_SOAP_ENVELOPE_GET_BODY(soap_envelope, env);
+		soap_fault = axiom_soap_fault_create_default_fault (env, soap_body, "Receiver", "Operation Not Found", soap_version);
+		AXIS2_MSG_CTX_SET_FAULT_SOAP_ENVELOPE(msg_ctx, env, soap_envelope);
         return AXIS2_FAILURE;
     }
     return AXIS2_SUCCESS;



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org