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/23 06:57:24 UTC
svn commit: r408831 -
/webservices/axis/trunk/c/src/cbindings/client/CallC.cpp
Author: nadiramra
Date: Mon May 22 21:57:24 2006
New Revision: 408831
URL: http://svn.apache.org/viewvc?rev=408831&view=rev
Log:
C support fixes/enhancements.
Modified:
webservices/axis/trunk/c/src/cbindings/client/CallC.cpp
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=408831&r1=408830&r2=408831&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/cbindings/client/CallC.cpp (original)
+++ webservices/axis/trunk/c/src/cbindings/client/CallC.cpp Mon May 22 21:57:24 2006
@@ -3392,4 +3392,31 @@
}
}
+
+AXISC_STORAGE_CLASS_INFO
+const char * axiscCallGetFaultAsXMLString(AXISCHANDLE call)
+{
+ AxisObjectContainer *h = (AxisObjectContainer *)call;
+ h->_exception.resetException();
+ Call *c = (Call*)h->_objHandle;
+
+ try
+ {
+ return c->getFaultAsXMLString();
+ }
+ catch ( AxisException& e )
+ {
+ h->_exception.setExceptionFromException(e);
+ axiscAxisInvokeExceptionHandler(e.getExceptionCode(), e.what());
+ }
+ catch ( ... )
+ {
+ h->_exception.setExceptionCode(-1);
+ h->_exception.setMessage("Unrecognized exception thrown.");
+ axiscAxisInvokeExceptionHandler(-1, "Unrecognized exception thrown.");
+ }
+
+ return (xsdc__string)NULL;
+}
+
}
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org