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 da...@apache.org on 2006/06/12 13:55:43 UTC
svn commit: r413641 [1/9] - in /webservices/axis2/trunk/c: axiom/include/
axiom/src/attachments/ axiom/src/om/ axiom/src/soap/ axiom/test/soap/
include/ modules/core/clientapi/ modules/core/clientapi/diclient/
modules/core/context/ modules/core/descrip...
Author: damitha
Date: Mon Jun 12 04:55:38 2006
New Revision: 413641
URL: http://svn.apache.org/viewvc?rev=413641&view=rev
Log:
Changed axis2_soap prefix into axiom_soap and axis2_mime prefix to axiom_mime
Added:
webservices/axis2/trunk/c/axiom/include/axiom_mime_const.h
- copied, changed from r413637, webservices/axis2/trunk/c/axiom/include/axis2_mime_const.h
webservices/axis2/trunk/c/axiom/include/axiom_mime_parser.h
- copied, changed from r413637, webservices/axis2/trunk/c/axiom/include/axis2_mime_parser.h
webservices/axis2/trunk/c/axiom/include/axiom_soap.h
- copied, changed from r413637, webservices/axis2/trunk/c/axiom/include/axis2_soap.h
webservices/axis2/trunk/c/axiom/include/axiom_soap_body.h
- copied, changed from r413637, webservices/axis2/trunk/c/axiom/include/axis2_soap_body.h
webservices/axis2/trunk/c/axiom/include/axiom_soap_builder.h
- copied, changed from r413637, webservices/axis2/trunk/c/axiom/include/axis2_soap_builder.h
webservices/axis2/trunk/c/axiom/include/axiom_soap_const.h
- copied, changed from r413637, webservices/axis2/trunk/c/axiom/include/axis2_soap_const.h
webservices/axis2/trunk/c/axiom/include/axiom_soap_envelope.h
- copied, changed from r413637, webservices/axis2/trunk/c/axiom/include/axis2_soap_envelope.h
webservices/axis2/trunk/c/axiom/include/axiom_soap_fault.h
- copied, changed from r413637, webservices/axis2/trunk/c/axiom/include/axis2_soap_fault.h
webservices/axis2/trunk/c/axiom/include/axiom_soap_fault_code.h
- copied, changed from r413637, webservices/axis2/trunk/c/axiom/include/axis2_soap_fault_code.h
webservices/axis2/trunk/c/axiom/include/axiom_soap_fault_detail.h
- copied, changed from r413637, webservices/axis2/trunk/c/axiom/include/axis2_soap_fault_detail.h
webservices/axis2/trunk/c/axiom/include/axiom_soap_fault_node.h
- copied, changed from r413637, webservices/axis2/trunk/c/axiom/include/axis2_soap_fault_node.h
webservices/axis2/trunk/c/axiom/include/axiom_soap_fault_reason.h
- copied, changed from r413637, webservices/axis2/trunk/c/axiom/include/axis2_soap_fault_reason.h
webservices/axis2/trunk/c/axiom/include/axiom_soap_fault_role.h
- copied, changed from r413637, webservices/axis2/trunk/c/axiom/include/axis2_soap_fault_role.h
webservices/axis2/trunk/c/axiom/include/axiom_soap_fault_sub_code.h
- copied, changed from r413637, webservices/axis2/trunk/c/axiom/include/axis2_soap_fault_sub_code.h
webservices/axis2/trunk/c/axiom/include/axiom_soap_fault_text.h
- copied, changed from r413637, webservices/axis2/trunk/c/axiom/include/axis2_soap_fault_text.h
webservices/axis2/trunk/c/axiom/include/axiom_soap_fault_value.h
- copied, changed from r413637, webservices/axis2/trunk/c/axiom/include/axis2_soap_fault_value.h
webservices/axis2/trunk/c/axiom/include/axiom_soap_header.h
- copied, changed from r413637, webservices/axis2/trunk/c/axiom/include/axis2_soap_header.h
webservices/axis2/trunk/c/axiom/include/axiom_soap_header_block.h
- copied, changed from r413637, webservices/axis2/trunk/c/axiom/include/axis2_soap_header_block.h
webservices/axis2/trunk/c/axiom/include/axiom_soap_message.h
- copied, changed from r413637, webservices/axis2/trunk/c/axiom/include/axis2_soap_message.h
webservices/axis2/trunk/c/axiom/src/attachments/axiom_mime_body_part.h
- copied, changed from r413637, webservices/axis2/trunk/c/axiom/src/attachments/axis2_mime_body_part.h
webservices/axis2/trunk/c/axiom/src/attachments/axiom_mime_output.h
- copied, changed from r413637, webservices/axis2/trunk/c/axiom/src/attachments/axis2_mime_output.h
webservices/axis2/trunk/c/axiom/src/soap/_axiom_soap_body.h
- copied, changed from r413637, webservices/axis2/trunk/c/axiom/src/soap/_axis2_soap_body.h
webservices/axis2/trunk/c/axiom/src/soap/_axiom_soap_envelope.h
- copied, changed from r413637, webservices/axis2/trunk/c/axiom/src/soap/_axis2_soap_envelope.h
webservices/axis2/trunk/c/axiom/src/soap/_axiom_soap_fault.h
- copied, changed from r413637, webservices/axis2/trunk/c/axiom/src/soap/_axis2_soap_fault.h
webservices/axis2/trunk/c/axiom/src/soap/_axiom_soap_fault_code.h
- copied, changed from r413637, webservices/axis2/trunk/c/axiom/src/soap/_axis2_soap_fault_code.h
webservices/axis2/trunk/c/axiom/src/soap/_axiom_soap_fault_detail.h
- copied, changed from r413637, webservices/axis2/trunk/c/axiom/src/soap/_axis2_soap_fault_detail.h
webservices/axis2/trunk/c/axiom/src/soap/_axiom_soap_fault_node.h
- copied, changed from r413637, webservices/axis2/trunk/c/axiom/src/soap/_axis2_soap_fault_node.h
webservices/axis2/trunk/c/axiom/src/soap/_axiom_soap_fault_reason.h
- copied, changed from r413637, webservices/axis2/trunk/c/axiom/src/soap/_axis2_soap_fault_reason.h
webservices/axis2/trunk/c/axiom/src/soap/_axiom_soap_fault_role.h
- copied, changed from r413637, webservices/axis2/trunk/c/axiom/src/soap/_axis2_soap_fault_role.h
webservices/axis2/trunk/c/axiom/src/soap/_axiom_soap_fault_sub_code.h
- copied, changed from r413637, webservices/axis2/trunk/c/axiom/src/soap/_axis2_soap_fault_sub_code.h
webservices/axis2/trunk/c/axiom/src/soap/_axiom_soap_fault_text.h
- copied, changed from r413637, webservices/axis2/trunk/c/axiom/src/soap/_axis2_soap_fault_text.h
webservices/axis2/trunk/c/axiom/src/soap/_axiom_soap_fault_value.h
- copied, changed from r413637, webservices/axis2/trunk/c/axiom/src/soap/_axis2_soap_fault_value.h
webservices/axis2/trunk/c/axiom/src/soap/_axiom_soap_header.h
- copied, changed from r413637, webservices/axis2/trunk/c/axiom/src/soap/_axis2_soap_header.h
webservices/axis2/trunk/c/axiom/src/soap/_axiom_soap_header_block.h
- copied, changed from r413637, webservices/axis2/trunk/c/axiom/src/soap/_axis2_soap_header_block.h
webservices/axis2/trunk/c/axiom/src/soap/axiom_soap11_builder_helper.h
- copied, changed from r413637, webservices/axis2/trunk/c/axiom/src/soap/axis2_soap11_builder_helper.h
webservices/axis2/trunk/c/axiom/src/soap/axiom_soap12_builder_helper.h
- copied, changed from r413637, webservices/axis2/trunk/c/axiom/src/soap/axis2_soap12_builder_helper.h
Removed:
webservices/axis2/trunk/c/axiom/include/axis2_mime_const.h
webservices/axis2/trunk/c/axiom/include/axis2_mime_parser.h
webservices/axis2/trunk/c/axiom/include/axis2_soap.h
webservices/axis2/trunk/c/axiom/include/axis2_soap_body.h
webservices/axis2/trunk/c/axiom/include/axis2_soap_builder.h
webservices/axis2/trunk/c/axiom/include/axis2_soap_const.h
webservices/axis2/trunk/c/axiom/include/axis2_soap_envelope.h
webservices/axis2/trunk/c/axiom/include/axis2_soap_fault.h
webservices/axis2/trunk/c/axiom/include/axis2_soap_fault_code.h
webservices/axis2/trunk/c/axiom/include/axis2_soap_fault_detail.h
webservices/axis2/trunk/c/axiom/include/axis2_soap_fault_node.h
webservices/axis2/trunk/c/axiom/include/axis2_soap_fault_reason.h
webservices/axis2/trunk/c/axiom/include/axis2_soap_fault_role.h
webservices/axis2/trunk/c/axiom/include/axis2_soap_fault_sub_code.h
webservices/axis2/trunk/c/axiom/include/axis2_soap_fault_text.h
webservices/axis2/trunk/c/axiom/include/axis2_soap_fault_value.h
webservices/axis2/trunk/c/axiom/include/axis2_soap_header.h
webservices/axis2/trunk/c/axiom/include/axis2_soap_header_block.h
webservices/axis2/trunk/c/axiom/include/axis2_soap_message.h
webservices/axis2/trunk/c/axiom/src/attachments/axis2_mime_body_part.h
webservices/axis2/trunk/c/axiom/src/attachments/axis2_mime_output.h
webservices/axis2/trunk/c/axiom/src/soap/_axis2_soap_body.h
webservices/axis2/trunk/c/axiom/src/soap/_axis2_soap_envelope.h
webservices/axis2/trunk/c/axiom/src/soap/_axis2_soap_fault.h
webservices/axis2/trunk/c/axiom/src/soap/_axis2_soap_fault_code.h
webservices/axis2/trunk/c/axiom/src/soap/_axis2_soap_fault_detail.h
webservices/axis2/trunk/c/axiom/src/soap/_axis2_soap_fault_node.h
webservices/axis2/trunk/c/axiom/src/soap/_axis2_soap_fault_reason.h
webservices/axis2/trunk/c/axiom/src/soap/_axis2_soap_fault_role.h
webservices/axis2/trunk/c/axiom/src/soap/_axis2_soap_fault_sub_code.h
webservices/axis2/trunk/c/axiom/src/soap/_axis2_soap_fault_text.h
webservices/axis2/trunk/c/axiom/src/soap/_axis2_soap_fault_value.h
webservices/axis2/trunk/c/axiom/src/soap/_axis2_soap_header.h
webservices/axis2/trunk/c/axiom/src/soap/_axis2_soap_header_block.h
webservices/axis2/trunk/c/axiom/src/soap/axis2_soap11_builder_helper.h
webservices/axis2/trunk/c/axiom/src/soap/axis2_soap12_builder_helper.h
Modified:
webservices/axis2/trunk/c/axiom/src/attachments/mime_body_part.c
webservices/axis2/trunk/c/axiom/src/attachments/mime_output.c
webservices/axis2/trunk/c/axiom/src/attachments/mime_parser.c
webservices/axis2/trunk/c/axiom/src/om/om_output.c
webservices/axis2/trunk/c/axiom/src/soap/soap11_builder_helper.c
webservices/axis2/trunk/c/axiom/src/soap/soap12_builder_helper.c
webservices/axis2/trunk/c/axiom/src/soap/soap_body.c
webservices/axis2/trunk/c/axiom/src/soap/soap_builder.c
webservices/axis2/trunk/c/axiom/src/soap/soap_envelope.c
webservices/axis2/trunk/c/axiom/src/soap/soap_fault.c
webservices/axis2/trunk/c/axiom/src/soap/soap_fault_code.c
webservices/axis2/trunk/c/axiom/src/soap/soap_fault_detail.c
webservices/axis2/trunk/c/axiom/src/soap/soap_fault_node.c
webservices/axis2/trunk/c/axiom/src/soap/soap_fault_reason.c
webservices/axis2/trunk/c/axiom/src/soap/soap_fault_role.c
webservices/axis2/trunk/c/axiom/src/soap/soap_fault_sub_code.c
webservices/axis2/trunk/c/axiom/src/soap/soap_fault_text.c
webservices/axis2/trunk/c/axiom/src/soap/soap_fault_value.c
webservices/axis2/trunk/c/axiom/src/soap/soap_header.c
webservices/axis2/trunk/c/axiom/src/soap/soap_header_block.c
webservices/axis2/trunk/c/axiom/src/soap/soap_message.c
webservices/axis2/trunk/c/axiom/test/soap/test_soap.c
webservices/axis2/trunk/c/include/axis2_async_result.h
webservices/axis2/trunk/c/include/axis2_callback.h
webservices/axis2/trunk/c/include/axis2_const.h
webservices/axis2/trunk/c/include/axis2_disp.h
webservices/axis2/trunk/c/include/axis2_http_transport_utils.h
webservices/axis2/trunk/c/include/axis2_mep_client.h
webservices/axis2/trunk/c/include/axis2_msg_ctx.h
webservices/axis2/trunk/c/include/axis2_rest_sender.h
webservices/axis2/trunk/c/include/axis2_soap_over_http_sender.h
webservices/axis2/trunk/c/include/axis2_stub.h
webservices/axis2/trunk/c/include/axis2_wsdl.h
webservices/axis2/trunk/c/modules/core/clientapi/async_result.c
webservices/axis2/trunk/c/modules/core/clientapi/axis2_msg_sender.h
webservices/axis2/trunk/c/modules/core/clientapi/callback.c
webservices/axis2/trunk/c/modules/core/clientapi/diclient/di_client.c
webservices/axis2/trunk/c/modules/core/clientapi/mep_client.c
webservices/axis2/trunk/c/modules/core/clientapi/msg_sender.c
webservices/axis2/trunk/c/modules/core/clientapi/options.c
webservices/axis2/trunk/c/modules/core/clientapi/svc_client.c
webservices/axis2/trunk/c/modules/core/context/msg_ctx.c
webservices/axis2/trunk/c/modules/core/description/svc.c
webservices/axis2/trunk/c/modules/core/engine/axis2_engine.h
webservices/axis2/trunk/c/modules/core/engine/conf.c
webservices/axis2/trunk/c/modules/core/engine/engine.c
webservices/axis2/trunk/c/modules/core/engine/soap_action_disp.c
webservices/axis2/trunk/c/modules/core/engine/soap_body_disp.c
webservices/axis2/trunk/c/modules/core/receivers/msg_recv.c
webservices/axis2/trunk/c/modules/core/receivers/raw_xml_in_out_msg_recv.c
webservices/axis2/trunk/c/modules/core/transport/http/http_transport_utils.c
webservices/axis2/trunk/c/modules/core/transport/http/sender/http_transport_sender.c
webservices/axis2/trunk/c/modules/core/transport/http/sender/soap_over_http_sender.c
webservices/axis2/trunk/c/modules/mod_addr/addr_in_handler.c
webservices/axis2/trunk/c/modules/mod_addr/addr_out_handler.c
webservices/axis2/trunk/c/modules/wsdl/wsdl_ext_soap_address.c
webservices/axis2/trunk/c/modules/wsdl/wsdl_ext_soap_binding.c
webservices/axis2/trunk/c/modules/wsdl/wsdl_ext_soap_body.c
webservices/axis2/trunk/c/modules/wsdl/wsdl_ext_soap_header.c
webservices/axis2/trunk/c/modules/wsdl/wsdl_ext_soap_op.c
webservices/axis2/trunk/c/modules/wsdl/wsdl_soap_op.c
webservices/axis2/trunk/c/samples/client/echo/echo.c
webservices/axis2/trunk/c/samples/client/google/google_client.c
webservices/axis2/trunk/c/samples/client/math/math_client.c
webservices/axis2/trunk/c/samples/client/mtom/mtom_client.c
webservices/axis2/trunk/c/samples/client/notify/notify_client.c
webservices/axis2/trunk/c/samples/user_guide/clients/echo_blocking.c
webservices/axis2/trunk/c/samples/user_guide/clients/echo_blocking_addr.c
webservices/axis2/trunk/c/samples/user_guide/clients/echo_blocking_dual.c
webservices/axis2/trunk/c/samples/user_guide/clients/echo_blocking_soap11.c
webservices/axis2/trunk/c/samples/user_guide/clients/echo_non_blocking.c
webservices/axis2/trunk/c/samples/user_guide/clients/echo_non_blocking_dual.c
webservices/axis2/trunk/c/samples/user_guide/clients/echo_rest.c
webservices/axis2/trunk/c/test/core/clientapi/test_clientapi.c
webservices/axis2/trunk/c/test/itest/whitemesa/round1/round1_client.c
webservices/axis2/trunk/c/test/itest/whitemesa/round2/round2_client.c
webservices/axis2/trunk/c/woden/include/woden/wsdl20/extensions/soap/axis2_woden_soap_header_block_element.h
webservices/axis2/trunk/c/woden/include/woden/wsdl20/extensions/soap/axis2_woden_soap_module_element.h
webservices/axis2/trunk/c/woden/src/wsdl20/extensions/soap/axis2_woden_soap_constants.h
Copied: webservices/axis2/trunk/c/axiom/include/axiom_mime_const.h (from r413637, webservices/axis2/trunk/c/axiom/include/axis2_mime_const.h)
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/include/axiom_mime_const.h?p2=webservices/axis2/trunk/c/axiom/include/axiom_mime_const.h&p1=webservices/axis2/trunk/c/axiom/include/axis2_mime_const.h&r1=413637&r2=413641&rev=413641&view=diff
==============================================================================
--- webservices/axis2/trunk/c/axiom/include/axis2_mime_const.h (original)
+++ webservices/axis2/trunk/c/axiom/include/axiom_mime_const.h Mon Jun 12 04:55:38 2006
@@ -14,8 +14,8 @@
* limitations under the License.
*/
-#ifndef AXIS2_MIME_CONST_H
-#define AXIS2_MIME_CONST_H
+#ifndef AXIOM_MIME_CONST_H
+#define AXIOM_MIME_CONST_H
/**
* @file axiom.h
@@ -26,8 +26,8 @@
{
#endif
-#define AXIS2_MIME_BOUNDARY_BYTE 45
-#define AXIS2_MIME_CRLF_BYTE 13
+#define AXIOM_MIME_BOUNDARY_BYTE 45
+#define AXIOM_MIME_CRLF_BYTE 13
/** @} */
@@ -35,4 +35,4 @@
}
#endif
-#endif /* AXIS2_MIME_CONST_H */
+#endif /* AXIOM_MIME_CONST_H */
Copied: webservices/axis2/trunk/c/axiom/include/axiom_mime_parser.h (from r413637, webservices/axis2/trunk/c/axiom/include/axis2_mime_parser.h)
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/include/axiom_mime_parser.h?p2=webservices/axis2/trunk/c/axiom/include/axiom_mime_parser.h&p1=webservices/axis2/trunk/c/axiom/include/axis2_mime_parser.h&r1=413637&r2=413641&rev=413641&view=diff
==============================================================================
--- webservices/axis2/trunk/c/axiom/include/axis2_mime_parser.h (original)
+++ webservices/axis2/trunk/c/axiom/include/axiom_mime_parser.h Mon Jun 12 04:55:38 2006
@@ -14,11 +14,11 @@
* limitations under the License.
*/
-#ifndef AXIS2_MIME_PARSER_H
-#define AXIS2_MIME_PARSER_H
+#ifndef AXIOM_MIME_PARSER_H
+#define AXIOM_MIME_PARSER_H
/**
- * @file axis2_mime_parser.h
+ * @file axiom_mime_parser.h
* @brief axis2 mime_parser interface
*/
@@ -29,31 +29,31 @@
#include <axis2_allocator.h>
#include <axis2_string.h>
#include <axis2_hash.h>
-#include <axis2_mime_const.h>
+#include <axiom_mime_const.h>
#ifdef __cplusplus
extern "C"
{
#endif
-typedef struct axis2_mime_parser_ops axis2_mime_parser_ops_t;
-typedef struct axis2_mime_parser axis2_mime_parser_t;
+typedef struct axiom_mime_parser_ops axiom_mime_parser_ops_t;
+typedef struct axiom_mime_parser axiom_mime_parser_t;
-/** @defgroup axis2_mime_parser Flow
- * @ingroup axis2_mime_parser
+/** @defgroup axiom_mime_parser Flow
+ * @ingroup axiom_mime_parser
* @{
*/
/**
* @brief Flow ops struct
- * Encapsulator struct for ops of axis2_mime_parser
+ * Encapsulator struct for ops of axiom_mime_parser
*/
-struct axis2_mime_parser_ops
+struct axiom_mime_parser_ops
{
axis2_hash_t* (AXIS2_CALL *
parse)(
- axis2_mime_parser_t *mime_parser,
+ axiom_mime_parser_t *mime_parser,
const axis2_env_t *env,
AXIS2_READ_INPUT_CALLBACK,
void *callback_ctx,
@@ -61,7 +61,7 @@
axis2_hash_t* (AXIS2_CALL *
get_mime_parts_map)(
- axis2_mime_parser_t *mime_parser,
+ axiom_mime_parser_t *mime_parser,
const axis2_env_t *env);
/** Deallocate memory
@@ -69,17 +69,17 @@
*/
axis2_status_t (AXIS2_CALL *
free)(
- axis2_mime_parser_t *mime_parser,
+ axiom_mime_parser_t *mime_parser,
const axis2_env_t *env);
int (AXIS2_CALL *
get_soap_body_len)(
- axis2_mime_parser_t *mime_parser,
+ axiom_mime_parser_t *mime_parser,
const axis2_env_t *env);
axis2_char_t* (AXIS2_CALL *
get_soap_body_str)(
- axis2_mime_parser_t *mime_parser,
+ axiom_mime_parser_t *mime_parser,
const axis2_env_t *env);
};
@@ -87,33 +87,33 @@
* @brief Flow struct
* Flow
*/
-struct axis2_mime_parser
+struct axiom_mime_parser
{
- axis2_mime_parser_ops_t *ops;
+ axiom_mime_parser_ops_t *ops;
};
/**
* Creates mime_parser struct
* @return pointer to newly created mime_parser
*/
-AXIS2_EXTERN axis2_mime_parser_t * AXIS2_CALL
-axis2_mime_parser_create (const axis2_env_t *env);
+AXIS2_EXTERN axiom_mime_parser_t * AXIS2_CALL
+axiom_mime_parser_create (const axis2_env_t *env);
/*************************** Function macros **********************************/
-#define AXIS2_MIME_PARSER_FREE(mime_parser, env) \
+#define AXIOM_MIME_PARSER_FREE(mime_parser, env) \
((mime_parser)->ops->free (mime_parser, env))
-#define AXIS2_MIME_PARSER_PARSE(mime_parser, env, callback, callback_ctx, mime_boundary) \
+#define AXIOM_MIME_PARSER_PARSE(mime_parser, env, callback, callback_ctx, mime_boundary) \
((mime_parser)->ops->parse(mime_parser, env, callback, callback_ctx, mime_boundary))
-#define AXIS2_MIME_PARSER_GET_MIME_PARTS_MAP(mime_parser, env) \
+#define AXIOM_MIME_PARSER_GET_MIME_PARTS_MAP(mime_parser, env) \
((mime_parser)->ops->get_mime_parts_map(mime_parser, env))
-#define AXIS2_MIME_PARSER_GET_SOAP_BODY_LENGTH(mime_parser, env) \
+#define AXIOM_MIME_PARSER_GET_SOAP_BODY_LENGTH(mime_parser, env) \
((mime_parser)->ops->get_soap_body_len(mime_parser, env))
-#define AXIS2_MIME_PARSER_GET_SOAP_BODY_STR(mime_parser, env) \
+#define AXIOM_MIME_PARSER_GET_SOAP_BODY_STR(mime_parser, env) \
((mime_parser)->ops->get_soap_body_str(mime_parser, env))
/*************************** End of function macros ***************************/
@@ -123,4 +123,4 @@
#ifdef __cplusplus
}
#endif
-#endif /* AXIS2_MIME_PARSER_H */
+#endif /* AXIOM_MIME_PARSER_H */
Copied: webservices/axis2/trunk/c/axiom/include/axiom_soap.h (from r413637, webservices/axis2/trunk/c/axiom/include/axis2_soap.h)
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/include/axiom_soap.h?p2=webservices/axis2/trunk/c/axiom/include/axiom_soap.h&p1=webservices/axis2/trunk/c/axiom/include/axis2_soap.h&r1=413637&r2=413641&rev=413641&view=diff
==============================================================================
--- webservices/axis2/trunk/c/axiom/include/axis2_soap.h (original)
+++ webservices/axis2/trunk/c/axiom/include/axiom_soap.h Mon Jun 12 04:55:38 2006
@@ -14,28 +14,28 @@
* limitations under the License.
*/
-#ifndef AXIS2_SOAP_H
-#define AXIS2_SOAP_H
+#ifndef AXIOM_SOAP_H
+#define AXIOM_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>
+#include <axiom_soap_body.h>
+#include <axiom_soap_builder.h>
+#include <axiom_soap_const.h>
+#include <axiom_soap_envelope.h>
+#include <axiom_soap_fault_code.h>
+#include <axiom_soap_fault_detail.h>
+#include <axiom_soap_fault.h>
+#include <axiom_soap_fault_node.h>
+#include <axiom_soap_fault_reason.h>
+#include <axiom_soap_fault_role.h>
+#include <axiom_soap_fault_sub_code.h>
+#include <axiom_soap_fault_text.h>
+#include <axiom_soap_fault_value.h>
+#include <axiom_soap_header_block.h>
+#include <axiom_soap_header.h>
+#include <axiom_soap_message.h>
/**
- * @file axis2_soap.h
+ * @file axiom_soap.h
* @brief includes all SOAP related headers
*/
#ifdef __cplusplus
@@ -49,4 +49,4 @@
}
#endif
-#endif /* AXIS2_SOAP_H */
+#endif /* AXIOM_SOAP_H */
Copied: webservices/axis2/trunk/c/axiom/include/axiom_soap_body.h (from r413637, webservices/axis2/trunk/c/axiom/include/axis2_soap_body.h)
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/include/axiom_soap_body.h?p2=webservices/axis2/trunk/c/axiom/include/axiom_soap_body.h&p1=webservices/axis2/trunk/c/axiom/include/axis2_soap_body.h&r1=413637&r2=413641&rev=413641&view=diff
==============================================================================
--- webservices/axis2/trunk/c/axiom/include/axis2_soap_body.h (original)
+++ webservices/axis2/trunk/c/axiom/include/axiom_soap_body.h Mon Jun 12 04:55:38 2006
@@ -14,20 +14,20 @@
* limitations under the License.
*/
-#ifndef AXIS2_SOAP_BODY_H
-#define AXIS2_SOAP_BODY_H
+#ifndef AXIOM_SOAP_BODY_H
+#define AXIOM_SOAP_BODY_H
/**
- * @file axis2_soap_body.h
- * @brief axis2_soap_body struct
+ * @file axiom_soap_body.h
+ * @brief axiom_soap_body struct
*/
#include <axis2_env.h>
#include <axiom_node.h>
#include <axiom_element.h>
#include <axiom_namespace.h>
-#include <axis2_soap_fault.h>
-#include <axis2_soap_envelope.h>
+#include <axiom_soap_fault.h>
+#include <axiom_soap_envelope.h>
#ifdef __cplusplus
@@ -36,13 +36,13 @@
#endif
-typedef struct axis2_soap_body axis2_soap_body_t;
-typedef struct axis2_soap_body_ops axis2_soap_body_ops_t;
-struct axis2_soap_builder;
+typedef struct axiom_soap_body axiom_soap_body_t;
+typedef struct axiom_soap_body_ops axiom_soap_body_ops_t;
+struct axiom_soap_builder;
/**
- * @defgroup axis2_soap_body
- * @ingroup axis2_soap
+ * @defgroup axiom_soap_body
+ * @ingroup axiom_soap
* @{
*/
@@ -52,15 +52,15 @@
* that affects the way the application-specific content is processed.
* soap_body_struct contains soap_header and
* which have the content for the SOAP body.
- * this also contains axis2_soap_fault_t struct , which carries status and/or
+ * this also contains axiom_soap_fault_t struct , which carries status and/or
* error information.
*/
/**
* \brief soap_body operations struct
- * ops Encapsulator struct of axis2_soap body
+ * ops Encapsulator struct of axiom_soap body
*/
- AXIS2_DECLARE_DATA struct axis2_soap_body_ops
+ AXIS2_DECLARE_DATA struct axiom_soap_body_ops
{
/**
* Deallocate all the resources associated to soap_body
@@ -70,7 +70,7 @@
* @return status code AXIS2_SUCCESS
*/
axis2_status_t (AXIS2_CALL *
- free)(axis2_soap_body_t *body,
+ free)(axiom_soap_body_t *body,
const axis2_env_t *env);
/**
@@ -81,7 +81,7 @@
* @return AXIS2_TRUE if fault is available, AXIS2_FALSE otherwise
*/
axis2_bool_t (AXIS2_CALL *
- has_fault)(axis2_soap_body_t *body,
+ has_fault)(axiom_soap_body_t *body,
const axis2_env_t *env);
/**
@@ -90,10 +90,10 @@
* Pulling will take place
* @param body soap_body
* @param env environment must not be null
- * @return axis2_soap_fault_t if available, NULL otherwise
+ * @return axiom_soap_fault_t if available, NULL otherwise
*/
- axis2_soap_fault_t* (AXIS2_CALL *
- get_fault)(axis2_soap_body_t *body,
+ axiom_soap_fault_t* (AXIS2_CALL *
+ get_fault)(axiom_soap_body_t *body,
const axis2_env_t *env);
/**
@@ -103,17 +103,17 @@
* @returns axiom_node_t
*/
axiom_node_t* (AXIS2_CALL *
- get_base_node)(axis2_soap_body_t *body,
+ get_base_node)(axiom_soap_body_t *body,
const axis2_env_t *env);
/**
* return the soap version
* @param body soap_body
* @param env environment must not be null
- * @return one of AXIS2_SOAP11 or AXIS2_SOAP12
+ * @return one of AXIOM_SOAP11 or AXIOM_SOAP12
*/
int (AXIS2_CALL *
- get_soap_version)(axis2_soap_body_t *body,
+ get_soap_version)(axiom_soap_body_t *body,
const axis2_env_t *env);
@@ -122,7 +122,7 @@
* @return AXIS2_SUCCESS on success and AXIS2_FAILURE on error
*/
axis2_status_t (AXIS2_CALL *
- build)(axis2_soap_body_t *body,
+ build)(axiom_soap_body_t *body,
const axis2_env_t *env);
/** add an om node as the child to this soap_body
@@ -134,7 +134,7 @@
*/
axis2_status_t (AXIS2_CALL *
- add_child)(axis2_soap_body_t *body,
+ add_child)(axiom_soap_body_t *body,
const axis2_env_t *env,
axiom_node_t *child);
@@ -145,10 +145,10 @@
* \brief soap_body struct
* represent a soap_body
*/
- struct axis2_soap_body
+ struct axiom_soap_body
{
- /** operation of axis2_soap_body struct */
- axis2_soap_body_ops_t *ops;
+ /** operation of axiom_soap_body struct */
+ axiom_soap_body_ops_t *ops;
};
@@ -157,37 +157,37 @@
* @param env Environment. MUST NOT be NULL
*/
-AXIS2_EXTERN axis2_soap_body_t * AXIS2_CALL
-axis2_soap_body_create_with_parent(const axis2_env_t *env,
- struct axis2_soap_envelope *envelope);
+AXIS2_EXTERN axiom_soap_body_t * AXIS2_CALL
+axiom_soap_body_create_with_parent(const axis2_env_t *env,
+ struct axiom_soap_envelope *envelope);
/******************** Macros **************************************************/
/** free soap_body */
-#define AXIS2_SOAP_BODY_FREE( body, env) \
+#define AXIOM_SOAP_BODY_FREE( body, env) \
((body)->ops->free( body, env))
/** indecate whether soap_body has a fault or not*/
-#define AXIS2_SOAP_BODY_HAS_FAULT( body, env) \
+#define AXIOM_SOAP_BODY_HAS_FAULT( body, env) \
((body)->ops->has_fault( body, env))
-#define AXIS2_SOAP_BODY_GET_FAULT( body, env) \
+#define AXIOM_SOAP_BODY_GET_FAULT( body, env) \
((body)->ops->get_fault( body, env))
-#define AXIS2_SOAP_BODY_GET_BASE_NODE( body, env) \
+#define AXIOM_SOAP_BODY_GET_BASE_NODE( body, env) \
((body)->ops->get_base_node( body, env))
-#define AXIS2_SOAP_BODY_GET_SOAP_VERSION( body, env) \
+#define AXIOM_SOAP_BODY_GET_SOAP_VERSION( body, env) \
((body)->ops->get_soap_version( body, env))
-#define AXIS2_SOAP_BODY_BUILD( body, env) \
+#define AXIOM_SOAP_BODY_BUILD( body, env) \
((body)->ops->build( body, env))
-#define AXIS2_SOAP_BODY_ADD_CHILD( body, env, child) \
+#define AXIOM_SOAP_BODY_ADD_CHILD( body, env, child) \
((body)->ops->add_child( body, env, child));
/** @} */
#ifdef __cplusplus
}
#endif
-#endif /* AXIS2_SOAP_BODY_H */
+#endif /* AXIOM_SOAP_BODY_H */
Copied: webservices/axis2/trunk/c/axiom/include/axiom_soap_builder.h (from r413637, webservices/axis2/trunk/c/axiom/include/axis2_soap_builder.h)
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/include/axiom_soap_builder.h?p2=webservices/axis2/trunk/c/axiom/include/axiom_soap_builder.h&p1=webservices/axis2/trunk/c/axiom/include/axis2_soap_builder.h&r1=413637&r2=413641&rev=413641&view=diff
==============================================================================
--- webservices/axis2/trunk/c/axiom/include/axis2_soap_builder.h (original)
+++ webservices/axis2/trunk/c/axiom/include/axiom_soap_builder.h Mon Jun 12 04:55:38 2006
@@ -14,15 +14,15 @@
* limitations under the License.
*/
- #ifndef AXIS2_SOAP_BUILDER_H
- #define AXIS2_SOAP_BUILDER_H
+ #ifndef AXIOM_SOAP_BUILDER_H
+ #define AXIOM_SOAP_BUILDER_H
#include <axiom_stax_builder.h>
- #include <axis2_soap_envelope.h>
+ #include <axiom_soap_envelope.h>
/**
- * @file axis2_soap_builder.h
- * @brief axis2_soap_builder struct
+ * @file axiom_soap_builder.h
+ * @brief axiom_soap_builder struct
*/
#ifdef __cplusplus
@@ -31,67 +31,67 @@
#endif
-typedef struct axis2_soap_builder axis2_soap_builder_t;
-typedef struct axis2_soap_builder_ops axis2_soap_builder_ops_t;
+typedef struct axiom_soap_builder axiom_soap_builder_t;
+typedef struct axiom_soap_builder_ops axiom_soap_builder_ops_t;
/**
- * @defgroup axis2_soap_builder
- * @ingroup axis2_soap_model builder
+ * @defgroup axiom_soap_builder
+ * @ingroup axiom_soap_model builder
* @{
*/
/**
* \brief soap_model builder operations struct
- * ops Encapsulator struct of axis2_soap_operations
+ * ops Encapsulator struct of axiom_soap_operations
*/
-AXIS2_DECLARE_DATA struct axis2_soap_builder_ops
+AXIS2_DECLARE_DATA struct axiom_soap_builder_ops
{
- axis2_status_t (AXIS2_CALL *free)(axis2_soap_builder_t *builder,
+ axis2_status_t (AXIS2_CALL *free)(axiom_soap_builder_t *builder,
const axis2_env_t *env);
- axis2_soap_envelope_t* (AXIS2_CALL *get_soap_envelope)
- (axis2_soap_builder_t *builder,
+ axiom_soap_envelope_t* (AXIS2_CALL *get_soap_envelope)
+ (axiom_soap_builder_t *builder,
const axis2_env_t *env);
axiom_document_t* (AXIS2_CALL *get_document)
- (axis2_soap_builder_t *builder,
+ (axiom_soap_builder_t *builder,
const axis2_env_t *env);
- axis2_status_t (AXIS2_CALL *next)(axis2_soap_builder_t *builder,
+ axis2_status_t (AXIS2_CALL *next)(axiom_soap_builder_t *builder,
const axis2_env_t *env);
axiom_node_t* (AXIS2_CALL *get_document_element)
- (axis2_soap_builder_t *builder,
+ (axiom_soap_builder_t *builder,
const axis2_env_t *env);
axis2_status_t (AXIS2_CALL *set_bool_processing_mandatory_fault_elements)
- (axis2_soap_builder_t *builder,
+ (axiom_soap_builder_t *builder,
const axis2_env_t *env,
axis2_bool_t value);
axis2_status_t (AXIS2_CALL *set_processing_detail_elements)
- (axis2_soap_builder_t *builder,
+ (axiom_soap_builder_t *builder,
const axis2_env_t *env,
axis2_bool_t value);
axis2_bool_t (AXIS2_CALL *is_processing_detail_elements)
- (axis2_soap_builder_t *builder,
+ (axiom_soap_builder_t *builder,
const axis2_env_t *env);
- int (AXIS2_CALL *get_soap_version)(axis2_soap_builder_t *builder,
+ int (AXIS2_CALL *get_soap_version)(axiom_soap_builder_t *builder,
const axis2_env_t *env);
axis2_status_t (AXIS2_CALL *process_namespace_data)
- (axis2_soap_builder_t *builder,
+ (axiom_soap_builder_t *builder,
const axis2_env_t *env,
axiom_node_t *om_node,
axis2_bool_t is_soap_element);
axis2_status_t (AXIS2_CALL *
set_mime_body_parts)
- (axis2_soap_builder_t *builder,
+ (axiom_soap_builder_t *builder,
const axis2_env_t *env,
axis2_hash_t *map);
};
@@ -102,63 +102,63 @@
* represent a soap_body
*/
-struct axis2_soap_builder
+struct axiom_soap_builder
{
- /** operation of axis2_soap_body struct */
- axis2_soap_builder_ops_t *ops;
+ /** operation of axiom_soap_body struct */
+ axiom_soap_builder_ops_t *ops;
};
/**
- * creates a axis2_soap_builder struct
+ * creates a axiom_soap_builder struct
* @param env Environment. MUST NOT be NULL
*/
-AXIS2_EXTERN axis2_soap_builder_t * AXIS2_CALL
-axis2_soap_builder_create(const axis2_env_t *env,
+AXIS2_EXTERN axiom_soap_builder_t * AXIS2_CALL
+axiom_soap_builder_create(const axis2_env_t *env,
axiom_stax_builder_t *builder,
const axis2_char_t *soap_version);
/******************** Macros **************************************************/
-#define AXIS2_SOAP_BUILDER_FREE(builder, env) \
+#define AXIOM_SOAP_BUILDER_FREE(builder, env) \
((builder)->ops->free(builder, env))
-#define AXIS2_SOAP_BUILDER_GET_SOAP_ENVELOPE(builder, env) \
+#define AXIOM_SOAP_BUILDER_GET_SOAP_ENVELOPE(builder, env) \
((builder)->ops->get_soap_envelope(builder, env))
-#define AXIS2_SOAP_BUILDER_GET_DOCUMENT_ELEMENT(builder, env) \
+#define AXIOM_SOAP_BUILDER_GET_DOCUMENT_ELEMENT(builder, env) \
((builder)->ops->get_document_element(builder, env))
-#define AXIS2_SOAP_BUILDER_NEXT(builder, env) \
+#define AXIOM_SOAP_BUILDER_NEXT(builder, env) \
((builder)->ops->next(builder, env))
-#define AXIS2_SOAP_BUILDER_GET_DOCUMENT(builder, env) \
+#define AXIOM_SOAP_BUILDER_GET_DOCUMENT(builder, env) \
((builder)->ops->get_document(builder, env))
-#define AXIS2_SOAP_BUILDER_NEXT(builder, env) \
+#define AXIOM_SOAP_BUILDER_NEXT(builder, env) \
((builder)->ops->next(builder, env))
-#define AXIS2_SOAP_BUILDER_SET_BOOL_PROCESSING_MANDATORY_FAULT_ELEMENTS(builder, env, value) \
+#define AXIOM_SOAP_BUILDER_SET_BOOL_PROCESSING_MANDATORY_FAULT_ELEMENTS(builder, env, value) \
((builder)->ops->set_bool_processing_mandatory_fault_elements(builder, env, value))
-#define AXIS2_SOAP_BUILDER_SET_PROCESSING_DETAIL_ELEMENTS(builder, env, value) \
+#define AXIOM_SOAP_BUILDER_SET_PROCESSING_DETAIL_ELEMENTS(builder, env, value) \
((builder)->ops->set_processing_detail_elements(builder, env, value))
-#define AXIS2_SOAP_BUILDER_IS_PROCESSING_DETAIL_ELEMENTS(builder, env) \
+#define AXIOM_SOAP_BUILDER_IS_PROCESSING_DETAIL_ELEMENTS(builder, env) \
((builder)->ops->is_processing_detail_elements(builder, env))
-#define AXIS2_SOAP_BUILDER_GET_SOAP_VERSION(builder, env) \
+#define AXIOM_SOAP_BUILDER_GET_SOAP_VERSION(builder, env) \
((builder)->ops->get_soap_version(builder, env))
-#define AXIS2_SOAP_BUILDER_PROCESS_NAMESPACE_DATA(builder, env, om_node, is_soap_element) \
+#define AXIOM_SOAP_BUILDER_PROCESS_NAMESPACE_DATA(builder, env, om_node, is_soap_element) \
((builder)->ops->process_namespace_data(builder, env, om_node, is_soap_element))
-#define AXIS2_SOAP_BUILDER_SET_MIME_BODY_PARTS(builder, env, map) \
+#define AXIOM_SOAP_BUILDER_SET_MIME_BODY_PARTS(builder, env, map) \
((builder)->ops->set_mime_body_parts(builder, env, map))
/** @} */
#ifdef __cplusplus
}
#endif
-#endif /* AXIS2_SOAP_BUILDER_H */
+#endif /* AXIOM_SOAP_BUILDER_H */
Copied: webservices/axis2/trunk/c/axiom/include/axiom_soap_const.h (from r413637, webservices/axis2/trunk/c/axiom/include/axis2_soap_const.h)
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/include/axiom_soap_const.h?p2=webservices/axis2/trunk/c/axiom/include/axiom_soap_const.h&p1=webservices/axis2/trunk/c/axiom/include/axis2_soap_const.h&r1=413637&r2=413641&rev=413641&view=diff
==============================================================================
--- webservices/axis2/trunk/c/axiom/include/axis2_soap_const.h (original)
+++ webservices/axis2/trunk/c/axiom/include/axiom_soap_const.h Mon Jun 12 04:55:38 2006
@@ -14,11 +14,11 @@
* limitations under the License.
*/
- #ifndef AXIS2_SOAP_CONST_H
- #define AXIS2_SOAP_CONST_H
+ #ifndef AXIOM_SOAP_CONST_H
+ #define AXIOM_SOAP_CONST_H
/**
- * @file axis2_soap.h
+ * @file axiom_soap.h
* @brief defines SOAP constants
*/
#ifdef __cplusplus
@@ -28,138 +28,138 @@
/**
* @defgroup axis2 soap constants
- * @ingroup axis2_soap
+ * @ingroup axiom_soap
* @{
*/
typedef enum soap_version
{
- AXIS2_SOAP_VERSION_NOT_SET = 0,
+ AXIOM_SOAP_VERSION_NOT_SET = 0,
- AXIS2_SOAP11,
+ AXIOM_SOAP11,
- AXIS2_SOAP12
-}axis2_soap_version;
+ AXIOM_SOAP12
+}axiom_soap_version;
/** soap 11 constants */
-#define AXIS2_SOAP11_SOAP_ENVELOPE_NAMESPACE_URI "http://schemas.xmlsoap.org/soap/envelope/"
+#define AXIOM_SOAP11_SOAP_ENVELOPE_NAMESPACE_URI "http://schemas.xmlsoap.org/soap/envelope/"
-#define AXIS2_SOAP11_ATTR_ACTOR "actor"
+#define AXIOM_SOAP11_ATTR_ACTOR "actor"
-#define AXIS2_SOAP11_SOAP_FAULT_CODE_LOCAL_NAME "faultcode"
+#define AXIOM_SOAP11_SOAP_FAULT_CODE_LOCAL_NAME "faultcode"
-#define AXIS2_SOAP11_SOAP_FAULT_STRING_LOCAL_NAME "faultstring"
+#define AXIOM_SOAP11_SOAP_FAULT_STRING_LOCAL_NAME "faultstring"
-#define AXIS2_SOAP11_SOAP_FAULT_ACTOR_LOCAL_NAME "faultactor"
+#define AXIOM_SOAP11_SOAP_FAULT_ACTOR_LOCAL_NAME "faultactor"
-#define AXIS2_SOAP11_SOAP_FAULT_DETAIL_LOCAL_NAME "detail"
+#define AXIOM_SOAP11_SOAP_FAULT_DETAIL_LOCAL_NAME "detail"
-#define AXIS2_SOAP11_CONTENT_TYPE "text/xml"
+#define AXIOM_SOAP11_CONTENT_TYPE "text/xml"
-#define AXIS2_SOAP11_FAULT_CODE_SENDER "Client"
+#define AXIOM_SOAP11_FAULT_CODE_SENDER "Client"
-#define AXIS2_SOAP11_FAULT_CODE_RECEIVER "Server"
+#define AXIOM_SOAP11_FAULT_CODE_RECEIVER "Server"
-#define AXIS2_SOAP11_SOAP_ACTOR_NEXT "http://schemas.xmlsoap.org/soap/actor/next"
+#define AXIOM_SOAP11_SOAP_ACTOR_NEXT "http://schemas.xmlsoap.org/soap/actor/next"
/** soap12 constants */
-#define AXIS2_SOAP12_SOAP_ENVELOPE_NAMESPACE_URI "http://www.w3.org/2003/05/soap-envelope"
+#define AXIOM_SOAP12_SOAP_ENVELOPE_NAMESPACE_URI "http://www.w3.org/2003/05/soap-envelope"
-#define AXIS2_SOAP12_SOAP_ROLE "role"
+#define AXIOM_SOAP12_SOAP_ROLE "role"
-#define AXIS2_SOAP12_SOAP_RELAY "relay"
+#define AXIOM_SOAP12_SOAP_RELAY "relay"
-#define AXIS2_SOAP12_SOAP_FAULT_CODE_LOCAL_NAME "Code"
+#define AXIOM_SOAP12_SOAP_FAULT_CODE_LOCAL_NAME "Code"
-#define AXIS2_SOAP12_SOAP_FAULT_SUB_CODE_LOCAL_NAME "Subcode"
+#define AXIOM_SOAP12_SOAP_FAULT_SUB_CODE_LOCAL_NAME "Subcode"
-#define AXIS2_SOAP12_SOAP_FAULT_VALUE_LOCAL_NAME "Value"
+#define AXIOM_SOAP12_SOAP_FAULT_VALUE_LOCAL_NAME "Value"
-#define AXIS2_SOAP12_SOAP_FAULT_VALUE_VERSION_MISMATCH "VersionMismatch"
+#define AXIOM_SOAP12_SOAP_FAULT_VALUE_VERSION_MISMATCH "VersionMismatch"
-#define AXIS2_SOAP12_SOAP_FAULT_VALUE_MUST_UNDERSTAND "MustUnderstant"
+#define AXIOM_SOAP12_SOAP_FAULT_VALUE_MUST_UNDERSTAND "MustUnderstant"
-#define AXIS2_SOAP12_SOAP_FAULT_VALUE_DATA_ENCODING_UKNOWN "DataEncodingUnknown"
+#define AXIOM_SOAP12_SOAP_FAULT_VALUE_DATA_ENCODING_UKNOWN "DataEncodingUnknown"
-#define AXIS2_SOAP12_SOAP_FAULT_VALUE_SENDER "Sender"
+#define AXIOM_SOAP12_SOAP_FAULT_VALUE_SENDER "Sender"
-#define AXIS2_SOAP12_SOAP_FAULT_VALUE_RECEIVER "Receiver"
+#define AXIOM_SOAP12_SOAP_FAULT_VALUE_RECEIVER "Receiver"
/** SOAP Fault */
-#define AXIS2_SOAP12_SOAP_FAULT_REASON_LOCAL_NAME "Reason"
+#define AXIOM_SOAP12_SOAP_FAULT_REASON_LOCAL_NAME "Reason"
-#define AXIS2_SOAP12_SOAP_FAULT_TEXT_LOCAL_NAME "Text"
+#define AXIOM_SOAP12_SOAP_FAULT_TEXT_LOCAL_NAME "Text"
-#define AXIS2_SOAP12_SOAP_FAULT_TEXT_LANG_ATTR_LOCAL_NAME "lang"
+#define AXIOM_SOAP12_SOAP_FAULT_TEXT_LANG_ATTR_LOCAL_NAME "lang"
-#define AXIS2_SOAP12_SOAP_FAULT_TEXT_LANG_ATTR_NS_URI "http://www.w3.org/XML/1998/namespace"
+#define AXIOM_SOAP12_SOAP_FAULT_TEXT_LANG_ATTR_NS_URI "http://www.w3.org/XML/1998/namespace"
-#define AXIS2_SOAP12_SOAP_FAULT_TEXT_LANG_ATTR_NS_PREFIX "xml"
+#define AXIOM_SOAP12_SOAP_FAULT_TEXT_LANG_ATTR_NS_PREFIX "xml"
-#define AXIS2_SOAP12_SOAP_FAULT_NODE_LOCAL_NAME "Node"
+#define AXIOM_SOAP12_SOAP_FAULT_NODE_LOCAL_NAME "Node"
-#define AXIS2_SOAP12_SOAP_FAULT_DETAIL_LOCAL_NAME "Detail"
+#define AXIOM_SOAP12_SOAP_FAULT_DETAIL_LOCAL_NAME "Detail"
-#define AXIS2_SOAP12_SOAP_FAULT_ROLE_LOCAL_NAME "Role"
+#define AXIOM_SOAP12_SOAP_FAULT_ROLE_LOCAL_NAME "Role"
-#define AXIS2_SOAP12_CONTENT_TYPE "application/soap+xml"
+#define AXIOM_SOAP12_CONTENT_TYPE "application/soap+xml"
-#define AXIS2_SOAP12_FAULT_CODE_SENDER "Sender"
+#define AXIOM_SOAP12_FAULT_CODE_SENDER "Sender"
-#define AXIS2_SOAP12_FAULT_CODE_RECEIVER "Receiver"
+#define AXIOM_SOAP12_FAULT_CODE_RECEIVER "Receiver"
-#define AXIS2_SOAP12_SOAP_ROLE_NEXT "http://www.w3.org/2003/05/soap-envelope/role/next"
+#define AXIOM_SOAP12_SOAP_ROLE_NEXT "http://www.w3.org/2003/05/soap-envelope/role/next"
-#define AXIS2_SOAP12_SOAP_ROLE_NONE "http://www.w3.org/2003/05/soap-envelope/role/none"
+#define AXIOM_SOAP12_SOAP_ROLE_NONE "http://www.w3.org/2003/05/soap-envelope/role/none"
#define SOAP12_SOAP_ROLE_ULTIMATE_RECEIVER "http://www.w3.org/2003/05/soap-envelope/role/ultimateReceiver"
-#define AXIS2_SOAP_DEFAULT_NAMESPACE_PREFIX "soapenv"
+#define AXIOM_SOAP_DEFAULT_NAMESPACE_PREFIX "soapenv"
-#define AXIS2_SOAP_ENVELOPE_LOCAL_NAME "Envelope"
+#define AXIOM_SOAP_ENVELOPE_LOCAL_NAME "Envelope"
-#define AXIS2_SOAP_HEADER_LOCAL_NAME "Header"
+#define AXIOM_SOAP_HEADER_LOCAL_NAME "Header"
-#define AXIS2_SOAP_BODY_LOCAL_NAME "Body"
+#define AXIOM_SOAP_BODY_LOCAL_NAME "Body"
-#define AXIS2_SOAP_BODY_NAMESPACE_PREFIX AXIS2_SOAP_DEFAULT_NAMESPACE_PREFIX
+#define AXIOM_SOAP_BODY_NAMESPACE_PREFIX AXIOM_SOAP_DEFAULT_NAMESPACE_PREFIX
-#define AXIS2_SOAP_BODY_FAULT_LOCAL_NAME "Fault"
+#define AXIOM_SOAP_BODY_FAULT_LOCAL_NAME "Fault"
/** attribute must understand */
-#define AXIS2_SOAP_ATTR_MUST_UNDERSTAND "mustUnderstand"
+#define AXIOM_SOAP_ATTR_MUST_UNDERSTAND "mustUnderstand"
-#define AXIS2_SOAP_ATTR_MUST_UNDERSTAND_TRUE "true"
+#define AXIOM_SOAP_ATTR_MUST_UNDERSTAND_TRUE "true"
-#define AXIS2_SOAP_ATTR_MUST_UNDERSTAND_FALSE "false"
+#define AXIOM_SOAP_ATTR_MUST_UNDERSTAND_FALSE "false"
-#define AXIS2_SOAP_ATTR_MUST_UNDERSTAND_0 "0"
+#define AXIOM_SOAP_ATTR_MUST_UNDERSTAND_0 "0"
-#define AXIS2_SOAP_ATTR_MUST_UNDERSTAND_1 "1"
+#define AXIOM_SOAP_ATTR_MUST_UNDERSTAND_1 "1"
-#define AXIS2_SOAP_FAULT_LOCAL_NAME "Fault"
+#define AXIOM_SOAP_FAULT_LOCAL_NAME "Fault"
-#define AXIS2_SOAP_FAULT_DETAIL_LOCAL_NAME "detail"
+#define AXIOM_SOAP_FAULT_DETAIL_LOCAL_NAME "detail"
-#define AXIS2_SOAP_FAULT_NAMESPACE_PREFIX AXIS2_SOAP_DEFAULT_NAMESPACE_PREFIX
+#define AXIOM_SOAP_FAULT_NAMESPACE_PREFIX AXIOM_SOAP_DEFAULT_NAMESPACE_PREFIX
-#define AXIS2_SOAP_FAULT_DETAIL_EXCEPTION_ENTRY "Exception"
+#define AXIOM_SOAP_FAULT_DETAIL_EXCEPTION_ENTRY "Exception"
-#define AXIS2_SOAP_FAULT_CODE_VERSION_MISMATCH "env:VersionMismatch"
+#define AXIOM_SOAP_FAULT_CODE_VERSION_MISMATCH "env:VersionMismatch"
-#define AXIS2_SOAP_FAULT_CODE_MUST_UNDERSTAND "env:MustUnderstand"
+#define AXIOM_SOAP_FAULT_CODE_MUST_UNDERSTAND "env:MustUnderstand"
-#define AXIS2_SOAP_FAULT_CODE_DATA_ENCODING_UNKNOWN "env:DataEncodingUnknown"
+#define AXIOM_SOAP_FAULT_CODE_DATA_ENCODING_UNKNOWN "env:DataEncodingUnknown"
-#define AXIS2_SOAP_FAULT_CODE_SENDER ""
+#define AXIOM_SOAP_FAULT_CODE_SENDER ""
-#define AXIS2_SOAP_FAULT_CODE_RECEIVER ""
+#define AXIOM_SOAP_FAULT_CODE_RECEIVER ""
/* MTOM related */
@@ -172,4 +172,4 @@
}
#endif
-#endif /* AXIS2_SOAP_CONSTANTS_H */
+#endif /* AXIOM_SOAP_CONSTANTS_H */
Copied: webservices/axis2/trunk/c/axiom/include/axiom_soap_envelope.h (from r413637, webservices/axis2/trunk/c/axiom/include/axis2_soap_envelope.h)
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/include/axiom_soap_envelope.h?p2=webservices/axis2/trunk/c/axiom/include/axiom_soap_envelope.h&p1=webservices/axis2/trunk/c/axiom/include/axis2_soap_envelope.h&r1=413637&r2=413641&rev=413641&view=diff
==============================================================================
--- webservices/axis2/trunk/c/axiom/include/axis2_soap_envelope.h (original)
+++ webservices/axis2/trunk/c/axiom/include/axiom_soap_envelope.h Mon Jun 12 04:55:38 2006
@@ -14,12 +14,12 @@
* limitations under the License.
*/
- #ifndef AXIS2_SOAP_ENVELOPE_H
- #define AXIS2_SOAP_ENVELOPE_H
+ #ifndef AXIOM_SOAP_ENVELOPE_H
+ #define AXIOM_SOAP_ENVELOPE_H
/**
- * @file axis2_soap_envelope.h
- * @brief axis2_soap_envelope struct
+ * @file axiom_soap_envelope.h
+ * @brief axiom_soap_envelope struct
* corresponds to root element of soap message
*/
#include <axis2_env.h>
@@ -33,25 +33,25 @@
{
#endif
- typedef struct axis2_soap_envelope axis2_soap_envelope_t;
- typedef struct axis2_soap_envelope_ops axis2_soap_envelope_ops_t;
+ typedef struct axiom_soap_envelope axiom_soap_envelope_t;
+ typedef struct axiom_soap_envelope_ops axiom_soap_envelope_ops_t;
- struct axis2_soap_body;
- struct axis2_soap_header;
- struct axis2_soap_header_block;
- struct axis2_soap_builder;
+ struct axiom_soap_body;
+ struct axiom_soap_header;
+ struct axiom_soap_header_block;
+ struct axiom_soap_builder;
/**
- * @defgroup axis2_soap_envelope
- * @ingroup axis2_soap
+ * @defgroup axiom_soap_envelope
+ * @ingroup axiom_soap
* @{
*/
/**
* \brief soap_envelope operations struct
- * ops Encapsulator struct of axis2_soap body
+ * ops Encapsulator struct of axiom_soap body
*/
- AXIS2_DECLARE_DATA struct axis2_soap_envelope_ops
+ AXIS2_DECLARE_DATA struct axiom_soap_envelope_ops
{
/**
* gets the soap header of this soap envelope
@@ -59,8 +59,8 @@
* @param env environment must not be null
* @return soap header null it no header is present
*/
- struct axis2_soap_header* (AXIS2_CALL *
- get_header)(axis2_soap_envelope_t *envelope,
+ struct axiom_soap_header* (AXIS2_CALL *
+ get_header)(axiom_soap_envelope_t *envelope,
const axis2_env_t *env);
/**
* Returns the soap body associated with this soap envelope
@@ -68,8 +68,8 @@
* @param env environment
* @return soap_body
*/
- struct axis2_soap_body* (AXIS2_CALL *
- get_body)(axis2_soap_envelope_t *envelope,
+ struct axiom_soap_body* (AXIS2_CALL *
+ get_body)(axiom_soap_envelope_t *envelope,
const axis2_env_t *env);
/**
* serialize function , serialize the soap envelope
@@ -83,7 +83,7 @@
* AXIS2_FAILURE otherwise
*/
axis2_status_t (AXIS2_CALL *
- serialize)(axis2_soap_envelope_t *envelope,
+ serialize)(axiom_soap_envelope_t *envelope,
const axis2_env_t *env,
axiom_output_t *om_output,
axis2_bool_t cache);
@@ -98,7 +98,7 @@
* @return status code AXIS2_SUCCESS on success , AXIS2_FAILURE otherwise
*/
axis2_status_t (AXIS2_CALL *
- free)(axis2_soap_envelope_t *envelope,
+ free)(axiom_soap_envelope_t *envelope,
const axis2_env_t *env);
/**
@@ -108,17 +108,17 @@
* @return axiom_node_t pointer
*/
axiom_node_t* (AXIS2_CALL *
- get_base_node)(axis2_soap_envelope_t *envelope,
+ get_base_node)(axiom_soap_envelope_t *envelope,
const axis2_env_t *env);
/** returns the soap version of this soap envelope
* @param envelope soap_envelope
* @param env environment must not be null
- * @return soap_version AXIS2_SOAP12 or AXIS2_SOAP11
+ * @return soap_version AXIOM_SOAP12 or AXIOM_SOAP11
*/
int (AXIS2_CALL *
- get_soap_version)(axis2_soap_envelope_t *envelope,
+ get_soap_version)(axiom_soap_envelope_t *envelope,
const axis2_env_t *env);
/** return the soap envelope namespace
@@ -127,11 +127,11 @@
* @return axiom_namespace_t
*/
axiom_namespace_t* (AXIS2_CALL *
- get_namespace)(axis2_soap_envelope_t *envelope,
+ get_namespace)(axiom_soap_envelope_t *envelope,
const axis2_env_t *env);
axis2_status_t (AXIS2_CALL *
- set_soap_version)(axis2_soap_envelope_t *envelope,
+ set_soap_version)(axiom_soap_envelope_t *envelope,
const axis2_env_t *env,
int soap_version);
@@ -141,10 +141,10 @@
* \brief soap_envelope struct
* represent a soap_envelope
*/
-struct axis2_soap_envelope
+struct axiom_soap_envelope
{
- /** operation of axis2_soap_envelope struct */
- axis2_soap_envelope_ops_t *ops;
+ /** operation of axiom_soap_envelope struct */
+ axiom_soap_envelope_ops_t *ops;
};
/**
@@ -152,31 +152,31 @@
* create a soap_envelope with the given namespace prefix and uri
* as the prefix and uri, The uri of ns should be valid soap uri
*/
-AXIS2_EXTERN axis2_soap_envelope_t* AXIS2_CALL
-axis2_soap_envelope_create(const axis2_env_t *env,
+AXIS2_EXTERN axiom_soap_envelope_t* AXIS2_CALL
+axiom_soap_envelope_create(const axis2_env_t *env,
axiom_namespace_t *ns);
/**
* @param env Environment. MUST NOT be NULL
* create a soap_envelope with the given namespace prefix and uri is selected
- * according to soap_version, soap version should be one of AXIS2_SOAP11
- * or AXIS2_SOAP12
+ * according to soap_version, soap version should be one of AXIOM_SOAP11
+ * or AXIOM_SOAP12
* @param prefix soap envelope prefix
* if prefix is NULL default prefix is used
* @returns a pointer to soap envelope struct
*
*/
-AXIS2_EXTERN axis2_soap_envelope_t* AXIS2_CALL
-axis2_soap_envelope_create_with_soap_version_prefix(const axis2_env_t *env,
+AXIS2_EXTERN axiom_soap_envelope_t* AXIS2_CALL
+axiom_soap_envelope_create_with_soap_version_prefix(const axis2_env_t *env,
int soap_version,
const axis2_char_t *prefix);
-AXIS2_EXTERN axis2_soap_envelope_t * AXIS2_CALL
-axis2_soap_envelope_create_default_soap_envelope(const axis2_env_t *env,
+AXIS2_EXTERN axiom_soap_envelope_t * AXIS2_CALL
+axiom_soap_envelope_create_default_soap_envelope(const axis2_env_t *env,
int soap_version);
-AXIS2_EXTERN axis2_soap_envelope_t * AXIS2_CALL
-axis2_soap_envelope_create_default_soap_fault_envelope(const axis2_env_t *env,
+AXIS2_EXTERN axiom_soap_envelope_t * AXIS2_CALL
+axiom_soap_envelope_create_default_soap_fault_envelope(const axis2_env_t *env,
const axis2_char_t *code_value,
const axis2_char_t *reason_text,
const int soap_version,
@@ -185,28 +185,28 @@
/******************** Macros **************************************************/
-#define AXIS2_SOAP_ENVELOPE_GET_HEADER(envelope, env) \
+#define AXIOM_SOAP_ENVELOPE_GET_HEADER(envelope, env) \
((envelope)->ops->get_header(envelope, env))
-#define AXIS2_SOAP_ENVELOPE_GET_BODY(envelope, env) \
+#define AXIOM_SOAP_ENVELOPE_GET_BODY(envelope, env) \
((envelope)->ops->get_body(envelope, env))
-#define AXIS2_SOAP_ENVELOPE_SERIALIZE(envelope, env, om_output, cache) \
+#define AXIOM_SOAP_ENVELOPE_SERIALIZE(envelope, env, om_output, cache) \
((envelope)->ops->serialize(envelope, env, om_output, cache))
-#define AXIS2_SOAP_ENVELOPE_FREE(envelope, env) \
+#define AXIOM_SOAP_ENVELOPE_FREE(envelope, env) \
((envelope)->ops->free(envelope, env))
-#define AXIS2_SOAP_ENVELOPE_GET_BASE_NODE(envelope, env) \
+#define AXIOM_SOAP_ENVELOPE_GET_BASE_NODE(envelope, env) \
((envelope)->ops->get_base_node(envelope, env))
-#define AXIS2_SOAP_ENVELOPE_GET_SOAP_VERSION(envelope, env) \
+#define AXIOM_SOAP_ENVELOPE_GET_SOAP_VERSION(envelope, env) \
((envelope)->ops->get_soap_version(envelope, env))
-#define AXIS2_SOAP_ENVELOPE_GET_NAMESPACE(envelope, env) \
+#define AXIOM_SOAP_ENVELOPE_GET_NAMESPACE(envelope, env) \
((envelope)->ops->get_namespace(envelope, env))
-#define AXIS2_SOAP_ENVELOPE_SET_SOAP_VERSION(envelope, env, soap_version) \
+#define AXIOM_SOAP_ENVELOPE_SET_SOAP_VERSION(envelope, env, soap_version) \
((envelope)->ops->set_soap_version(envelope, env, soap_version))
@@ -216,4 +216,4 @@
}
#endif
-#endif /* AXIS2_SOAP_ENVELOPE_H */
+#endif /* AXIOM_SOAP_ENVELOPE_H */
Copied: webservices/axis2/trunk/c/axiom/include/axiom_soap_fault.h (from r413637, webservices/axis2/trunk/c/axiom/include/axis2_soap_fault.h)
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/include/axiom_soap_fault.h?p2=webservices/axis2/trunk/c/axiom/include/axiom_soap_fault.h&p1=webservices/axis2/trunk/c/axiom/include/axis2_soap_fault.h&r1=413637&r2=413641&rev=413641&view=diff
==============================================================================
--- webservices/axis2/trunk/c/axiom/include/axis2_soap_fault.h (original)
+++ webservices/axis2/trunk/c/axiom/include/axiom_soap_fault.h Mon Jun 12 04:55:38 2006
@@ -14,15 +14,15 @@
* limitations under the License.
*/
- #ifndef AXIS2_SOAP_FAULT_H
- #define AXIS2_SOAP_FAULT_H
+ #ifndef AXIOM_SOAP_FAULT_H
+ #define AXIOM_SOAP_FAULT_H
/**
- * @file axis2_soap_fault.h
- * @brief axis2_soap_fault struct
+ * @file axiom_soap_fault.h
+ * @brief axiom_soap_fault struct
*/
-#include <axis2_soap_const.h>
+#include <axiom_soap_const.h>
#include <axis2_env.h>
#include <axiom_node.h>
#include <axiom_element.h>
@@ -33,34 +33,34 @@
{
#endif
-typedef struct axis2_soap_fault axis2_soap_fault_t;
-typedef struct axis2_soap_fault_ops axis2_soap_fault_ops_t;
+typedef struct axiom_soap_fault axiom_soap_fault_t;
+typedef struct axiom_soap_fault_ops axiom_soap_fault_ops_t;
-struct axis2_soap_fault_reason;
-struct axis2_soap_fault_detail;
-struct axis2_soap_fault_sub_code;
-struct axis2_soap_fault_code;
-struct axis2_soap_fault_node;
-struct axis2_soap_fault_role;
-struct axis2_soap_fault_text;
-struct axis2_soap_fault_value;
-struct axis2_soap_body;
-struct axis2_soap_builder;
+struct axiom_soap_fault_reason;
+struct axiom_soap_fault_detail;
+struct axiom_soap_fault_sub_code;
+struct axiom_soap_fault_code;
+struct axiom_soap_fault_node;
+struct axiom_soap_fault_role;
+struct axiom_soap_fault_text;
+struct axiom_soap_fault_value;
+struct axiom_soap_body;
+struct axiom_soap_builder;
/**
- * @defgroup axis2_soap_fault
- * @ingroup axis2_soap
+ * @defgroup axiom_soap_fault
+ * @ingroup axiom_soap
* @{
*/
/**
* \brief soap_fault operations struct
- * ops Encapsulator struct of axis2_soap fault
+ * ops Encapsulator struct of axiom_soap fault
*/
- AXIS2_DECLARE_DATA struct axis2_soap_fault_ops
+ AXIS2_DECLARE_DATA struct axiom_soap_fault_ops
{
/**
- * Free an axis2_soap_fault
+ * Free an axiom_soap_fault
* @param fault pointer to soap_fault struct
* @param env Environment. MUST NOT be NULL
* @return status of the op. AXIS2_SUCCESS on success
@@ -68,10 +68,10 @@
*/
axis2_status_t (AXIS2_CALL *
- free_fn)(axis2_soap_fault_t *fault,
+ free_fn)(axiom_soap_fault_t *fault,
const axis2_env_t *env);
/**
- * this function returns a axis2_soap_fault_code struct
+ * this function returns a axiom_soap_fault_code struct
* if a fault code is associated with this soap fault
* only valid when called after building the soap fault
* @param fault soap fault struct
@@ -79,8 +79,8 @@
* @returns pointer to soap_fault_code struct if one is associated
* with this soap_fault struct , NULL is returned otherwise
*/
- struct axis2_soap_fault_code * (AXIS2_CALL *
- get_code)(axis2_soap_fault_t *fault,
+ struct axiom_soap_fault_code * (AXIS2_CALL *
+ get_code)(axiom_soap_fault_t *fault,
const axis2_env_t *env);
/**
* @param fault soap fault struct
@@ -89,8 +89,8 @@
* with this soap_fault struct , NULL is returned otherwise
*/
- struct axis2_soap_fault_reason *(AXIS2_CALL *
- get_reason)(axis2_soap_fault_t *fault,
+ struct axiom_soap_fault_reason *(AXIS2_CALL *
+ get_reason)(axiom_soap_fault_t *fault,
const axis2_env_t *env);
/**
@@ -99,8 +99,8 @@
* @returns pointer to soap_fault_node struct if one is associated
* with this soap_fault struct , NULL is returned otherwise
*/
- struct axis2_soap_fault_node* (AXIS2_CALL *
- get_node)(axis2_soap_fault_t *fault,
+ struct axiom_soap_fault_node* (AXIS2_CALL *
+ get_node)(axiom_soap_fault_t *fault,
const axis2_env_t *env);
/**
@@ -109,8 +109,8 @@
* @returns pointer to soap_fault_code struct if one is associated
* with this soap_fault struct , NULL is returned otherwise
*/
- struct axis2_soap_fault_role* (AXIS2_CALL *
- get_role)(axis2_soap_fault_t *fault,
+ struct axiom_soap_fault_role* (AXIS2_CALL *
+ get_role)(axiom_soap_fault_t *fault,
const axis2_env_t *env);
/**
* @param fault soap fault struct
@@ -119,8 +119,8 @@
* associated with this soap_fault struct , NULL is returned otherwise
*/
- struct axis2_soap_fault_detail* (AXIS2_CALL *
- get_detail)(axis2_soap_fault_t *fault,
+ struct axiom_soap_fault_detail* (AXIS2_CALL *
+ get_detail)(axiom_soap_fault_t *fault,
const axis2_env_t *env);
/**
* @param fault soap fault struct
@@ -129,7 +129,7 @@
* associated with this soap_fault struct , NULL is returned otherwise
*/
axis2_char_t * (AXIS2_CALL *
- get_exception)(axis2_soap_fault_t *fault,
+ get_exception)(axiom_soap_fault_t *fault,
const axis2_env_t *env);
/**
* set an error string
@@ -138,7 +138,7 @@
* @param exception error message to be stored on soap fault
*/
axis2_status_t (AXIS2_CALL *
- set_exception) (axis2_soap_fault_t *fault,
+ set_exception) (axiom_soap_fault_t *fault,
const axis2_env_t *env,
axis2_char_t *exception);
/**
@@ -150,7 +150,7 @@
* with this soap fault struct, otherwise return NULL
*/
axiom_node_t* (AXIS2_CALL *
- get_base_node)(axis2_soap_fault_t *fault,
+ get_base_node)(axiom_soap_fault_t *fault,
const axis2_env_t *env);
@@ -160,10 +160,10 @@
* \brief soap_fault struct
* represent a soap_fault
*/
- struct axis2_soap_fault
+ struct axiom_soap_fault
{
- /** operation of axis2_soap_fault struct */
- axis2_soap_fault_ops_t *ops;
+ /** operation of axiom_soap_fault struct */
+ axiom_soap_fault_ops_t *ops;
};
@@ -173,33 +173,33 @@
* @param parent soap body struct to which this soap
* fault is the child
* @param env Environment. MUST NOT be NULL
- * @returns pointer to axis2_soap_fault_t struct on success
+ * @returns pointer to axiom_soap_fault_t struct on success
* otherwise return NULL with error code set in environments error
*/
-AXIS2_EXTERN axis2_soap_fault_t * AXIS2_CALL
-axis2_soap_fault_create_with_parent(const axis2_env_t *env,
- struct axis2_soap_body *parent);
+AXIS2_EXTERN axiom_soap_fault_t * AXIS2_CALL
+axiom_soap_fault_create_with_parent(const axis2_env_t *env,
+ struct axiom_soap_body *parent);
-/** create an returns a axis2_soap_fault_t struct with a soap fault detail
+/** create an returns a axiom_soap_fault_t struct with a soap fault detail
* element and have this exceptio string as a text of a child of soap fault
* detail
* @param env environment must not be NULL
* @param parent soap body struct must not be NULL
* @param exceptio an error string must not be NULL
- * @returns pointer to axis2_soap_fault_t on success ,
+ * @returns pointer to axiom_soap_fault_t on success ,
* otherwise return NULL
*/
-AXIS2_EXTERN axis2_soap_fault_t * AXIS2_CALL
-axis2_soap_fault_create_with_exception(const axis2_env_t *env,
- struct axis2_soap_body *parent,
+AXIS2_EXTERN axiom_soap_fault_t * AXIS2_CALL
+axiom_soap_fault_create_with_exception(const axis2_env_t *env,
+ struct axiom_soap_body *parent,
axis2_char_t* exception);
-AXIS2_EXTERN axis2_soap_fault_t * AXIS2_CALL
-axis2_soap_fault_create_default_fault(const axis2_env_t *env,
- struct axis2_soap_body *parent,
+AXIS2_EXTERN axiom_soap_fault_t * AXIS2_CALL
+axiom_soap_fault_create_default_fault(const axis2_env_t *env,
+ struct axiom_soap_body *parent,
const axis2_char_t *code_value,
const axis2_char_t *reason_text,
const int soap_version);
@@ -208,32 +208,32 @@
/** free soap_fault */
-#define AXIS2_SOAP_FAULT_FREE(fault , env) \
+#define AXIOM_SOAP_FAULT_FREE(fault , env) \
((fault)->ops->free_fn(fault, env))
-#define AXIS2_SOAP_FAULT_GET_CODE(fault , env) \
+#define AXIOM_SOAP_FAULT_GET_CODE(fault , env) \
((fault)->ops->get_code(fault, env))
-#define AXIS2_SOAP_FAULT_GET_REASON(fault , env) \
+#define AXIOM_SOAP_FAULT_GET_REASON(fault , env) \
((fault)->ops->get_reason(fault, env))
-#define AXIS2_SOAP_FAULT_GET_DETAIL(fault , env) \
+#define AXIOM_SOAP_FAULT_GET_DETAIL(fault , env) \
((fault)->ops->get_detail(fault, env))
-#define AXIS2_SOAP_FAULT_GET_ROLE(fault , env) \
+#define AXIOM_SOAP_FAULT_GET_ROLE(fault , env) \
((fault)->ops->get_role(fault, env))
-#define AXIS2_SOAP_FAULT_GET_NODE(fault , env) \
+#define AXIOM_SOAP_FAULT_GET_NODE(fault , env) \
((fault)->ops->get_node(fault, env))
-#define AXIS2_SOAP_FAULT_GET_BASE_NODE(fault, env) \
+#define AXIOM_SOAP_FAULT_GET_BASE_NODE(fault, env) \
((fault)->ops->get_base_node(fault, env))
-#define AXIS2_SOAP_FAULT_GET_EXCEPTION(fault, env) \
+#define AXIOM_SOAP_FAULT_GET_EXCEPTION(fault, env) \
((fault)->ops->get_exception(fault, env))
-#define AXIS2_SOAP_FAULT_SET_EXCEPTION(fault, env, exception) \
+#define AXIOM_SOAP_FAULT_SET_EXCEPTION(fault, env, exception) \
((fault)->ops->set_exception(fault, env, exception))
/** @} */
@@ -242,4 +242,4 @@
#endif
-#endif /* AXIS2_SOAP_FAULT_H */
+#endif /* AXIOM_SOAP_FAULT_H */
Copied: webservices/axis2/trunk/c/axiom/include/axiom_soap_fault_code.h (from r413637, webservices/axis2/trunk/c/axiom/include/axis2_soap_fault_code.h)
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/include/axiom_soap_fault_code.h?p2=webservices/axis2/trunk/c/axiom/include/axiom_soap_fault_code.h&p1=webservices/axis2/trunk/c/axiom/include/axis2_soap_fault_code.h&r1=413637&r2=413641&rev=413641&view=diff
==============================================================================
--- webservices/axis2/trunk/c/axiom/include/axis2_soap_fault_code.h (original)
+++ webservices/axis2/trunk/c/axiom/include/axiom_soap_fault_code.h Mon Jun 12 04:55:38 2006
@@ -14,68 +14,68 @@
* limitations under the License.
*/
- #ifndef AXIS2_SOAP_FAULT_CODE_H
- #define AXIS2_SOAP_FAULT_CODE_H
+ #ifndef AXIOM_SOAP_FAULT_CODE_H
+ #define AXIOM_SOAP_FAULT_CODE_H
/**
- * @file axis2_soap_fault_code.h
- * @brief axis2_soap_fault_code struct
+ * @file axiom_soap_fault_code.h
+ * @brief axiom_soap_fault_code struct
*/
#include <axis2_env.h>
-#include <axis2_soap_fault.h>
+#include <axiom_soap_fault.h>
#ifdef __cplusplus
extern "C"
{
#endif
- typedef struct axis2_soap_fault_code_ops axis2_soap_fault_code_ops_t;
- typedef struct axis2_soap_fault_code axis2_soap_fault_code_t;
+ typedef struct axiom_soap_fault_code_ops axiom_soap_fault_code_ops_t;
+ typedef struct axiom_soap_fault_code axiom_soap_fault_code_t;
- struct axis2_soap_fault_value;
- struct axis2_soap_fault_sub_code;
- struct axis2_soap_builder;
+ struct axiom_soap_fault_value;
+ struct axiom_soap_fault_sub_code;
+ struct axiom_soap_builder;
/**
- * @defgroup axis2_soap_fault_code
- * @ingroup axis2_soap
+ * @defgroup axiom_soap_fault_code
+ * @ingroup axiom_soap
* @{
*/
/**
* \brief soap_fault_code operations struct
- * ops Encapsulator struct of axis2_soap_fault_code
+ * ops Encapsulator struct of axiom_soap_fault_code
*/
- AXIS2_DECLARE_DATA struct axis2_soap_fault_code_ops
+ AXIS2_DECLARE_DATA struct axiom_soap_fault_code_ops
{
/**
- * Free an axis2_soap_fault_code
+ * Free an axiom_soap_fault_code
* @param fault_code pointer to soap_fault_code struct
* @param env Environment. MUST NOT be NULL
* @return satus of the op. AXIS2_SUCCESS on success
* else AXIS2_FAILURE
*/
axis2_status_t (AXIS2_CALL *
- free_fn)(axis2_soap_fault_code_t *fault_code,
+ free_fn)(axiom_soap_fault_code_t *fault_code,
const axis2_env_t *env);
/**
- * @returns axis2_soap_fault_sub_code struct if one is associated with
+ * @returns axiom_soap_fault_sub_code struct if one is associated with
* this fault_code struct , otherwise teturns NULL
*/
- struct axis2_soap_fault_sub_code* (AXIS2_CALL *
- get_sub_code)(axis2_soap_fault_code_t *fault_code,
+ struct axiom_soap_fault_sub_code* (AXIS2_CALL *
+ get_sub_code)(axiom_soap_fault_code_t *fault_code,
const axis2_env_t *env);
/**
* @returns soap_fault_value if available
*/
- struct axis2_soap_fault_value* (AXIS2_CALL *get_value)
- (axis2_soap_fault_code_t *fault_code,
+ struct axiom_soap_fault_value* (AXIS2_CALL *get_value)
+ (axiom_soap_fault_code_t *fault_code,
const axis2_env_t *env);
axiom_node_t* (AXIS2_CALL *
- get_base_node)(axis2_soap_fault_code_t *fault_code,
+ get_base_node)(axiom_soap_fault_code_t *fault_code,
const axis2_env_t *env);
};
@@ -84,10 +84,10 @@
* \brief soap_fault_code struct
* represent a soap_fault_code
*/
- struct axis2_soap_fault_code
+ struct axiom_soap_fault_code
{
- /** operation of axis2_soap_fault_code struct */
- axis2_soap_fault_code_ops_t *ops;
+ /** operation of axiom_soap_fault_code struct */
+ axiom_soap_fault_code_ops_t *ops;
};
@@ -96,29 +96,29 @@
* @param env Environment. MUST NOT be NULL
*/
-AXIS2_EXTERN axis2_soap_fault_code_t * AXIS2_CALL
-axis2_soap_fault_code_create_with_parent(const axis2_env_t *env,
- axis2_soap_fault_t *fault);
+AXIS2_EXTERN axiom_soap_fault_code_t * AXIS2_CALL
+axiom_soap_fault_code_create_with_parent(const axis2_env_t *env,
+ axiom_soap_fault_t *fault);
-AXIS2_EXTERN axis2_soap_fault_code_t * AXIS2_CALL
-axis2_soap_fault_code_create_with_parent_value(const axis2_env_t *env,
- axis2_soap_fault_t *fault,
+AXIS2_EXTERN axiom_soap_fault_code_t * AXIS2_CALL
+axiom_soap_fault_code_create_with_parent_value(const axis2_env_t *env,
+ axiom_soap_fault_t *fault,
axis2_char_t *value);
/******************** Macros **************************************************/
/** free soap_fault_code */
-#define AXIS2_SOAP_FAULT_CODE_FREE(fault_code , env) \
+#define AXIOM_SOAP_FAULT_CODE_FREE(fault_code , env) \
((fault_code)->ops->free_fn(fault_code, env))
-#define AXIS2_SOAP_FAULT_CODE_GET_SUB_CODE(fault_code , env) \
+#define AXIOM_SOAP_FAULT_CODE_GET_SUB_CODE(fault_code , env) \
((fault_code)->ops->get_sub_code(fault_code, env))
-#define AXIS2_SOAP_FAULT_CODE_GET_VALUE(fault_code , env) \
+#define AXIOM_SOAP_FAULT_CODE_GET_VALUE(fault_code , env) \
((fault_code)->ops->get_value(fault_code, env))
-#define AXIS2_SOAP_FAULT_CODE_GET_BASE_NODE(fault_code, env) \
+#define AXIOM_SOAP_FAULT_CODE_GET_BASE_NODE(fault_code, env) \
((fault_code)->ops->get_base_node(fault_code, env))
/** @} */
@@ -126,4 +126,4 @@
#ifdef __cplusplus
}
#endif
-#endif /* AXIS2_SOAP_FAULT_CODE_H */
+#endif /* AXIOM_SOAP_FAULT_CODE_H */
Copied: webservices/axis2/trunk/c/axiom/include/axiom_soap_fault_detail.h (from r413637, webservices/axis2/trunk/c/axiom/include/axis2_soap_fault_detail.h)
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/include/axiom_soap_fault_detail.h?p2=webservices/axis2/trunk/c/axiom/include/axiom_soap_fault_detail.h&p1=webservices/axis2/trunk/c/axiom/include/axis2_soap_fault_detail.h&r1=413637&r2=413641&rev=413641&view=diff
==============================================================================
--- webservices/axis2/trunk/c/axiom/include/axis2_soap_fault_detail.h (original)
+++ webservices/axis2/trunk/c/axiom/include/axiom_soap_fault_detail.h Mon Jun 12 04:55:38 2006
@@ -14,16 +14,16 @@
* limitations under the License.
*/
- #ifndef AXIS2_SOAP_FAULT_DETAIL_H
- #define AXIS2_SOAP_FAULT_DETAIL_H
+ #ifndef AXIOM_SOAP_FAULT_DETAIL_H
+ #define AXIOM_SOAP_FAULT_DETAIL_H
/**
- * @file axis2_soap_fault_detail.h
- * @brief axis2_soap_fault_detail struct
+ * @file axiom_soap_fault_detail.h
+ * @brief axiom_soap_fault_detail struct
*/
#include <axis2_env.h>
-#include <axis2_soap_fault.h>
+#include <axiom_soap_fault.h>
#include <axiom_children_iterator.h>
#ifdef __cplusplus
@@ -31,23 +31,23 @@
{
#endif
- typedef struct axis2_soap_fault_detail_ops axis2_soap_fault_detail_ops_t;
- typedef struct axis2_soap_fault_detail axis2_soap_fault_detail_t;
+ typedef struct axiom_soap_fault_detail_ops axiom_soap_fault_detail_ops_t;
+ typedef struct axiom_soap_fault_detail axiom_soap_fault_detail_t;
/**
- * @defgroup axis2_soap_fault_detail
- * @ingroup axis2_soap
+ * @defgroup axiom_soap_fault_detail
+ * @ingroup axiom_soap
* @{
*/
/**
* \brief soap_fault_detail operations struct
- * ops Encapsulator struct of axis2_soap_fault_detail
+ * ops Encapsulator struct of axiom_soap_fault_detail
*/
- AXIS2_DECLARE_DATA struct axis2_soap_fault_detail_ops
+ AXIS2_DECLARE_DATA struct axiom_soap_fault_detail_ops
{
/**
- * Free an axis2_soap_fault_detail
+ * Free an axiom_soap_fault_detail
* @param fault_detail pointer to soap_fault_detail struct
* @param env Environment. MUST NOT be NULL
* @return satus of the op. AXIS2_SUCCESS on success
@@ -55,20 +55,20 @@
*/
axis2_status_t (AXIS2_CALL *
- free_fn)(axis2_soap_fault_detail_t *fault_detail,
+ free_fn)(axiom_soap_fault_detail_t *fault_detail,
const axis2_env_t *env);
axis2_status_t (AXIS2_CALL *
- add_detail_entry)(axis2_soap_fault_detail_t *fault_detail,
+ add_detail_entry)(axiom_soap_fault_detail_t *fault_detail,
const axis2_env_t *env,
axiom_node_t *ele_node);
axiom_children_iterator_t* (AXIS2_CALL *
- get_all_detail_entries) (axis2_soap_fault_detail_t *fault_detail,
+ get_all_detail_entries) (axiom_soap_fault_detail_t *fault_detail,
const axis2_env_t *env);
axiom_node_t* (AXIS2_CALL *
- get_base_node)(axis2_soap_fault_detail_t *fault_code,
+ get_base_node)(axiom_soap_fault_detail_t *fault_code,
const axis2_env_t *env);
};
@@ -77,10 +77,10 @@
* \brief soap_fault_code struct
* represent a soap_fault_code
*/
- struct axis2_soap_fault_detail
+ struct axiom_soap_fault_detail
{
- /** operation of axis2_soap_fault_detail struct */
- axis2_soap_fault_detail_ops_t *ops;
+ /** operation of axiom_soap_fault_detail struct */
+ axiom_soap_fault_detail_ops_t *ops;
};
@@ -91,24 +91,24 @@
-AXIS2_EXTERN axis2_soap_fault_detail_t * AXIS2_CALL
-axis2_soap_fault_detail_create_with_parent
+AXIS2_EXTERN axiom_soap_fault_detail_t * AXIS2_CALL
+axiom_soap_fault_detail_create_with_parent
(const axis2_env_t *env,
- axis2_soap_fault_t *fault);
+ axiom_soap_fault_t *fault);
/******************** Macros **************************************************/
/** free soap_fault_detail */
-#define AXIS2_SOAP_FAULT_DETAIL_FREE(fault_detail , env) \
+#define AXIOM_SOAP_FAULT_DETAIL_FREE(fault_detail , env) \
((fault_detail)->ops->free_fn(fault_detail, env))
-#define AXIS2_SOAP_FAULT_DETAIL_ADD_DETAIL_ENTRY(fault_detail, env, ele_node) \
+#define AXIOM_SOAP_FAULT_DETAIL_ADD_DETAIL_ENTRY(fault_detail, env, ele_node) \
((fault_detail)->ops->add_detail_entry(fault_detail, env, ele_node))
-#define AXIS2_SOAP_FAULT_DETAIL_GET_ALL_DETAIL_ENTRIES(fault_detail, env) \
+#define AXIOM_SOAP_FAULT_DETAIL_GET_ALL_DETAIL_ENTRIES(fault_detail, env) \
((fault_detail)->ops->get_all_detail_entries(fault_detail, env))
-#define AXIS2_SOAP_FAULT_DETAIL_GET_BASE_NODE(fault_detail, env) \
+#define AXIOM_SOAP_FAULT_DETAIL_GET_BASE_NODE(fault_detail, env) \
((fault_detail)->ops->get_base_node(fault_detail, env))
@@ -119,4 +119,4 @@
}
#endif
-#endif /* AXIS2_SOAP_FAULT_DETAIL_H */
+#endif /* AXIOM_SOAP_FAULT_DETAIL_H */
Copied: webservices/axis2/trunk/c/axiom/include/axiom_soap_fault_node.h (from r413637, webservices/axis2/trunk/c/axiom/include/axis2_soap_fault_node.h)
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/include/axiom_soap_fault_node.h?p2=webservices/axis2/trunk/c/axiom/include/axiom_soap_fault_node.h&p1=webservices/axis2/trunk/c/axiom/include/axis2_soap_fault_node.h&r1=413637&r2=413641&rev=413641&view=diff
==============================================================================
--- webservices/axis2/trunk/c/axiom/include/axis2_soap_fault_node.h (original)
+++ webservices/axis2/trunk/c/axiom/include/axiom_soap_fault_node.h Mon Jun 12 04:55:38 2006
@@ -14,37 +14,37 @@
* limitations under the License.
*/
- #ifndef AXIS2_SOAP_FAULT_NODE_H
- #define AXIS2_SOAP_FAULT_NODE_H
+ #ifndef AXIOM_SOAP_FAULT_NODE_H
+ #define AXIOM_SOAP_FAULT_NODE_H
/**
- * @file axis2_soap_fault_node.h
- * @brief axis2_soap_fault_node struct
+ * @file axiom_soap_fault_node.h
+ * @brief axiom_soap_fault_node struct
*/
#include <axis2_env.h>
-#include <axis2_soap_fault.h>
+#include <axiom_soap_fault.h>
#ifdef __cplusplus
extern "C"
{
#endif
- typedef struct axis2_soap_fault_node_ops axis2_soap_fault_node_ops_t;
- typedef struct axis2_soap_fault_node axis2_soap_fault_node_t;
+ typedef struct axiom_soap_fault_node_ops axiom_soap_fault_node_ops_t;
+ typedef struct axiom_soap_fault_node axiom_soap_fault_node_t;
/**
- * @defgroup axis2_soap_fault_node
- * @ingroup axis2_soap
+ * @defgroup axiom_soap_fault_node
+ * @ingroup axiom_soap
* @{
*/
/**
* \brief soap_fault_node operations struct
- * ops Encapsulator struct of axis2_soap_fault_node
+ * ops Encapsulator struct of axiom_soap_fault_node
*/
- AXIS2_DECLARE_DATA struct axis2_soap_fault_node_ops
+ AXIS2_DECLARE_DATA struct axiom_soap_fault_node_ops
{
/**
- * Free an axis2_soap_fault_node
+ * Free an axiom_soap_fault_node
* @param fault_node pointer to soap_fault_node struct
* @param env Environment. MUST NOT be NULL
* @return satus of the op. AXIS2_SUCCESS on success
@@ -52,20 +52,20 @@
*/
axis2_status_t (AXIS2_CALL *
- free_fn) (axis2_soap_fault_node_t *fault_node,
+ free_fn) (axiom_soap_fault_node_t *fault_node,
const axis2_env_t *env);
axis2_status_t (AXIS2_CALL *
- set_value)(axis2_soap_fault_node_t *fault_node,
+ set_value)(axiom_soap_fault_node_t *fault_node,
const axis2_env_t *env,
axis2_char_t *fault_val);
axis2_char_t* (AXIS2_CALL *
- get_value)(axis2_soap_fault_node_t *fault_node,
+ get_value)(axiom_soap_fault_node_t *fault_node,
const axis2_env_t *env);
axiom_node_t* (AXIS2_CALL *
- get_base_node)(axis2_soap_fault_node_t *fault_node,
+ get_base_node)(axiom_soap_fault_node_t *fault_node,
const axis2_env_t *env);
};
@@ -73,10 +73,10 @@
* \brief soap_fault_node struct
* represent a soap_fault_node
*/
- struct axis2_soap_fault_node
+ struct axiom_soap_fault_node
{
- /** operation of axis2_soap_fault_node struct */
- axis2_soap_fault_node_ops_t *ops;
+ /** operation of axiom_soap_fault_node struct */
+ axiom_soap_fault_node_ops_t *ops;
};
@@ -84,25 +84,25 @@
* creates a soap struct
* @param env Environment. MUST NOT be NULL
*/
-AXIS2_EXTERN axis2_soap_fault_node_t * AXIS2_CALL
-axis2_soap_fault_node_create_with_parent(const axis2_env_t *env,
- axis2_soap_fault_t *fault);
+AXIS2_EXTERN axiom_soap_fault_node_t * AXIS2_CALL
+axiom_soap_fault_node_create_with_parent(const axis2_env_t *env,
+ axiom_soap_fault_t *fault);
/******************** Macros **************************************************/
/** free soap_fault_node */
-#define AXIS2_SOAP_FAULT_NODE_FREE(fault_node , env) \
+#define AXIOM_SOAP_FAULT_NODE_FREE(fault_node , env) \
((fault_node)->ops->free_fn(fault_node, env))
-#define AXIS2_SOAP_FAULT_NODE_GET_VALUE(fault_node , env) \
+#define AXIOM_SOAP_FAULT_NODE_GET_VALUE(fault_node , env) \
((fault_node)->ops->get_value(fault_node, env))
-#define AXIS2_SOAP_FAULT_NODE_GET_BASE_NODE(fault_node, env) \
+#define AXIOM_SOAP_FAULT_NODE_GET_BASE_NODE(fault_node, env) \
((fault_node)->ops->get_base_node(fault_node, env))
-#define AXIS2_SOAP_FAULT_NODE_SET_VALUE(fault_node , env, uri) \
+#define AXIOM_SOAP_FAULT_NODE_SET_VALUE(fault_node , env, uri) \
((fault_node)->ops->set_value(fault_node, env, uri))
/** @} */
@@ -111,4 +111,4 @@
}
#endif
-#endif /* AXIS2_SOAP_FAULT_NODE_H */
+#endif /* AXIOM_SOAP_FAULT_NODE_H */
Copied: webservices/axis2/trunk/c/axiom/include/axiom_soap_fault_reason.h (from r413637, webservices/axis2/trunk/c/axiom/include/axis2_soap_fault_reason.h)
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/include/axiom_soap_fault_reason.h?p2=webservices/axis2/trunk/c/axiom/include/axiom_soap_fault_reason.h&p1=webservices/axis2/trunk/c/axiom/include/axis2_soap_fault_reason.h&r1=413637&r2=413641&rev=413641&view=diff
==============================================================================
--- webservices/axis2/trunk/c/axiom/include/axis2_soap_fault_reason.h (original)
+++ webservices/axis2/trunk/c/axiom/include/axiom_soap_fault_reason.h Mon Jun 12 04:55:38 2006
@@ -14,15 +14,15 @@
* limitations under the License.
*/
- #ifndef AXIS2_SOAP_FAULT_REASON_H
- #define AXIS2_SOAP_FAULT_REASON_H
+ #ifndef AXIOM_SOAP_FAULT_REASON_H
+ #define AXIOM_SOAP_FAULT_REASON_H
/**
- * @file axis2_soap_fault_reason.h
- * @brief axis2_soap_fault_reason
+ * @file axiom_soap_fault_reason.h
+ * @brief axiom_soap_fault_reason
*/
#include <axis2_env.h>
-#include <axis2_soap_fault.h>
+#include <axiom_soap_fault.h>
#include <axis2_array_list.h>
#ifdef __cplusplus
@@ -30,24 +30,24 @@
{
#endif
-typedef struct axis2_soap_fault_reason_ops axis2_soap_fault_reason_ops_t;
-typedef struct axis2_soap_fault_reason axis2_soap_fault_reason_t;
-struct axis2_soap_fault_text;
-struct axis2_soap_builder;
+typedef struct axiom_soap_fault_reason_ops axiom_soap_fault_reason_ops_t;
+typedef struct axiom_soap_fault_reason axiom_soap_fault_reason_t;
+struct axiom_soap_fault_text;
+struct axiom_soap_builder;
/**
- * @defgroup axis2_soap_fault_reason
- * @ingroup axis2_soap
+ * @defgroup axiom_soap_fault_reason
+ * @ingroup axiom_soap
* @{
*/
/**
* \brief soap_fault_reason operations struct
- * ops Encapsulator struct of axis2_soap_fault_reason
+ * ops Encapsulator struct of axiom_soap_fault_reason
*/
- AXIS2_DECLARE_DATA struct axis2_soap_fault_reason_ops
+ AXIS2_DECLARE_DATA struct axiom_soap_fault_reason_ops
{
/**
- * Free an axis2_soap_fault_reason
+ * Free an axiom_soap_fault_reason
* @param fault_reason pointer to soap_fault_reason struct
* @param env Environment. MUST NOT be NULL
* @return satus of the op. AXIS2_SUCCESS on success
@@ -55,29 +55,29 @@
*/
axis2_status_t (AXIS2_CALL *
- free_fn)(axis2_soap_fault_reason_t *fault_reason,
+ free_fn)(axiom_soap_fault_reason_t *fault_reason,
const axis2_env_t *env);
- struct axis2_soap_fault_text* (AXIS2_CALL *
- get_soap_fault_text)(axis2_soap_fault_reason_t *fault_reason,
+ struct axiom_soap_fault_text* (AXIS2_CALL *
+ get_soap_fault_text)(axiom_soap_fault_reason_t *fault_reason,
const axis2_env_t *env,
axis2_char_t *lang);
axis2_array_list_t* (AXIS2_CALL *
- get_all_soap_fault_texts)(axis2_soap_fault_reason_t *fault_reason,
+ get_all_soap_fault_texts)(axiom_soap_fault_reason_t *fault_reason,
const axis2_env_t *env);
- struct axis2_soap_fault_text* (AXIS2_CALL *
- get_first_soap_fault_text)(axis2_soap_fault_reason_t *fault_reason,
+ struct axiom_soap_fault_text* (AXIS2_CALL *
+ get_first_soap_fault_text)(axiom_soap_fault_reason_t *fault_reason,
const axis2_env_t *env);
axis2_status_t (AXIS2_CALL *
- add_soap_fault_text)(axis2_soap_fault_reason_t *fault_reason,
+ add_soap_fault_text)(axiom_soap_fault_reason_t *fault_reason,
const axis2_env_t *env,
- struct axis2_soap_fault_text *fault_text);
+ struct axiom_soap_fault_text *fault_text);
axiom_node_t* (AXIS2_CALL *
- get_base_node)(axis2_soap_fault_reason_t *fault_reason,
+ get_base_node)(axiom_soap_fault_reason_t *fault_reason,
const axis2_env_t *env);
};
@@ -86,10 +86,10 @@
* \brief soap_fault_reason struct
* represent a soap_fault_reason
*/
- struct axis2_soap_fault_reason
+ struct axiom_soap_fault_reason
{
- /** operation of axis2_soap_fault_reason struct */
- axis2_soap_fault_reason_ops_t *ops;
+ /** operation of axiom_soap_fault_reason struct */
+ axiom_soap_fault_reason_ops_t *ops;
};
@@ -99,30 +99,30 @@
*/
-AXIS2_EXTERN axis2_soap_fault_reason_t * AXIS2_CALL
-axis2_soap_fault_reason_create_with_parent(const axis2_env_t *env,
- axis2_soap_fault_t *fault);
+AXIS2_EXTERN axiom_soap_fault_reason_t * AXIS2_CALL
+axiom_soap_fault_reason_create_with_parent(const axis2_env_t *env,
+ axiom_soap_fault_t *fault);
/******************** Macros **************************************************/
/** free soap_fault_reason */
-#define AXIS2_SOAP_FAULT_REASON_FREE(fault_reason , env) \
+#define AXIOM_SOAP_FAULT_REASON_FREE(fault_reason , env) \
((fault_reason)->ops->free_fn(fault_reason, env))
-#define AXIS2_SOAP_FAULT_REASON_GET_SOAP_FAULT_TEXT(fault_reason , env, lang) \
+#define AXIOM_SOAP_FAULT_REASON_GET_SOAP_FAULT_TEXT(fault_reason , env, lang) \
((fault_reason)->ops->get_soap_fault_text(fault_reason, env, lang))
-#define AXIS2_SOAP_FAULT_REASON_GET_BASE_NODE(fault_reason, env) \
+#define AXIOM_SOAP_FAULT_REASON_GET_BASE_NODE(fault_reason, env) \
((fault_reason)->ops->get_base_node(fault_reason, env))
-#define AXIS2_SOAP_FAULT_REASON_ADD_SOAP_FAULT_TEXT(fault_reason, env, fault_text) \
+#define AXIOM_SOAP_FAULT_REASON_ADD_SOAP_FAULT_TEXT(fault_reason, env, fault_text) \
((fault_reason)->ops->add_soap_fault_text(fault_reason, env, fault_text))
-#define AXIS2_SOAP_FAULT_REASON_GET_ALL_SOAP_FAULT_TEXTS(fault_reason, env) \
+#define AXIOM_SOAP_FAULT_REASON_GET_ALL_SOAP_FAULT_TEXTS(fault_reason, env) \
((fault_reason)->ops->get_all_soap_fault_texts(fault_reason, env))
-#define AXIS2_SOAP_FAULT_REASON_GET_FIRST_SOAP_FAULT_TEXT(fault_reason, env) \
+#define AXIOM_SOAP_FAULT_REASON_GET_FIRST_SOAP_FAULT_TEXT(fault_reason, env) \
((fault_reason)->ops->get_first_soap_fault_text(fault_reason, env))
/** @} */
@@ -131,4 +131,4 @@
}
#endif
-#endif /* AXIS2_SOAP_FAULT_REASON_H */
+#endif /* AXIOM_SOAP_FAULT_REASON_H */
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org