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 "nadir amra (JIRA)" <ax...@ws.apache.org> on 2006/07/26 08:41:16 UTC
[jira] Closed: (AXISCPP-706) Axis-C++ fix for AXIS-1836 --
ClassCastException in SoapFaultBuilder reading fault
[ http://issues.apache.org/jira/browse/AXISCPP-706?page=all ]
nadir amra closed AXISCPP-706.
------------------------------
> Axis-C++ fix for AXIS-1836 -- ClassCastException in SoapFaultBuilder reading fault
> ----------------------------------------------------------------------------------
>
> Key: AXISCPP-706
> URL: http://issues.apache.org/jira/browse/AXISCPP-706
> Project: Axis-C++
> Issue Type: Bug
> Components: SOAP
> Affects Versions: current (nightly)
> Reporter: Henrik Nordberg
> Assigned To: Chinthana Danapala
>
> Currently Axis Java clients crash reading soap fault generated by Axis C++ servers. This is because Axis Java assumes the <detail> element has sub elements, while Axis C++ generated <detail> elements just have text.
> Please refer to http://issues.apache.org/jira/browse/AXIS-1836 for details (no pun intended).
> A very simple fix for this is to add some code in SoapFault.cpp to simply wrap the detail text in another element like so:
> in int SoapFault::serialize(SoapSerializer& pSZ, SOAP_VERSION eSoapVersion):
> if(m_pFaultDetail)
> {
> pSZ.serialize("<detail><appSpecific>", NULL);
> m_pFaultDetail->serialize(pSZ);
> pSZ.serialize("</appSpecific></detail>\n", NULL);
> }
> (in two places)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org