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/03/14 06:02:46 UTC
svn commit: r385738 -
/webservices/axis/trunk/c/src/cbindings/client/StubC.cpp
Author: nadiramra
Date: Mon Mar 13 21:02:45 2006
New Revision: 385738
URL: http://svn.apache.org/viewcvs?rev=385738&view=rev
Log:
C support fixes/enhancements.
Modified:
webservices/axis/trunk/c/src/cbindings/client/StubC.cpp
Modified: webservices/axis/trunk/c/src/cbindings/client/StubC.cpp
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/src/cbindings/client/StubC.cpp?rev=385738&r1=385737&r2=385738&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/cbindings/client/StubC.cpp (original)
+++ webservices/axis/trunk/c/src/cbindings/client/StubC.cpp Mon Mar 13 21:02:45 2006
@@ -28,6 +28,7 @@
virtual ~StubC() {}
Call* getCallStubC() { return getCall(); }
void applyUserPreferencesStubC() { applyUserPreferences(); }
+ void includeSecureStubC() { includeSecure(); }
void setSOAPHeadersStubC() { setSOAPHeaders(); }
};
AXIS_CPP_NAMESPACE_END
@@ -695,6 +696,29 @@
try
{
s->applyUserPreferencesStubC();
+ }
+ catch ( AxisException& e )
+ {
+ h->_exception.setExceptionFromException(e);
+ axiscInvokeExceptionHandler(e.getExceptionCode(), e.what());
+ }
+ catch ( ... )
+ {
+ h->_exception.setExceptionCode(-1);
+ h->_exception.setMessage("Unrecognized exception thrown.");
+ axiscInvokeExceptionHandler(-1, "Unrecognized exception thrown.");
+ }
+}
+AXISC_STORAGE_CLASS_INFO
+void axiscIncludeSecure(AXISCHANDLE stub)
+{
+ AxisObjectContainer *h = (AxisObjectContainer *)stub;
+ h->_exception.resetException();
+ StubC *s = (StubC*)h->_objHandle;
+
+ try
+ {
+ s->includeSecureStubC();
}
catch ( AxisException& e )
{