summaryrefslogtreecommitdiffstats
path: root/sca-cpp/trunk/components/webservice/axis2.hpp
diff options
context:
space:
mode:
authorjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2010-01-30 08:06:00 +0000
committerjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2010-01-30 08:06:00 +0000
commitc06d7a38b904247917462c3c1a780f95c68e0709 (patch)
tree09e734786aa4aa710b7248921185f9ace9454078 /sca-cpp/trunk/components/webservice/axis2.hpp
parenteb644871fca453fbc7de6dc6746eade97cb3a848 (diff)
Added a Web service listener component integrating Axis2/C's mod_axis2. Consolidated a bit the HTTPD redirect functions (used to redirect to mod_axis2.) Minor updates to the README and INSTALL files.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@904733 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-cpp/trunk/components/webservice/axis2.hpp')
-rw-r--r--sca-cpp/trunk/components/webservice/axis2.hpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/sca-cpp/trunk/components/webservice/axis2.hpp b/sca-cpp/trunk/components/webservice/axis2.hpp
index ba13b9ad7f..7a67702b5c 100644
--- a/sca-cpp/trunk/components/webservice/axis2.hpp
+++ b/sca-cpp/trunk/components/webservice/axis2.hpp
@@ -25,6 +25,7 @@
/**
* Web service invocation functions using Axis2.
*/
+#include "config.hpp"
// Ignore redundant declarations in Axiom headers
#ifdef WANT_MAINTAINER_MODE
@@ -32,6 +33,11 @@
#endif
#include <axiom.h>
#include <axis2_client.h>
+#include <axis2_module.h>
+#include <axis2_addr_mod.h>
+#include <axis2_conf_ctx.h>
+#include <axis2_disp.h>
+#include <axis2_http_out_transport_info.h>
#ifdef WANT_MAINTAINER_MODE
#pragma GCC diagnostic warning "-Wredundant-decls"
#endif
@@ -57,6 +63,9 @@ public:
Axis2Context(const Axis2Context& ax) : env(ax.env), owner(false) {
}
+ Axis2Context(const axutil_env_t* env) : env(const_cast<axutil_env_t*>(env)), owner(false) {
+ }
+
~Axis2Context() {
if (!owner || env == NULL)
return;