Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.6.0
-
None
-
None
Description
I use axis2-1.6.1 to generate client stub and use axis2-1.6.0 with curl-7.19.7. The http request has multi-parts message with an invalid action item,
– Encrypted Boundary
.Content-Type: application/HTTP-SPNEGO-session-encrypted
.OriginalContent: type=application/soap+xml;charset=UTF-8;action=""";Length=330
– Encrypted Boundary
Below is a patch that I used to get around this issue. After the patch, the message is,
– Encrypted Boundary
.Content-Type: application/HTTP-SPNEGO-session-encrypted
.OriginalContent: type=application/soap+xml;charset=UTF-8;Length=330
– Encrypted Boundary
The patch is,
— ./modules/codegen/src/org/apache/axis2/wsdl/template/c/StubSourceTemplate.xsl 2012-01-12 14:06:44.000000000 -0500
+++ ./modules/codegen/src/org/apache/axis2/wsdl/template/c/StubSourceTemplate.xsl 2012-01-12 14:06:38.000000000 -0500
@@ -356,9 +356,11 @@
if (NULL == soap_act)
<xsl:choose>
@@ -1090,9 +1092,11 @@
if (NULL == soap_act)
<xsl:choose>
<xsl:when test="$soapVersion='http://www.w3.org/2003/05/soap-envelope'">
@@ -1246,9 +1250,11 @@
soap_act = axis2_options_get_soap_action ( options, env );
if ( NULL == soap_act )
<xsl:choose>
<xsl:when test="$soapVersion='http://www.w3.org/2003/05/soap-envelope'">