axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nadira...@apache.org
Subject svn commit: r408831 - /webservices/axis/trunk/c/src/cbindings/client/CallC.cpp
Date Tue, 23 May 2006 04:57:24 GMT
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


Mime
View raw message