You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by na...@apache.org on 2006/05/31 04:11:43 UTC
svn commit: r410417 - in /webservices/axis/trunk/c:
include/axis/client/Call.hpp src/cbindings/client/CallC.cpp
src/engine/client/Call.cpp src/soap/SoapDeSerializer.cpp
src/soap/SoapDeSerializer.h
Author: nadiramra
Date: Tue May 30 19:11:42 2006
New Revision: 410417
URL: http://svn.apache.org/viewvc?rev=410417&view=rev
Log:
remove const from return type since the storage is dynamically allocated.
Modified:
webservices/axis/trunk/c/include/axis/client/Call.hpp
webservices/axis/trunk/c/src/cbindings/client/CallC.cpp
webservices/axis/trunk/c/src/engine/client/Call.cpp
webservices/axis/trunk/c/src/soap/SoapDeSerializer.cpp
webservices/axis/trunk/c/src/soap/SoapDeSerializer.h
Modified: webservices/axis/trunk/c/include/axis/client/Call.hpp
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/include/axis/client/Call.hpp?rev=410417&r1=410416&r2=410417&view=diff
==============================================================================
--- webservices/axis/trunk/c/include/axis/client/Call.hpp (original)
+++ webservices/axis/trunk/c/include/axis/client/Call.hpp Tue May 30 19:11:42 2006
@@ -1659,7 +1659,7 @@
*
* @return a null terminated character string of the complex fault in XML.
*/
- const xsd__string getFaultAsXMLString();
+ xsd__string getFaultAsXMLString();
/**
* Adds an attachment to the MIME message. This attachment will not be
Modified: webservices/axis/trunk/c/src/cbindings/client/CallC.cpp
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/src/cbindings/client/CallC.cpp?rev=410417&r1=410416&r2=410417&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/cbindings/client/CallC.cpp (original)
+++ webservices/axis/trunk/c/src/cbindings/client/CallC.cpp Tue May 30 19:11:42 2006
@@ -3394,12 +3394,7 @@
AXISC_STORAGE_CLASS_INFO
-#ifdef __OS400__
-const char *
-#else
-const xsd__string
-#endif
-axiscCallGetFaultAsXMLString(AXISCHANDLE call)
+xsdc__string axiscCallGetFaultAsXMLString(AXISCHANDLE call)
{
Call *c = (Call*)call;
@@ -3416,7 +3411,7 @@
axiscAxisInvokeExceptionHandler(-1, "Unrecognized exception thrown.", NULL, NULL);
}
- return (const char *)NULL;
+ return (xsdc__string)NULL;
}
AXISC_STORAGE_CLASS_INFO
Modified: webservices/axis/trunk/c/src/engine/client/Call.cpp
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/src/engine/client/Call.cpp?rev=410417&r1=410416&r2=410417&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/engine/client/Call.cpp (original)
+++ webservices/axis/trunk/c/src/engine/client/Call.cpp Tue May 30 19:11:42 2006
@@ -1088,7 +1088,7 @@
m_pIWSSZ->setSOAPMethodAttribute( ((Attribute *) pAttribute)->clone());
}
-const xsd__string Call::getFaultAsXMLString()
+xsd__string Call::getFaultAsXMLString()
{
return m_pIWSDZ->getFaultAsXMLString();
}
Modified: webservices/axis/trunk/c/src/soap/SoapDeSerializer.cpp
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/src/soap/SoapDeSerializer.cpp?rev=410417&r1=410416&r2=410417&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/soap/SoapDeSerializer.cpp (original)
+++ webservices/axis/trunk/c/src/soap/SoapDeSerializer.cpp Tue May 30 19:11:42 2006
@@ -2120,7 +2120,7 @@
return value;
}
-const xsd__string
+xsd__string
SoapDeSerializer::getFaultAsXMLString()
{
if (AXIS_SUCCESS != m_nStatus || RPC_ENCODED == m_nStyle)
Modified: webservices/axis/trunk/c/src/soap/SoapDeSerializer.h
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/src/soap/SoapDeSerializer.h?rev=410417&r1=410416&r2=410417&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/soap/SoapDeSerializer.h (original)
+++ webservices/axis/trunk/c/src/soap/SoapDeSerializer.h Tue May 30 19:11:42 2006
@@ -331,7 +331,7 @@
/**
* Returns a complex fault as an XML string
*/
- const xsd__string getFaultAsXMLString();
+ xsd__string getFaultAsXMLString();
/*
*This class is used by the DeSerializer to set the input stream back to
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org