You are viewing a plain text version of this content. The canonical link for it is here.
Posted to rampart-dev@ws.apache.org by ka...@apache.org on 2008/04/01 18:43:18 UTC
svn commit: r643474 -
/webservices/rampart/trunk/c/src/util/rampart_handler_util.c
Author: kaushalye
Date: Tue Apr 1 09:43:12 2008
New Revision: 643474
URL: http://svn.apache.org/viewvc?rev=643474&view=rev
Log:
Fixng JIRA RAMPARTC-81
Modified:
webservices/rampart/trunk/c/src/util/rampart_handler_util.c
Modified: webservices/rampart/trunk/c/src/util/rampart_handler_util.c
URL: http://svn.apache.org/viewvc/webservices/rampart/trunk/c/src/util/rampart_handler_util.c?rev=643474&r1=643473&r2=643474&view=diff
==============================================================================
--- webservices/rampart/trunk/c/src/util/rampart_handler_util.c (original)
+++ webservices/rampart/trunk/c/src/util/rampart_handler_util.c Tue Apr 1 09:43:12 2008
@@ -169,6 +169,12 @@
text_om_ele = axiom_element_create(env, NULL, "ProblemSecurityHeader", ns1, &text_om_node);
axiom_element_set_text(text_om_ele, env, detail_node_text, text_om_node);
+ /*In case of SOAP v 1.1 we change the default version*/
+ if(axis2_msg_ctx_get_is_soap_11(msg_ctx, env))
+ {
+ soap_version = AXIOM_SOAP11;
+ }
+
envelope = axiom_soap_envelope_create_default_soap_fault_envelope(env,
"soapenv:Sender",
reason_text,