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 sa...@apache.org on 2006/05/02 10:25:49 UTC
svn commit: r398846 - in /webservices/axis2/trunk/c: include/axis2_soap.h
include/axis2_soap_const.h samples/user_guide/clients/echo_blocking.c
Author: samisa
Date: Tue May 2 01:25:46 2006
New Revision: 398846
URL: http://svn.apache.org/viewcvs?rev=398846&view=rev
Log:
Added the convinient header so that users could include only one hader and get all SOAP functionality
Added:
webservices/axis2/trunk/c/include/axis2_soap.h
Modified:
webservices/axis2/trunk/c/include/axis2_soap_const.h
webservices/axis2/trunk/c/samples/user_guide/clients/echo_blocking.c
Added: webservices/axis2/trunk/c/include/axis2_soap.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_soap.h?rev=398846&view=auto
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_soap.h (added)
+++ webservices/axis2/trunk/c/include/axis2_soap.h Tue May 2 01:25:46 2006
@@ -0,0 +1,52 @@
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef AXIS2_SOAP_H
+#define AXIS2_SOAP_H
+
+#include <axis2_soap_body.h>
+#include <axis2_soap_builder.h>
+#include <axis2_soap_const.h>
+#include <axis2_soap_envelope.h>
+#include <axis2_soap_fault_code.h>
+#include <axis2_soap_fault_detail.h>
+#include <axis2_soap_fault.h>
+#include <axis2_soap_fault_node.h>
+#include <axis2_soap_fault_reason.h>
+#include <axis2_soap_fault_role.h>
+#include <axis2_soap_fault_sub_code.h>
+#include <axis2_soap_fault_text.h>
+#include <axis2_soap_fault_value.h>
+#include <axis2_soap_header_block.h>
+#include <axis2_soap_header.h>
+#include <axis2_soap_message.h>
+
+ /**
+ * @file axis2_soap.h
+ * @brief includes all SOAP related headers
+ */
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+/** @} */
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* AXIS2_SOAP_H */
Modified: webservices/axis2/trunk/c/include/axis2_soap_const.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_soap_const.h?rev=398846&r1=398845&r2=398846&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_soap_const.h (original)
+++ webservices/axis2/trunk/c/include/axis2_soap_const.h Tue May 2 01:25:46 2006
@@ -14,8 +14,8 @@
* limitations under the License.
*/
- #ifndef AXIS2_SOAP_H
- #define AXIS2_SOAP_H
+ #ifndef AXIS2_SOAP_CONST_H
+ #define AXIS2_SOAP_CONST_H
/**
* @file axis2_soap.h
Modified: webservices/axis2/trunk/c/samples/user_guide/clients/echo_blocking.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/samples/user_guide/clients/echo_blocking.c?rev=398846&r1=398845&r2=398846&view=diff
==============================================================================
--- webservices/axis2/trunk/c/samples/user_guide/clients/echo_blocking.c (original)
+++ webservices/axis2/trunk/c/samples/user_guide/clients/echo_blocking.c Tue May 2 01:25:46 2006
@@ -26,16 +26,7 @@
#include <axis2_xml_reader.h>
#include <stdio.h>
#include <axis2_xml_writer.h>
-#include <axis2_soap_builder.h>
-#include <axis2_soap_const.h>
-#include <axis2_soap_envelope.h>
-#include <axis2_soap_body.h>
-#include <axis2_soap_header.h>
-#include <axis2_soap_message.h>
-#include <axis2_soap_header_block.h>
-#include <axis2_soap_fault.h>
-#include <axis2_soap_fault_code.h>
-#include <axis2_soap_fault_role.h>
+#include <axis2_soap.h>
#include <platforms/axis2_platform_auto_sense.h>
axis2_om_node_t *