You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by Samisa Abeysinghe <sa...@yahoo.com> on 2004/04/09 08:33:09 UTC
SOAP 1.1 encoding support patch
Hi All,
As I reported yesterday, Axis C++ client failed to interop with echoArray methods of Axis Java
echo interop sample.
I found the cause of the problem. Axis C++ uses SOAP 1.2 encoding while Axis Java uses SOAP
1.1 encoding.
Following is a patch to fix the problem. With the patch, I could make the base C++ client
sample work with Axis Java echo server. (However echoBase64 failed)
(NOTE: SOAP 1.1 support is critical for interop as per WS-I BP1.0)
Please look into the echoBase64 problem.
Here is the Patch
-------------------------------------------------------------------------------------------------
diff -u src/soap/URIMapping.cpp ../../original/src/soap/URIMapping.cpp
--- src/soap/URIMapping.cpp 2004-04-09 12:13:13.000000000 +0600
+++ ../../original/src/soap/URIMapping.cpp 2004-04-07 16:01:19.000000000 +0600
@@ -92,10 +92,6 @@
m_sURIMap[__TRC("http://www.w3.org/2001/XMLSchema-instance")] = URI_XSI;
m_sURIMap[__TRC("http://www.w3.org/2001/06/soap-encoding")] = URI_ENC;
m_sURIMap[__TRC("http://schemas.xmlsoap.org/soap/envelope/")] = URI_ENVELOPE;
-//samisa
- //added for Axis Java interop
- m_sURIMap[__TRC("http://schemas.xmlsoap.org/soap/encoding/")] = URI_ENC;
-//samisa
m_bInit = true;
}
}
-------------------------------------------------------------------------------------------------
Thnaks,
Samisa...
__________________________________
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway
http://promotions.yahoo.com/design_giveaway/
RE: SOAP 1.1 encoding support patch
Posted by Susantha Kumara <su...@opensource.lk>.
Hi Samisa,
Your patch applied and now the problem is solved. Thanks.
Susantha.
> -----Original Message-----
> From: Samisa Abeysinghe [mailto:samisa_abeysinghe@yahoo.com]
> Sent: Friday, April 09, 2004 12:33 PM
> To: Apache AXIS C Developers List
> Subject: SOAP 1.1 encoding support patch
>
>
> Hi All,
> As I reported yesterday, Axis C++ client failed to interop
> with echoArray methods of Axis Java
> echo interop sample.
> I found the cause of the problem. Axis C++ uses SOAP 1.2
> encoding while Axis Java uses SOAP
> 1.1 encoding.
>
> Following is a patch to fix the problem. With the patch, I
> could make the base C++ client
> sample work with Axis Java echo server. (However echoBase64 failed)
>
> (NOTE: SOAP 1.1 support is critical for interop as per WS-I BP1.0)
>
> Please look into the echoBase64 problem.
>
> Here is the Patch
> ------------------------------------------------------------------
> -------------------------------
> diff -u src/soap/URIMapping.cpp ../../original/src/soap/URIMapping.cpp
> --- src/soap/URIMapping.cpp 2004-04-09 12:13:13.000000000 +0600
> +++ ../../original/src/soap/URIMapping.cpp 2004-04-07
> 16:01:19.000000000 +0600
> @@ -92,10 +92,6 @@
>
> m_sURIMap[__TRC("http://www.w3.org/2001/XMLSchema-instance")] = URI_XSI;
>
> m_sURIMap[__TRC("http://www.w3.org/2001/06/soap-encoding")] = URI_ENC;
>
> m_sURIMap[__TRC("http://schemas.xmlsoap.org/soap/envelope/")] =
> URI_ENVELOPE;
> -//samisa
> - //added for Axis Java interop
> -
> m_sURIMap[__TRC("http://schemas.xmlsoap.org/soap/encoding/")] = URI_ENC;
> -//samisa
> m_bInit = true;
> }
> }
> ------------------------------------------------------------------
> -------------------------------
>
> Thnaks,
> Samisa...
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Small Business $15K Web Design Giveaway
> http://promotions.yahoo.com/design_giveaway/
>