You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by ka...@apache.org on 2006/12/18 13:11:32 UTC
svn commit: r488248 -
/webservices/axis2/trunk/c/rampart/src/handlers/rampart_in_handler.c
Author: kaushalye
Date: Mon Dec 18 04:11:31 2006
New Revision: 488248
URL: http://svn.apache.org/viewvc?view=rev&rev=488248
Log:
No failure if the SOPA header is missing
Modified:
webservices/axis2/trunk/c/rampart/src/handlers/rampart_in_handler.c
Modified: webservices/axis2/trunk/c/rampart/src/handlers/rampart_in_handler.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/src/handlers/rampart_in_handler.c?view=diff&rev=488248&r1=488247&r2=488248
==============================================================================
--- webservices/axis2/trunk/c/rampart/src/handlers/rampart_in_handler.c (original)
+++ webservices/axis2/trunk/c/rampart/src/handlers/rampart_in_handler.c Mon Dec 18 04:11:31 2006
@@ -89,7 +89,6 @@
soap_header = AXIOM_SOAP_ENVELOPE_GET_HEADER(soap_envelope, env);
if (soap_header)
{
-
AXIS2_LOG_TRACE(env->log, AXIS2_LOG_SI, "SOAP header found");
/*Create and populate rampart actions*/
@@ -164,7 +163,9 @@
- } /* End of sec_header */
-
+ }else{ /* End of sec_header */
+ /*It's OK to have SOAP envelopes without headers*/
+ return AXIS2_SUCCESS;
+ }
}/* End of soap_envelope */
return status;}
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org