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 2007/09/28 12:22:36 UTC
svn commit: r580284 [8/12] - in /webservices/axis2/trunk/c/axiom:
src/attachments/ src/om/ src/parser/ src/parser/guththila/
src/parser/libxml2/ src/soap/ src/util/ test/om/ test/soap/
Modified: webservices/axis2/trunk/c/axiom/src/soap/_axiom_soap_fault.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/src/soap/_axiom_soap_fault.h?rev=580284&r1=580283&r2=580284&view=diff
==============================================================================
--- webservices/axis2/trunk/c/axiom/src/soap/_axiom_soap_fault.h (original)
+++ webservices/axis2/trunk/c/axiom/src/soap/_axiom_soap_fault.h Fri Sep 28 03:22:20 2007
@@ -1,3 +1,4 @@
+
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
@@ -14,16 +15,15 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-
- #ifndef _AXIOM_SOAP_FAULT_H
- #define _AXIOM_SOAP_FAULT_H
-
-
- /** @defgroup axiom_soap AXIOM (Axis Object Model)
- * @ingroup axis2
- * @{
- */
-
+
+#ifndef _AXIOM_SOAP_FAULT_H
+#define _AXIOM_SOAP_FAULT_H
+
+/** @defgroup axiom_soap AXIOM (Axis Object Model)
+ * @ingroup axis2
+ * @{
+ */
+
/** @} */
#include <axiom_soap_fault.h>
@@ -32,64 +32,72 @@
extern "C"
{
#endif
-
-/**
- * @defgroup axiom_soap_fault Soap fault
- * @ingroup axiom_soap
- * @{
- */
-AXIS2_EXTERN axis2_status_t AXIS2_CALL
-axiom_soap_fault_set_code(axiom_soap_fault_t *fault,
- const axutil_env_t *env,
- struct axiom_soap_fault_code *code);
-
-AXIS2_EXTERN axis2_status_t AXIS2_CALL
-axiom_soap_fault_set_reason(axiom_soap_fault_t *fault,
- const axutil_env_t *env,
- struct axiom_soap_fault_reason *reason);
-
-AXIS2_EXTERN axis2_status_t AXIS2_CALL
-axiom_soap_fault_set_node(axiom_soap_fault_t *fault,
- const axutil_env_t *env,
- struct axiom_soap_fault_node *node);
-
-AXIS2_EXTERN axis2_status_t AXIS2_CALL
-axiom_soap_fault_set_role(axiom_soap_fault_t *fault,
- const axutil_env_t *env,
- struct axiom_soap_fault_role *role);
-
-AXIS2_EXTERN axis2_status_t AXIS2_CALL
-axiom_soap_fault_set_detail(axiom_soap_fault_t *fault,
- const axutil_env_t *env,
- struct axiom_soap_fault_detail *detail);
-
-AXIS2_EXTERN axis2_status_t AXIS2_CALL
-axiom_soap_fault_set_base_node(axiom_soap_fault_t *fault,
- const axutil_env_t *env,
- axiom_node_t *node);
-
-AXIS2_EXTERN axis2_status_t AXIS2_CALL
-axiom_soap_fault_set_builder(axiom_soap_fault_t *fault,
- const axutil_env_t *env,
- struct axiom_soap_builder *builder);
-
-AXIS2_EXTERN axis2_status_t AXIS2_CALL
-axiom_soap_fault_set_soap_version(axiom_soap_fault_t *fault,
- const axutil_env_t *env,
- int soap_version);
-
-AXIS2_EXTERN int AXIS2_CALL
-axiom_soap_fault_get_soap_version(axiom_soap_fault_t *fault,
- const axutil_env_t *env);
-
-
-AXIS2_EXTERN axiom_soap_fault_t * AXIS2_CALL
-axiom_soap_fault_create(const axutil_env_t *env);
-
-
-/** @} */
-
+ /**
+ * @defgroup axiom_soap_fault Soap fault
+ * @ingroup axiom_soap
+ * @{
+ */
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ axiom_soap_fault_set_code(
+ axiom_soap_fault_t * fault,
+ const axutil_env_t * env,
+ struct axiom_soap_fault_code *code);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ axiom_soap_fault_set_reason(
+ axiom_soap_fault_t * fault,
+ const axutil_env_t * env,
+ struct axiom_soap_fault_reason *reason);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ axiom_soap_fault_set_node(
+ axiom_soap_fault_t * fault,
+ const axutil_env_t * env,
+ struct axiom_soap_fault_node *node);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ axiom_soap_fault_set_role(
+ axiom_soap_fault_t * fault,
+ const axutil_env_t * env,
+ struct axiom_soap_fault_role *role);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ axiom_soap_fault_set_detail(
+ axiom_soap_fault_t * fault,
+ const axutil_env_t * env,
+ struct axiom_soap_fault_detail *detail);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ axiom_soap_fault_set_base_node(
+ axiom_soap_fault_t * fault,
+ const axutil_env_t * env,
+ axiom_node_t * node);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ axiom_soap_fault_set_builder(
+ axiom_soap_fault_t * fault,
+ const axutil_env_t * env,
+ struct axiom_soap_builder *builder);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ axiom_soap_fault_set_soap_version(
+ axiom_soap_fault_t * fault,
+ const axutil_env_t * env,
+ int soap_version);
+
+ AXIS2_EXTERN int AXIS2_CALL
+ axiom_soap_fault_get_soap_version(
+ axiom_soap_fault_t * fault,
+ const axutil_env_t * env);
+
+ AXIS2_EXTERN axiom_soap_fault_t *AXIS2_CALL
+ axiom_soap_fault_create(
+ const axutil_env_t * env);
+
+ /** @} */
+
#ifdef __cplusplus
}
#endif
Modified: webservices/axis2/trunk/c/axiom/src/soap/_axiom_soap_fault_code.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/src/soap/_axiom_soap_fault_code.h?rev=580284&r1=580283&r2=580284&view=diff
==============================================================================
--- webservices/axis2/trunk/c/axiom/src/soap/_axiom_soap_fault_code.h (original)
+++ webservices/axis2/trunk/c/axiom/src/soap/_axiom_soap_fault_code.h Fri Sep 28 03:22:20 2007
@@ -1,3 +1,4 @@
+
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
@@ -14,16 +15,15 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-
- #ifndef _AXIOM_SOAP_FAULT_CODE_H
- #define _AXIOM_SOAP_FAULT_CODE_H
-
-
- /** @defgroup axiom_soap AXIOM (Axis Object Model)
- * @ingroup axis2
- * @{
- */
-
+
+#ifndef _AXIOM_SOAP_FAULT_CODE_H
+#define _AXIOM_SOAP_FAULT_CODE_H
+
+/** @defgroup axiom_soap AXIOM (Axis Object Model)
+ * @ingroup axis2
+ * @{
+ */
+
/** @} */
#include <axiom_soap_fault_code.h>
@@ -32,48 +32,58 @@
extern "C"
{
#endif
-
-/**
- * @defgroup axiom_soap_fault_code Soap fault code
- * @ingroup axiom_soap
- * @{
- */
-AXIS2_EXTERN axis2_status_t AXIS2_CALL
-axiom_soap_fault_code_set_value(axiom_soap_fault_code_t *fault_code,
- const axutil_env_t *env,
- struct axiom_soap_fault_value *fault_val);
-
-AXIS2_EXTERN axis2_status_t AXIS2_CALL
-axiom_soap_fault_code_set_sub_code(axiom_soap_fault_code_t *fault_code,
- const axutil_env_t *env,
- struct axiom_soap_fault_sub_code *fault_subcode);
-
-AXIS2_EXTERN axis2_status_t AXIS2_CALL
-axiom_soap_fault_code_set_base_node(axiom_soap_fault_code_t *fault_code,
- const axutil_env_t *env,
- axiom_node_t *node);
-
-AXIS2_EXTERN axis2_status_t AXIS2_CALL
-axiom_soap_fault_code_set_builder(axiom_soap_fault_code_t *fault_code,
- const axutil_env_t *env,
- struct axiom_soap_builder *soap_builder);
-
-AXIS2_EXTERN int AXIS2_CALL
-axiom_soap_fault_code_get_soap_version(axiom_soap_fault_code_t *fault_code,
- const axutil_env_t *env);
-
-AXIS2_EXTERN axis2_status_t AXIS2_CALL
-axiom_soap_fault_code_set_soap_version(axiom_soap_fault_code_t *fault_code,
- const axutil_env_t *env,
- int soap_version);
-
-
-AXIS2_EXTERN axiom_soap_fault_code_t * AXIS2_CALL
-axiom_soap_fault_code_create(const axutil_env_t *env);
-
-/** @} */
-
+ /**
+ * @defgroup axiom_soap_fault_code Soap fault code
+ * @ingroup axiom_soap
+ * @{
+ */
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ axiom_soap_fault_code_set_value(
+ axiom_soap_fault_code_t * fault_code,
+ const axutil_env_t * env,
+ struct axiom_soap_fault_value *fault_val);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+
+ axiom_soap_fault_code_set_sub_code(
+ axiom_soap_fault_code_t * fault_code,
+ const axutil_env_t * env,
+ struct axiom_soap_fault_sub_code *fault_subcode);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+
+ axiom_soap_fault_code_set_base_node(
+ axiom_soap_fault_code_t * fault_code,
+ const axutil_env_t * env,
+ axiom_node_t * node);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ axiom_soap_fault_code_set_builder(
+ axiom_soap_fault_code_t * fault_code,
+ const axutil_env_t * env,
+ struct axiom_soap_builder *soap_builder);
+
+ AXIS2_EXTERN int AXIS2_CALL
+ axiom_soap_fault_code_get_soap_version(
+ axiom_soap_fault_code_t * fault_code,
+ const axutil_env_t * env);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+
+ axiom_soap_fault_code_set_soap_version(
+ axiom_soap_fault_code_t * fault_code,
+ const axutil_env_t * env,
+ int soap_version);
+
+ AXIS2_EXTERN axiom_soap_fault_code_t *AXIS2_CALL
+
+ axiom_soap_fault_code_create(
+ const axutil_env_t * env);
+
+ /** @} */
+
#ifdef __cplusplus
}
#endif
Modified: webservices/axis2/trunk/c/axiom/src/soap/_axiom_soap_fault_detail.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/src/soap/_axiom_soap_fault_detail.h?rev=580284&r1=580283&r2=580284&view=diff
==============================================================================
--- webservices/axis2/trunk/c/axiom/src/soap/_axiom_soap_fault_detail.h (original)
+++ webservices/axis2/trunk/c/axiom/src/soap/_axiom_soap_fault_detail.h Fri Sep 28 03:22:20 2007
@@ -1,3 +1,4 @@
+
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
@@ -14,16 +15,15 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-
- #ifndef _AXIOM_SOAP_FAULT_DETAIL_H
- #define _AXIOM_SOAP_FAULT_DETAIL_H
-
-
- /** @defgroup axiom_soap AXIOM (Axis Object Model)
- * @ingroup axis2
- * @{
- */
-
+
+#ifndef _AXIOM_SOAP_FAULT_DETAIL_H
+#define _AXIOM_SOAP_FAULT_DETAIL_H
+
+/** @defgroup axiom_soap AXIOM (Axis Object Model)
+ * @ingroup axis2
+ * @{
+ */
+
/** @} */
#include <axiom_soap_fault_detail.h>
@@ -32,26 +32,27 @@
extern "C"
{
#endif
-
-/**
- * @defgroup axiom_soap_fault_detail soap fault detail
- * @ingroup axiom_soap
- * @{
- */
-
-AXIS2_EXTERN axis2_status_t AXIS2_CALL
-axiom_soap_fault_detail_set_base_node
- (axiom_soap_fault_detail_t *fault_detail,
- const axutil_env_t *env,
- axiom_node_t *node);
-
-AXIS2_EXTERN axiom_soap_fault_detail_t * AXIS2_CALL
-axiom_soap_fault_detail_create(const axutil_env_t *env);
-
-
-/** @} */
-
+ /**
+ * @defgroup axiom_soap_fault_detail soap fault detail
+ * @ingroup axiom_soap
+ * @{
+ */
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+
+ axiom_soap_fault_detail_set_base_node(
+ axiom_soap_fault_detail_t * fault_detail,
+ const axutil_env_t * env,
+ axiom_node_t * node);
+
+ AXIS2_EXTERN axiom_soap_fault_detail_t *AXIS2_CALL
+
+ axiom_soap_fault_detail_create(
+ const axutil_env_t * env);
+
+ /** @} */
+
#ifdef __cplusplus
}
#endif
Modified: webservices/axis2/trunk/c/axiom/src/soap/_axiom_soap_fault_node.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/src/soap/_axiom_soap_fault_node.h?rev=580284&r1=580283&r2=580284&view=diff
==============================================================================
--- webservices/axis2/trunk/c/axiom/src/soap/_axiom_soap_fault_node.h (original)
+++ webservices/axis2/trunk/c/axiom/src/soap/_axiom_soap_fault_node.h Fri Sep 28 03:22:20 2007
@@ -1,3 +1,4 @@
+
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
@@ -14,16 +15,15 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-
- #ifndef _AXIOM_SOAP_FAULT_NODE_H
- #define _AXIOM_SOAP_FAULT_NODE_H
-
-
- /** @defgroup axiom_soap AXIOM (Axis Object Model)
- * @ingroup axis2
- * @{
- */
-
+
+#ifndef _AXIOM_SOAP_FAULT_NODE_H
+#define _AXIOM_SOAP_FAULT_NODE_H
+
+/** @defgroup axiom_soap AXIOM (Axis Object Model)
+ * @ingroup axis2
+ * @{
+ */
+
/** @} */
#include <axiom_soap_fault_node.h>
@@ -32,24 +32,27 @@
extern "C"
{
#endif
-
-/**
- * @defgroup axiom_soap_fault_node Soap fault_node
- * @ingroup axiom_soap
- * @{
- */
-AXIS2_EXTERN axis2_status_t AXIS2_CALL
-axiom_soap_fault_node_set_base_node
- (axiom_soap_fault_node_t *fault_node,
- const axutil_env_t *env,
- axiom_node_t *node);
-
-AXIS2_EXTERN axiom_soap_fault_node_t * AXIS2_CALL
-axiom_soap_fault_node_create(const axutil_env_t *env);
-
-/** @} */
-
+ /**
+ * @defgroup axiom_soap_fault_node Soap fault_node
+ * @ingroup axiom_soap
+ * @{
+ */
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+
+ axiom_soap_fault_node_set_base_node(
+ axiom_soap_fault_node_t * fault_node,
+ const axutil_env_t * env,
+ axiom_node_t * node);
+
+ AXIS2_EXTERN axiom_soap_fault_node_t *AXIS2_CALL
+
+ axiom_soap_fault_node_create(
+ const axutil_env_t * env);
+
+ /** @} */
+
#ifdef __cplusplus
}
#endif
Modified: webservices/axis2/trunk/c/axiom/src/soap/_axiom_soap_fault_reason.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/src/soap/_axiom_soap_fault_reason.h?rev=580284&r1=580283&r2=580284&view=diff
==============================================================================
--- webservices/axis2/trunk/c/axiom/src/soap/_axiom_soap_fault_reason.h (original)
+++ webservices/axis2/trunk/c/axiom/src/soap/_axiom_soap_fault_reason.h Fri Sep 28 03:22:20 2007
@@ -1,3 +1,4 @@
+
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
@@ -14,16 +15,15 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-
- #ifndef _AXIOM_SOAP_FAULT_REASON_H
- #define _AXIOM_SOAP_FAULT_REASON_H
-
-
- /** @defgroup axiom_soap AXIOM (Axis Object Model)
- * @ingroup axis2
- * @{
- */
-
+
+#ifndef _AXIOM_SOAP_FAULT_REASON_H
+#define _AXIOM_SOAP_FAULT_REASON_H
+
+/** @defgroup axiom_soap AXIOM (Axis Object Model)
+ * @ingroup axis2
+ * @{
+ */
+
/** @} */
#include <axiom_soap_fault_reason.h>
@@ -32,45 +32,54 @@
extern "C"
{
#endif
-
-/**
- * @defgroup axiom_soap_fault_reason Soap Reason
- * @ingroup axiom_soap
- * @{
- */
-AXIS2_EXTERN axis2_status_t AXIS2_CALL
-axiom_soap_fault_reason_set_builder(axiom_soap_fault_reason_t *fault_reason,
- const axutil_env_t *env,
- struct axiom_soap_builder *builder);
-
-
-AXIS2_EXTERN axis2_status_t AXIS2_CALL
-axiom_soap_fault_reason_set_base_node
- (axiom_soap_fault_reason_t *fault_reason,
- const axutil_env_t *env,
- axiom_node_t *node);
-
-AXIS2_EXTERN axis2_status_t AXIS2_CALL
-axiom_soap_fault_reason_set_soap_fault_text
- (axiom_soap_fault_reason_t *fault_reason,
- const axutil_env_t *env,
- struct axiom_soap_fault_text *soap_text);
-
-AXIS2_EXTERN axis2_status_t AXIS2_CALL
-axiom_soap_fault_reason_set_soap_version(axiom_soap_fault_reason_t *fault_reason,
- const axutil_env_t *env,
- int soap_version);
-
-AXIS2_EXTERN axis2_status_t AXIS2_CALL
-axiom_soap_fault_reason_get_soap_version(axiom_soap_fault_reason_t *fault_reason,
- const axutil_env_t *env);
+ /**
+ * @defgroup axiom_soap_fault_reason Soap Reason
+ * @ingroup axiom_soap
+ * @{
+ */
-AXIS2_EXTERN axiom_soap_fault_reason_t * AXIS2_CALL
-axiom_soap_fault_reason_create(const axutil_env_t *env);
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+
+ axiom_soap_fault_reason_set_builder(
+ axiom_soap_fault_reason_t * fault_reason,
+ const axutil_env_t * env,
+ struct axiom_soap_builder *builder);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+
+ axiom_soap_fault_reason_set_base_node(
+ axiom_soap_fault_reason_t * fault_reason,
+ const axutil_env_t * env,
+ axiom_node_t * node);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+
+ axiom_soap_fault_reason_set_soap_fault_text(
+ axiom_soap_fault_reason_t * fault_reason,
+ const axutil_env_t * env,
+ struct axiom_soap_fault_text *soap_text);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+
+ axiom_soap_fault_reason_set_soap_version(
+ axiom_soap_fault_reason_t * fault_reason,
+ const axutil_env_t * env,
+ int soap_version);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+
+ axiom_soap_fault_reason_get_soap_version(
+ axiom_soap_fault_reason_t * fault_reason,
+ const axutil_env_t * env);
+
+ AXIS2_EXTERN axiom_soap_fault_reason_t *AXIS2_CALL
+
+ axiom_soap_fault_reason_create(
+ const axutil_env_t * env);
+
+ /** @} */
-/** @} */
-
#ifdef __cplusplus
}
#endif
Modified: webservices/axis2/trunk/c/axiom/src/soap/_axiom_soap_fault_role.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/src/soap/_axiom_soap_fault_role.h?rev=580284&r1=580283&r2=580284&view=diff
==============================================================================
--- webservices/axis2/trunk/c/axiom/src/soap/_axiom_soap_fault_role.h (original)
+++ webservices/axis2/trunk/c/axiom/src/soap/_axiom_soap_fault_role.h Fri Sep 28 03:22:20 2007
@@ -1,3 +1,4 @@
+
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
@@ -14,16 +15,15 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-
- #ifndef _AXIOM_SOAP_FAULT_ROLE_H
- #define _AXIOM_SOAP_FAULT_ROLE_H
-
-
- /** @defgroup axiom_soap AXIOM (Axis Object Model)
- * @ingroup axis2
- * @{
- */
-
+
+#ifndef _AXIOM_SOAP_FAULT_ROLE_H
+#define _AXIOM_SOAP_FAULT_ROLE_H
+
+/** @defgroup axiom_soap AXIOM (Axis Object Model)
+ * @ingroup axis2
+ * @{
+ */
+
/** @} */
#include <axiom_soap_fault_role.h>
@@ -32,25 +32,27 @@
extern "C"
{
#endif
-
-/**
- * @defgroup axiom_soap_fault_role Soap_fault_role
- * @ingroup axiom_soap
- * @{
- */
-AXIS2_EXTERN axis2_status_t AXIS2_CALL
-axiom_soap_fault_role_set_base_node
- (axiom_soap_fault_role_t *fault_role,
- const axutil_env_t *env,
- axiom_node_t *node);
-
-
-AXIS2_EXTERN axiom_soap_fault_role_t * AXIS2_CALL
-axiom_soap_fault_role_create(const axutil_env_t *env);
-
-/** @} */
-
+ /**
+ * @defgroup axiom_soap_fault_role Soap_fault_role
+ * @ingroup axiom_soap
+ * @{
+ */
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+
+ axiom_soap_fault_role_set_base_node(
+ axiom_soap_fault_role_t * fault_role,
+ const axutil_env_t * env,
+ axiom_node_t * node);
+
+ AXIS2_EXTERN axiom_soap_fault_role_t *AXIS2_CALL
+
+ axiom_soap_fault_role_create(
+ const axutil_env_t * env);
+
+ /** @} */
+
#ifdef __cplusplus
}
#endif
Modified: webservices/axis2/trunk/c/axiom/src/soap/_axiom_soap_fault_sub_code.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/src/soap/_axiom_soap_fault_sub_code.h?rev=580284&r1=580283&r2=580284&view=diff
==============================================================================
--- webservices/axis2/trunk/c/axiom/src/soap/_axiom_soap_fault_sub_code.h (original)
+++ webservices/axis2/trunk/c/axiom/src/soap/_axiom_soap_fault_sub_code.h Fri Sep 28 03:22:20 2007
@@ -1,3 +1,4 @@
+
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
@@ -14,16 +15,15 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-
- #ifndef _AXIOM_SOAP_FAULT_CODE_SUB_CODE_H
- #define _AXIOM_SOAP_FAULT_CODE_SUB_CODE_H
-
-
- /** @defgroup axiom_soap AXIOM (Axis Object Model)
- * @ingroup axis2
- * @{
- */
-
+
+#ifndef _AXIOM_SOAP_FAULT_CODE_SUB_CODE_H
+#define _AXIOM_SOAP_FAULT_CODE_SUB_CODE_H
+
+/** @defgroup axiom_soap AXIOM (Axis Object Model)
+ * @ingroup axis2
+ * @{
+ */
+
/** @} */
#include <axiom_soap_fault_sub_code.h>
@@ -32,55 +32,60 @@
extern "C"
{
#endif
-
-/**
- * @defgroup axiom_soap_fault_sub_code Soap_fault_code
- * @ingroup axiom_soap
- * @{
- */
-AXIS2_EXTERN axis2_status_t AXIS2_CALL
-axiom_soap_fault_sub_code_set_sub_code(
- axiom_soap_fault_sub_code_t *fault_sub_code,
- const axutil_env_t *env,
- axiom_soap_fault_sub_code_t *sub_code);
-
-
-AXIS2_EXTERN axis2_status_t AXIS2_CALL
-axiom_soap_fault_sub_code_set_value
- (axiom_soap_fault_sub_code_t *fault_sub_code,
- const axutil_env_t *env,
- struct axiom_soap_fault_value *fault_sub_code_val);
-
-AXIS2_EXTERN axis2_status_t AXIS2_CALL
-axiom_soap_fault_sub_code_set_base_node
- (axiom_soap_fault_sub_code_t *fault_sub_code,
- const axutil_env_t *env,
- axiom_node_t *node);
-
-AXIS2_EXTERN axis2_status_t AXIS2_CALL
-axiom_soap_fault_sub_code_set_builder(
- axiom_soap_fault_sub_code_t *fault_sub_code,
- const axutil_env_t *env,
- struct axiom_soap_builder *builder);
-
-AXIS2_EXTERN axis2_status_t AXIS2_CALL
-axiom_soap_fault_sub_code_set_soap_version(
- axiom_soap_fault_sub_code_t *fault_sub_code,
- const axutil_env_t *env,
- int soap_version);
-
-AXIS2_EXTERN int AXIS2_CALL
-axiom_soap_fault_sub_code_get_soap_version
- (axiom_soap_fault_sub_code_t *fault_sub_code,
- const axutil_env_t *env);
-
-
-AXIS2_EXTERN axiom_soap_fault_sub_code_t * AXIS2_CALL
-axiom_soap_fault_sub_code_create(const axutil_env_t *env);
+ /**
+ * @defgroup axiom_soap_fault_sub_code Soap_fault_code
+ * @ingroup axiom_soap
+ * @{
+ */
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+
+ axiom_soap_fault_sub_code_set_sub_code(
+ axiom_soap_fault_sub_code_t * fault_sub_code,
+ const axutil_env_t * env,
+ axiom_soap_fault_sub_code_t * sub_code);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+
+ axiom_soap_fault_sub_code_set_value(
+ axiom_soap_fault_sub_code_t * fault_sub_code,
+ const axutil_env_t * env,
+ struct axiom_soap_fault_value *fault_sub_code_val);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+
+ axiom_soap_fault_sub_code_set_base_node(
+ axiom_soap_fault_sub_code_t * fault_sub_code,
+ const axutil_env_t * env,
+ axiom_node_t * node);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+
+ axiom_soap_fault_sub_code_set_builder(
+ axiom_soap_fault_sub_code_t * fault_sub_code,
+ const axutil_env_t * env,
+ struct axiom_soap_builder *builder);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+
+ axiom_soap_fault_sub_code_set_soap_version(
+ axiom_soap_fault_sub_code_t * fault_sub_code,
+ const axutil_env_t * env,
+ int soap_version);
+
+ AXIS2_EXTERN int AXIS2_CALL
+ axiom_soap_fault_sub_code_get_soap_version(
+ axiom_soap_fault_sub_code_t * fault_sub_code,
+ const axutil_env_t * env);
+
+ AXIS2_EXTERN axiom_soap_fault_sub_code_t *AXIS2_CALL
+
+ axiom_soap_fault_sub_code_create(
+ const axutil_env_t * env);
+
+ /** @} */
-/** @} */
-
#ifdef __cplusplus
}
#endif
Modified: webservices/axis2/trunk/c/axiom/src/soap/_axiom_soap_fault_text.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/src/soap/_axiom_soap_fault_text.h?rev=580284&r1=580283&r2=580284&view=diff
==============================================================================
--- webservices/axis2/trunk/c/axiom/src/soap/_axiom_soap_fault_text.h (original)
+++ webservices/axis2/trunk/c/axiom/src/soap/_axiom_soap_fault_text.h Fri Sep 28 03:22:20 2007
@@ -1,3 +1,4 @@
+
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
@@ -14,16 +15,15 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-
- #ifndef _AXIOM_SOAP_FAULT_TEXT_H
- #define _AXIOM_SOAP_FAULT_TEXT_H
-
-
- /** @defgroup axiom_soap AXIOM (Axis Object Model)
- * @ingroup axis2
- * @{
- */
-
+
+#ifndef _AXIOM_SOAP_FAULT_TEXT_H
+#define _AXIOM_SOAP_FAULT_TEXT_H
+
+/** @defgroup axiom_soap AXIOM (Axis Object Model)
+ * @ingroup axis2
+ * @{
+ */
+
/** @} */
#include <axiom_soap_fault_text.h>
@@ -32,23 +32,27 @@
extern "C"
{
#endif
-
-/**
- * @defgroup axiom_soap_fault_text soap fault text
- * @ingroup axiom_soap
- * @{
- */
-AXIS2_EXTERN axis2_status_t AXIS2_CALL
-axiom_soap_fault_text_set_base_node(axiom_soap_fault_text_t *fault_text,
- const axutil_env_t *env,
- axiom_node_t *node);
-
-AXIS2_EXTERN axiom_soap_fault_text_t * AXIS2_CALL
-axiom_soap_fault_text_create(const axutil_env_t *env);
-
-/** @} */
-
+ /**
+ * @defgroup axiom_soap_fault_text soap fault text
+ * @ingroup axiom_soap
+ * @{
+ */
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+
+ axiom_soap_fault_text_set_base_node(
+ axiom_soap_fault_text_t * fault_text,
+ const axutil_env_t * env,
+ axiom_node_t * node);
+
+ AXIS2_EXTERN axiom_soap_fault_text_t *AXIS2_CALL
+
+ axiom_soap_fault_text_create(
+ const axutil_env_t * env);
+
+ /** @} */
+
#ifdef __cplusplus
}
#endif
Modified: webservices/axis2/trunk/c/axiom/src/soap/_axiom_soap_fault_value.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/src/soap/_axiom_soap_fault_value.h?rev=580284&r1=580283&r2=580284&view=diff
==============================================================================
--- webservices/axis2/trunk/c/axiom/src/soap/_axiom_soap_fault_value.h (original)
+++ webservices/axis2/trunk/c/axiom/src/soap/_axiom_soap_fault_value.h Fri Sep 28 03:22:20 2007
@@ -1,3 +1,4 @@
+
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
@@ -14,16 +15,15 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-
- #ifndef _AXIOM_SOAP_FAULT_VALUE_H
- #define _AXIOM_SOAP_FAULT_VALUE_H
-
-
- /** @defgroup axiom_soap AXIOM (Axis Object Model)
- * @ingroup axis2
- * @{
- */
-
+
+#ifndef _AXIOM_SOAP_FAULT_VALUE_H
+#define _AXIOM_SOAP_FAULT_VALUE_H
+
+/** @defgroup axiom_soap AXIOM (Axis Object Model)
+ * @ingroup axis2
+ * @{
+ */
+
/** @} */
#include <axiom_soap_fault_value.h>
@@ -32,24 +32,27 @@
extern "C"
{
#endif
-
-/**
- * @defgroup axiom_soap_fault_value Soap Fault Value
- * @ingroup axiom_soap
- * @{
- */
-AXIS2_EXTERN axis2_status_t AXIS2_CALL
-axiom_soap_fault_value_set_base_node(axiom_soap_fault_value_t *fault_value,
- const axutil_env_t *env,
- axiom_node_t *node);
-
-AXIS2_EXTERN axiom_soap_fault_value_t * AXIS2_CALL
-axiom_soap_fault_value_create(const axutil_env_t *env);
-
-
-/** @} */
-
+ /**
+ * @defgroup axiom_soap_fault_value Soap Fault Value
+ * @ingroup axiom_soap
+ * @{
+ */
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+
+ axiom_soap_fault_value_set_base_node(
+ axiom_soap_fault_value_t * fault_value,
+ const axutil_env_t * env,
+ axiom_node_t * node);
+
+ AXIS2_EXTERN axiom_soap_fault_value_t *AXIS2_CALL
+
+ axiom_soap_fault_value_create(
+ const axutil_env_t * env);
+
+ /** @} */
+
#ifdef __cplusplus
}
#endif
Modified: webservices/axis2/trunk/c/axiom/src/soap/_axiom_soap_header.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/src/soap/_axiom_soap_header.h?rev=580284&r1=580283&r2=580284&view=diff
==============================================================================
--- webservices/axis2/trunk/c/axiom/src/soap/_axiom_soap_header.h (original)
+++ webservices/axis2/trunk/c/axiom/src/soap/_axiom_soap_header.h Fri Sep 28 03:22:20 2007
@@ -1,3 +1,4 @@
+
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
@@ -14,16 +15,15 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-
- #ifndef _AXIOM_SOAP_HEADER_H
- #define _AXIOM_SOAP_HEADER_H
-
-
- /** @defgroup axiom_soap AXIOM (Axis Object Model)
- * @ingroup axis2
- * @{
- */
-
+
+#ifndef _AXIOM_SOAP_HEADER_H
+#define _AXIOM_SOAP_HEADER_H
+
+/** @defgroup axiom_soap AXIOM (Axis Object Model)
+ * @ingroup axis2
+ * @{
+ */
+
/** @} */
#include <axiom_soap_header.h>
@@ -32,38 +32,44 @@
extern "C"
{
#endif
-
-/**
- * @defgroup axiom_soap_header Soap header
- * @ingroup axiom_soap
- * @{
- */
-AXIS2_EXTERN axis2_status_t AXIS2_CALL
-axiom_soap_header_set_base_node(axiom_soap_header_t *header,
- const axutil_env_t *env,
- axiom_node_t *node);
-
-AXIS2_EXTERN axis2_status_t AXIS2_CALL
-axiom_soap_header_set_soap_version(axiom_soap_header_t *header,
- const axutil_env_t *env,
- int soap_version);
-AXIS2_EXTERN axis2_status_t AXIS2_CALL
-axiom_soap_header_set_header_block(axiom_soap_header_t *header,
- const axutil_env_t *env,
- struct axiom_soap_header_block *header_block);
-
-AXIS2_EXTERN axis2_status_t AXIS2_CALL
-axiom_soap_header_set_builder(axiom_soap_header_t *header,
- const axutil_env_t *env,
- struct axiom_soap_builder *builder);
-
-
-AXIS2_EXTERN axiom_soap_header_t * AXIS2_CALL
-axiom_soap_header_create(const axutil_env_t *env);
-
-/** @} */
-
+ /**
+ * @defgroup axiom_soap_header Soap header
+ * @ingroup axiom_soap
+ * @{
+ */
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ axiom_soap_header_set_base_node(
+ axiom_soap_header_t * header,
+ const axutil_env_t * env,
+ axiom_node_t * node);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+
+ axiom_soap_header_set_soap_version(
+ axiom_soap_header_t * header,
+ const axutil_env_t * env,
+ int soap_version);
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+
+ axiom_soap_header_set_header_block(
+ axiom_soap_header_t * header,
+ const axutil_env_t * env,
+ struct axiom_soap_header_block *header_block);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ axiom_soap_header_set_builder(
+ axiom_soap_header_t * header,
+ const axutil_env_t * env,
+ struct axiom_soap_builder *builder);
+
+ AXIS2_EXTERN axiom_soap_header_t *AXIS2_CALL
+ axiom_soap_header_create(
+ const axutil_env_t * env);
+
+ /** @} */
+
#ifdef __cplusplus
}
#endif
Modified: webservices/axis2/trunk/c/axiom/src/soap/_axiom_soap_header_block.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/src/soap/_axiom_soap_header_block.h?rev=580284&r1=580283&r2=580284&view=diff
==============================================================================
--- webservices/axis2/trunk/c/axiom/src/soap/_axiom_soap_header_block.h (original)
+++ webservices/axis2/trunk/c/axiom/src/soap/_axiom_soap_header_block.h Fri Sep 28 03:22:20 2007
@@ -1,3 +1,4 @@
+
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
@@ -14,16 +15,15 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-
- #ifndef _AXIOM_SOAP_HEADER_BLOCK_H
- #define _AXIOM_SOAP_HEADER_BLOCK_H
-
-
- /** @defgroup axiom_soap AXIOM (Axis Object Model)
- * @ingroup axis2
- * @{
- */
-
+
+#ifndef _AXIOM_SOAP_HEADER_BLOCK_H
+#define _AXIOM_SOAP_HEADER_BLOCK_H
+
+/** @defgroup axiom_soap AXIOM (Axis Object Model)
+ * @ingroup axis2
+ * @{
+ */
+
/** @} */
#include <axiom_soap_header_block.h>
@@ -32,30 +32,33 @@
extern "C"
{
#endif
-
-/**
- * @defgroup axiom_soap_header_block Soap header block
- * @ingroup axiom_soap
- * @{
- */
-AXIS2_EXTERN axis2_status_t AXIS2_CALL
-axiom_soap_header_block_set_soap_version
- (axiom_soap_header_block_t *header_block,
- const axutil_env_t *env,
- int soap_version);
-
-AXIS2_EXTERN axis2_status_t AXIS2_CALL
-axiom_soap_header_block_set_base_node
- (axiom_soap_header_block_t *header_block,
- const axutil_env_t *env,
- axiom_node_t *node);
-
-AXIS2_EXTERN axiom_soap_header_block_t * AXIS2_CALL
-axiom_soap_header_block_create(const axutil_env_t *env);
-
-
-/** @} */
-
+
+ /**
+ * @defgroup axiom_soap_header_block Soap header block
+ * @ingroup axiom_soap
+ * @{
+ */
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+
+ axiom_soap_header_block_set_soap_version(
+ axiom_soap_header_block_t * header_block,
+ const axutil_env_t * env,
+ int soap_version);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+
+ axiom_soap_header_block_set_base_node(
+ axiom_soap_header_block_t * header_block,
+ const axutil_env_t * env,
+ axiom_node_t * node);
+
+ AXIS2_EXTERN axiom_soap_header_block_t *AXIS2_CALL
+
+ axiom_soap_header_block_create(
+ const axutil_env_t * env);
+
+ /** @} */
+
#ifdef __cplusplus
}
#endif
Modified: webservices/axis2/trunk/c/axiom/src/soap/axiom_soap11_builder_helper.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/src/soap/axiom_soap11_builder_helper.h?rev=580284&r1=580283&r2=580284&view=diff
==============================================================================
--- webservices/axis2/trunk/c/axiom/src/soap/axiom_soap11_builder_helper.h (original)
+++ webservices/axis2/trunk/c/axiom/src/soap/axiom_soap11_builder_helper.h Fri Sep 28 03:22:20 2007
@@ -1,3 +1,4 @@
+
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
@@ -18,7 +19,6 @@
#ifndef AXIOM_SOAP11_BUILDER_HELPER_H
#define AXIOM_SOAP11_BUILDER_HELPER_H
-
/**
* @file axiom_soap_11_builder_helper.h
* @brief axiom_soap11_builder_helper
@@ -30,8 +30,8 @@
{
#endif
-
- typedef struct axiom_soap11_builder_helper axiom_soap11_builder_helper_t;
+ typedef struct axiom_soap11_builder_helper
+ axiom_soap11_builder_helper_t;
/**
* @defgroup axiom_soap11_builder_helper
@@ -43,25 +43,29 @@
* creates a soap11_builder_helper_create
* @param env Environment. MUST NOT be NULL
*/
- AXIS2_EXTERN axiom_soap11_builder_helper_t* AXIS2_CALL
- axiom_soap11_builder_helper_create(const axutil_env_t *env,
- axiom_soap_builder_t *soap_builder,
- axiom_stax_builder_t *om_builder);
+ AXIS2_EXTERN axiom_soap11_builder_helper_t *AXIS2_CALL
+
+ axiom_soap11_builder_helper_create(
+ const axutil_env_t * env,
+ axiom_soap_builder_t * soap_builder,
+ axiom_stax_builder_t * om_builder);
AXIS2_EXTERN void AXIS2_CALL
- axiom_soap11_builder_helper_free(axiom_soap11_builder_helper_t *builder_helper,
- const axutil_env_t *env);
+ axiom_soap11_builder_helper_free(
+ axiom_soap11_builder_helper_t * builder_helper,
+ const axutil_env_t * env);
AXIS2_EXTERN axis2_status_t AXIS2_CALL
- axiom_soap11_builder_helper_handle_event(axiom_soap11_builder_helper_t *builder_helper,
- const axutil_env_t *env,
- axiom_node_t *om_element_node,
- int element_level);
+ axiom_soap11_builder_helper_handle_event(
+ axiom_soap11_builder_helper_t * builder_helper,
+ const axutil_env_t * env,
+ axiom_node_t * om_element_node,
+ int element_level);
/** @} */
#ifdef __cplusplus
}
#endif
-#endif /* AXIOM_SOAP11_BUILDER_HELPER_H */
+#endif /* AXIOM_SOAP11_BUILDER_HELPER_H */
Modified: webservices/axis2/trunk/c/axiom/src/soap/axiom_soap12_builder_helper.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/src/soap/axiom_soap12_builder_helper.h?rev=580284&r1=580283&r2=580284&view=diff
==============================================================================
--- webservices/axis2/trunk/c/axiom/src/soap/axiom_soap12_builder_helper.h (original)
+++ webservices/axis2/trunk/c/axiom/src/soap/axiom_soap12_builder_helper.h Fri Sep 28 03:22:20 2007
@@ -1,3 +1,4 @@
+
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
@@ -19,6 +20,7 @@
#define AXIOM_SOAP12_BUILDER_HELPER_H
#include <axiom_soap_builder.h>
+
/**
* @file axiom_soap_12_builder_helper.h
* @brief axiom_soap12_builder_helper
@@ -29,8 +31,8 @@
{
#endif
-
- typedef struct axiom_soap12_builder_helper axiom_soap12_builder_helper_t;
+ typedef struct axiom_soap12_builder_helper
+ axiom_soap12_builder_helper_t;
/**
* @defgroup axiom_soap12_builder_helper
@@ -42,18 +44,23 @@
* creates a soap12_builder_helper_create
* @param env Environment. MUST NOT be NULL
*/
- AXIS2_EXTERN axiom_soap12_builder_helper_t* AXIS2_CALL
- axiom_soap12_builder_helper_create(const axutil_env_t *env,
- axiom_soap_builder_t *soap_builder);
-
- AXIS2_EXTERN void AXIS2_CALL
- axiom_soap12_builder_helper_free(axiom_soap12_builder_helper_t *builder_helper,
- const axutil_env_t *env);
-
- AXIS2_EXTERN axis2_status_t AXIS2_CALL
- axiom_soap12_builder_helper_handle_event(axiom_soap12_builder_helper_t *builder_helper,
- const axutil_env_t *env,
- axiom_node_t *om_element_node,
+ AXIS2_EXTERN axiom_soap12_builder_helper_t *AXIS2_CALL
+
+ axiom_soap12_builder_helper_create(
+ const axutil_env_t * env,
+ axiom_soap_builder_t * soap_builder);
+
+ AXIS2_EXTERN void AXIS2_CALL
+ axiom_soap12_builder_helper_free(
+ axiom_soap12_builder_helper_t * builder_helper,
+ const axutil_env_t * env);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+
+ axiom_soap12_builder_helper_handle_event(
+ axiom_soap12_builder_helper_t * builder_helper,
+ const axutil_env_t * env,
+ axiom_node_t * om_element_node,
int element_level);
/** @} */
@@ -61,5 +68,4 @@
}
#endif
-
-#endif /*AXIOM_SOAP11_BUILDER_HELPER_H*/
+#endif /*AXIOM_SOAP11_BUILDER_HELPER_H */
Modified: webservices/axis2/trunk/c/axiom/src/soap/soap11_builder_helper.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/src/soap/soap11_builder_helper.c?rev=580284&r1=580283&r2=580284&view=diff
==============================================================================
--- webservices/axis2/trunk/c/axiom/src/soap/soap11_builder_helper.c (original)
+++ webservices/axis2/trunk/c/axiom/src/soap/soap11_builder_helper.c Fri Sep 28 03:22:20 2007
@@ -1,3 +1,4 @@
+
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
@@ -30,9 +31,9 @@
#include <axiom_stax_builder_internal.h>
#include <axiom_node_internal.h>
-static axis2_status_t
-axiom_soap11_builder_helper_process_text(axiom_soap11_builder_helper_t *builder_helper,
- const axutil_env_t *env);
+static axis2_status_t axiom_soap11_builder_helper_process_text(
+ axiom_soap11_builder_helper_t * builder_helper,
+ const axutil_env_t * env);
struct axiom_soap11_builder_helper
{
@@ -48,18 +49,21 @@
};
-AXIS2_EXTERN axiom_soap11_builder_helper_t* AXIS2_CALL
-axiom_soap11_builder_helper_create(const axutil_env_t *env,
- axiom_soap_builder_t *soap_builder,
- axiom_stax_builder_t *om_builder)
+AXIS2_EXTERN axiom_soap11_builder_helper_t *AXIS2_CALL
+axiom_soap11_builder_helper_create(
+ const axutil_env_t * env,
+ axiom_soap_builder_t * soap_builder,
+ axiom_stax_builder_t * om_builder)
{
axiom_soap11_builder_helper_t *builder_helper = NULL;
AXIS2_ENV_CHECK(env, NULL);
AXIS2_PARAM_CHECK(env->error, soap_builder, NULL);
AXIS2_PARAM_CHECK(env->error, om_builder, NULL);
- builder_helper = (axiom_soap11_builder_helper_t*)AXIS2_MALLOC(
- env->allocator, sizeof(axiom_soap11_builder_helper_t));
+ builder_helper =
+ (axiom_soap11_builder_helper_t *) AXIS2_MALLOC(env->allocator,
+ sizeof
+ (axiom_soap11_builder_helper_t));
if (!builder_helper)
{
AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
@@ -78,8 +82,9 @@
}
AXIS2_EXTERN void AXIS2_CALL
-axiom_soap11_builder_helper_free(axiom_soap11_builder_helper_t *builder_helper,
- const axutil_env_t *env)
+axiom_soap11_builder_helper_free(
+ axiom_soap11_builder_helper_t * builder_helper,
+ const axutil_env_t * env)
{
AXIS2_ENV_CHECK(env, void);
@@ -89,10 +94,11 @@
}
AXIS2_EXTERN axis2_status_t AXIS2_CALL
-axiom_soap11_builder_helper_handle_event(axiom_soap11_builder_helper_t *builder_helper,
- const axutil_env_t *env,
- axiom_node_t *om_element_node,
- int element_level)
+axiom_soap11_builder_helper_handle_event(
+ axiom_soap11_builder_helper_t * builder_helper,
+ const axutil_env_t * env,
+ axiom_node_t * om_element_node,
+ int element_level)
{
axiom_element_t *om_ele = NULL;
axis2_char_t *ele_localname = NULL;
@@ -103,7 +109,8 @@
AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
AXIS2_PARAM_CHECK(env->error, om_element_node, AXIS2_FAILURE);
- om_ele = (axiom_element_t *)axiom_node_get_data_element(om_element_node, env);
+ om_ele =
+ (axiom_element_t *) axiom_node_get_data_element(om_element_node, env);
ele_localname = axiom_element_get_localname(om_ele, env);
if (!ele_localname)
@@ -111,7 +118,8 @@
return AXIS2_FAILURE;
}
- soap_envelope = axiom_soap_builder_get_soap_envelope(builder_helper->soap_builder, env);
+ soap_envelope =
+ axiom_soap_builder_get_soap_envelope(builder_helper->soap_builder, env);
if (!soap_envelope)
{
@@ -130,64 +138,73 @@
return AXIS2_FAILURE;
}
-
if (element_level == 4)
{
axiom_soap_fault_code_t *fault_code = NULL;
axiom_soap_fault_value_t *fault_value = NULL;
axiom_node_t *fault_value_node = NULL;
- axiom_element_t *fault_value_ele = NULL;
+ axiom_element_t *fault_value_ele = NULL;
- if (axutil_strcmp(ele_localname, AXIOM_SOAP11_SOAP_FAULT_CODE_LOCAL_NAME) == 0)
+ if (axutil_strcmp
+ (ele_localname, AXIOM_SOAP11_SOAP_FAULT_CODE_LOCAL_NAME) == 0)
{
axis2_status_t status = AXIS2_SUCCESS;
if (builder_helper->fault_string_present)
{
- axiom_soap_builder_set_bool_processing_mandatory_fault_elements(
- builder_helper->soap_builder, env, AXIS2_FALSE);
+ axiom_soap_builder_set_bool_processing_mandatory_fault_elements
+ (builder_helper->soap_builder, env, AXIS2_FALSE);
}
fault_code = axiom_soap_fault_code_create(env);
if (!fault_code)
return AXIS2_FAILURE;
- axiom_soap_fault_code_set_base_node(fault_code, env, om_element_node);
+ axiom_soap_fault_code_set_base_node(fault_code, env,
+ om_element_node);
axiom_soap_fault_set_code(soap_fault, env, fault_code);
- axiom_soap_fault_code_set_builder(fault_code, env, builder_helper->soap_builder);
+ axiom_soap_fault_code_set_builder(fault_code, env,
+ builder_helper->soap_builder);
- axiom_element_set_localname(om_ele, env, AXIOM_SOAP12_SOAP_FAULT_CODE_LOCAL_NAME);
+ axiom_element_set_localname(om_ele, env,
+ AXIOM_SOAP12_SOAP_FAULT_CODE_LOCAL_NAME);
- fault_value = axiom_soap_fault_value_create_with_code(env, fault_code);
+ fault_value =
+ axiom_soap_fault_value_create_with_code(env, fault_code);
if (!fault_value)
return AXIS2_FAILURE;
- fault_value_node = axiom_soap_fault_value_get_base_node(fault_value, env);
+ fault_value_node =
+ axiom_soap_fault_value_get_base_node(fault_value, env);
if (!fault_value_node)
return AXIS2_FAILURE;
- fault_value_ele = (axiom_element_t *)axiom_node_get_data_element(
- fault_value_node, env);
+ fault_value_ele =
+ (axiom_element_t *)
+ axiom_node_get_data_element(fault_value_node, env);
axiom_stax_builder_set_lastnode(builder_helper->om_builder,
- env, fault_value_node);
+ env, fault_value_node);
- status = axiom_soap11_builder_helper_process_text(builder_helper, env);
- if (status == AXIS2_FAILURE)
+ status =
+ axiom_soap11_builder_helper_process_text(builder_helper, env);
+ if (status == AXIS2_FAILURE)
{
return AXIS2_FAILURE;
}
axiom_stax_builder_set_lastnode(builder_helper->om_builder,
- env, om_element_node);
+ env, om_element_node);
axiom_node_set_complete(om_element_node, env, AXIS2_TRUE);
axiom_stax_builder_set_element_level(builder_helper->om_builder,
- env, (element_level - 1));
+ env, (element_level - 1));
builder_helper->fault_code_present = AXIS2_TRUE;
}
- else if (axutil_strcmp(AXIOM_SOAP11_SOAP_FAULT_STRING_LOCAL_NAME, ele_localname) == 0)
+ else if (axutil_strcmp
+ (AXIOM_SOAP11_SOAP_FAULT_STRING_LOCAL_NAME,
+ ele_localname) == 0)
{
axiom_soap_fault_reason_t *fault_reason = NULL;
@@ -196,73 +213,87 @@
int status = AXIS2_SUCCESS;
if (builder_helper->fault_code_present)
{
- axiom_soap_builder_set_bool_processing_mandatory_fault_elements(
- builder_helper->soap_builder, env, AXIS2_FALSE);
+ axiom_soap_builder_set_bool_processing_mandatory_fault_elements
+ (builder_helper->soap_builder, env, AXIS2_FALSE);
}
- axiom_element_set_localname(om_ele, env, AXIOM_SOAP12_SOAP_FAULT_REASON_LOCAL_NAME);
+ axiom_element_set_localname(om_ele, env,
+ AXIOM_SOAP12_SOAP_FAULT_REASON_LOCAL_NAME);
fault_reason = axiom_soap_fault_reason_create(env);
if (!fault_reason)
return AXIS2_FAILURE;
- axiom_soap_fault_reason_set_base_node(fault_reason, env, om_element_node);
+ axiom_soap_fault_reason_set_base_node(fault_reason, env,
+ om_element_node);
axiom_soap_fault_set_reason(soap_fault, env, fault_reason);
- fault_text = axiom_soap_fault_text_create_with_parent(env, fault_reason);
+ fault_text =
+ axiom_soap_fault_text_create_with_parent(env, fault_reason);
if (!fault_text)
return AXIS2_FAILURE;
- fault_text_node = axiom_soap_fault_text_get_base_node(fault_text, env);
+ fault_text_node =
+ axiom_soap_fault_text_get_base_node(fault_text, env);
if (!fault_text_node)
return AXIS2_FAILURE;
- axiom_stax_builder_set_lastnode(builder_helper->om_builder, env, fault_text_node);
+ axiom_stax_builder_set_lastnode(builder_helper->om_builder, env,
+ fault_text_node);
- status = axiom_soap11_builder_helper_process_text(builder_helper, env);
+ status =
+ axiom_soap11_builder_helper_process_text(builder_helper, env);
if (status == AXIS2_FAILURE)
return AXIS2_FAILURE;
- axiom_stax_builder_set_lastnode(builder_helper->om_builder, env, om_element_node);
+ axiom_stax_builder_set_lastnode(builder_helper->om_builder, env,
+ om_element_node);
axiom_node_set_complete(om_element_node, env, AXIS2_TRUE);
axiom_stax_builder_set_element_level(builder_helper->om_builder,
- env , (element_level - 1));
+ env, (element_level - 1));
builder_helper->fault_string_present = AXIS2_TRUE;
}
- else if (axutil_strcmp(AXIOM_SOAP11_SOAP_FAULT_ACTOR_LOCAL_NAME, ele_localname) == 0)
+ else if (axutil_strcmp
+ (AXIOM_SOAP11_SOAP_FAULT_ACTOR_LOCAL_NAME, ele_localname) == 0)
{
axiom_soap_fault_role_t *fault_role = NULL;
fault_role = axiom_soap_fault_role_create(env);
if (!fault_role)
return AXIS2_FAILURE;
- axiom_element_set_localname(om_ele, env, AXIOM_SOAP12_SOAP_FAULT_ROLE_LOCAL_NAME);
+ axiom_element_set_localname(om_ele, env,
+ AXIOM_SOAP12_SOAP_FAULT_ROLE_LOCAL_NAME);
- axiom_soap_fault_role_set_base_node(fault_role, env, om_element_node);
+ axiom_soap_fault_role_set_base_node(fault_role, env,
+ om_element_node);
axiom_soap_fault_set_role(soap_fault, env, fault_role);
/*
- Role element may not have a namespace associated, hence commented, else it segfaults here - Samisa
- status = axiom_soap_builder_process_namespace_data(
- builder_helper->soap_builder, env, om_element_node, AXIS2_TRUE);
- if(status == AXIS2_FAILURE)
- return AXIS2_FAILURE;*/
+ Role element may not have a namespace associated, hence commented, else it segfaults here - Samisa
+ status = axiom_soap_builder_process_namespace_data(
+ builder_helper->soap_builder, env, om_element_node, AXIS2_TRUE);
+ if(status == AXIS2_FAILURE)
+ return AXIS2_FAILURE; */
}
- else if (axutil_strcmp(AXIOM_SOAP11_SOAP_FAULT_DETAIL_LOCAL_NAME, ele_localname) == 0)
+ else if (axutil_strcmp
+ (AXIOM_SOAP11_SOAP_FAULT_DETAIL_LOCAL_NAME,
+ ele_localname) == 0)
{
axiom_soap_fault_detail_t *fault_detail = NULL;
fault_detail = axiom_soap_fault_detail_create(env);
if (!fault_detail)
return AXIS2_FAILURE;
- axiom_element_set_localname(om_ele, env, AXIOM_SOAP12_SOAP_FAULT_DETAIL_LOCAL_NAME);
+ axiom_element_set_localname(om_ele, env,
+ AXIOM_SOAP12_SOAP_FAULT_DETAIL_LOCAL_NAME);
- axiom_soap_fault_detail_set_base_node(fault_detail, env, om_element_node);
+ axiom_soap_fault_detail_set_base_node(fault_detail, env,
+ om_element_node);
axiom_soap_fault_set_detail(soap_fault, env, fault_detail);
}
@@ -280,16 +311,19 @@
parent_node = axiom_node_get_parent(om_element_node, env);
if (!parent_node)
return AXIS2_FAILURE;
- parent_element = (axiom_element_t *)axiom_node_get_data_element(
- om_element_node, env);
+ parent_element =
+ (axiom_element_t *) axiom_node_get_data_element(om_element_node,
+ env);
parent_localname = axiom_element_get_localname(parent_element, env);
if (!parent_localname)
return AXIS2_FAILURE;
- if (axutil_strcmp(parent_localname, AXIOM_SOAP12_SOAP_FAULT_ROLE_LOCAL_NAME) == 0)
+ if (axutil_strcmp
+ (parent_localname, AXIOM_SOAP12_SOAP_FAULT_ROLE_LOCAL_NAME) == 0)
{
AXIS2_ERROR_SET(env->error,
- AXIS2_ERROR_SOAP11_FAULT_ACTOR_SHOULD_NOT_HAVE_CHILD_ELEMENTS, AXIS2_FAILURE);
+ AXIS2_ERROR_SOAP11_FAULT_ACTOR_SHOULD_NOT_HAVE_CHILD_ELEMENTS,
+ AXIS2_FAILURE);
return AXIS2_FAILURE;
}
}
@@ -297,8 +331,9 @@
}
static axis2_status_t
-axiom_soap11_builder_helper_process_text(axiom_soap11_builder_helper_t *builder_helper,
- const axutil_env_t *env)
+axiom_soap11_builder_helper_process_text(
+ axiom_soap11_builder_helper_t * builder_helper,
+ const axutil_env_t * env)
{
int token = 0;
@@ -312,11 +347,13 @@
if (token != AXIOM_XML_READER_CHARACTER)
{
AXIS2_ERROR_SET(env->error,
- AXIS2_ERROR_ONLY_CHARACTERS_ARE_ALLOWED_HERE, AXIS2_FAILURE);
+ AXIS2_ERROR_ONLY_CHARACTERS_ARE_ALLOWED_HERE,
+ AXIS2_FAILURE);
return AXIS2_FAILURE;
}
- token = axiom_stax_builder_next_with_token(builder_helper->om_builder, env);
+ token =
+ axiom_stax_builder_next_with_token(builder_helper->om_builder, env);
if (token == -1)
return AXIS2_FAILURE;
}
Modified: webservices/axis2/trunk/c/axiom/src/soap/soap12_builder_helper.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/src/soap/soap12_builder_helper.c?rev=580284&r1=580283&r2=580284&view=diff
==============================================================================
--- webservices/axis2/trunk/c/axiom/src/soap/soap12_builder_helper.c (original)
+++ webservices/axis2/trunk/c/axiom/src/soap/soap12_builder_helper.c Fri Sep 28 03:22:20 2007
@@ -1,3 +1,4 @@
+
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
@@ -60,16 +61,19 @@
axutil_array_list_t *detail_element_names;
};
-AXIS2_EXTERN axiom_soap12_builder_helper_t* AXIS2_CALL
-axiom_soap12_builder_helper_create(const axutil_env_t *env,
- axiom_soap_builder_t *soap_builder)
+AXIS2_EXTERN axiom_soap12_builder_helper_t *AXIS2_CALL
+axiom_soap12_builder_helper_create(
+ const axutil_env_t * env,
+ axiom_soap_builder_t * soap_builder)
{
axiom_soap12_builder_helper_t *builder_helper = NULL;
AXIS2_ENV_CHECK(env, NULL);
AXIS2_PARAM_CHECK(env->error, soap_builder, NULL);
- builder_helper = (axiom_soap12_builder_helper_t*)AXIS2_MALLOC(
- env->allocator, sizeof(axiom_soap12_builder_helper_t));
+ builder_helper =
+ (axiom_soap12_builder_helper_t *) AXIS2_MALLOC(env->allocator,
+ sizeof
+ (axiom_soap12_builder_helper_t));
if (!builder_helper)
{
AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
@@ -95,8 +99,9 @@
}
AXIS2_EXTERN void AXIS2_CALL
-axiom_soap12_builder_helper_free(axiom_soap12_builder_helper_t *builder_helper,
- const axutil_env_t *env)
+axiom_soap12_builder_helper_free(
+ axiom_soap12_builder_helper_t * builder_helper,
+ const axutil_env_t * env)
{
AXIS2_ENV_CHECK(env, void);
@@ -112,12 +117,13 @@
}
AXIS2_EXTERN axis2_status_t AXIS2_CALL
-axiom_soap12_builder_helper_handle_event(axiom_soap12_builder_helper_t *builder_helper,
- const axutil_env_t *env,
- axiom_node_t *om_ele_node,
- int element_level)
+axiom_soap12_builder_helper_handle_event(
+ axiom_soap12_builder_helper_t * builder_helper,
+ const axutil_env_t * env,
+ axiom_node_t * om_ele_node,
+ int element_level)
{
- axis2_char_t* ele_localname = NULL;
+ axis2_char_t *ele_localname = NULL;
axiom_element_t *om_ele = NULL;
axiom_soap_body_t *soap_body = NULL;
@@ -127,7 +133,7 @@
AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
AXIS2_PARAM_CHECK(env->error, om_ele_node, AXIS2_FAILURE);
- om_ele = (axiom_element_t *)axiom_node_get_data_element(om_ele_node, env);
+ om_ele = (axiom_element_t *) axiom_node_get_data_element(om_ele_node, env);
if (!om_ele)
return AXIS2_FAILURE;
@@ -135,7 +141,8 @@
if (!ele_localname)
return AXIS2_FAILURE;
- soap_envelope = axiom_soap_builder_get_soap_envelope(builder_helper->soap_builder, env);
+ soap_envelope =
+ axiom_soap_builder_get_soap_envelope(builder_helper->soap_builder, env);
if (!soap_envelope)
return AXIS2_FAILURE;
@@ -149,26 +156,29 @@
if (element_level == 4)
{
- if (axutil_strcmp(AXIOM_SOAP12_SOAP_FAULT_CODE_LOCAL_NAME, ele_localname) == 0)
+ if (axutil_strcmp
+ (AXIOM_SOAP12_SOAP_FAULT_CODE_LOCAL_NAME, ele_localname) == 0)
{
if (builder_helper->code_present)
{
- AXIS2_ERROR_SET(env->error, AXIS2_ERROR_MULTIPLE_CODE_ELEMENTS_ENCOUNTERED, AXIS2_FAILURE);
+ AXIS2_ERROR_SET(env->error,
+ AXIS2_ERROR_MULTIPLE_CODE_ELEMENTS_ENCOUNTERED,
+ AXIS2_FAILURE);
return AXIS2_FAILURE;
}
else
{
- axiom_soap_fault_code_t* soap_fault_code = NULL;
+ axiom_soap_fault_code_t *soap_fault_code = NULL;
soap_fault_code = axiom_soap_fault_code_create(env);
if (!soap_fault_code)
return AXIS2_FAILURE;
- axiom_soap_fault_code_set_base_node(soap_fault_code , env, om_ele_node);
-
+ axiom_soap_fault_code_set_base_node(soap_fault_code, env,
+ om_ele_node);
axiom_soap_fault_code_set_builder(soap_fault_code, env,
- builder_helper->soap_builder);
+ builder_helper->soap_builder);
axiom_soap_fault_set_code(soap_fault, env, soap_fault_code);
@@ -176,16 +186,20 @@
builder_helper->code_processing = AXIS2_TRUE;
}
}
- else if (axutil_strcmp(AXIOM_SOAP12_SOAP_FAULT_REASON_LOCAL_NAME, ele_localname) == 0)
+ else if (axutil_strcmp
+ (AXIOM_SOAP12_SOAP_FAULT_REASON_LOCAL_NAME,
+ ele_localname) == 0)
{
- if (!(builder_helper->code_processing) && !(builder_helper->sub_code_processing))
+ if (!(builder_helper->code_processing) &&
+ !(builder_helper->sub_code_processing))
{
if (builder_helper->code_present)
{
if (builder_helper->reason_present)
{
AXIS2_ERROR_SET(env->error,
- AXIS2_ERROR_MULTIPLE_REASON_ELEMENTS_ENCOUNTERED, AXIS2_FAILURE);
+ AXIS2_ERROR_MULTIPLE_REASON_ELEMENTS_ENCOUNTERED,
+ AXIS2_FAILURE);
return AXIS2_FAILURE;
}
@@ -196,12 +210,15 @@
if (!fault_reason)
return AXIS2_FAILURE;
- axiom_soap_fault_reason_set_base_node(fault_reason, env, om_ele_node);
+ axiom_soap_fault_reason_set_base_node(fault_reason, env,
+ om_ele_node);
- axiom_soap_fault_set_reason(soap_fault, env, fault_reason);
+ axiom_soap_fault_set_reason(soap_fault, env,
+ fault_reason);
- axiom_soap_fault_reason_set_builder(fault_reason , env,
- builder_helper->soap_builder);
+ axiom_soap_fault_reason_set_builder(fault_reason, env,
+ builder_helper->
+ soap_builder);
builder_helper->reason_present = AXIS2_TRUE;
builder_helper->reason_processing = AXIS2_TRUE;
@@ -210,7 +227,8 @@
else
{
AXIS2_ERROR_SET(env->error,
- AXIS2_ERROR_WRONG_ELEMENT_ORDER_ENCOUNTERED, AXIS2_FAILURE);
+ AXIS2_ERROR_WRONG_ELEMENT_ORDER_ENCOUNTERED,
+ AXIS2_FAILURE);
return AXIS2_FAILURE;
}
}
@@ -219,29 +237,33 @@
if (builder_helper->code_processing)
{
AXIS2_ERROR_SET(env->error,
- AXIS2_ERROR_SOAP_FAULT_CODE_DOES_NOT_HAVE_A_VALUE, AXIS2_FAILURE);
+ AXIS2_ERROR_SOAP_FAULT_CODE_DOES_NOT_HAVE_A_VALUE,
+ AXIS2_FAILURE);
return AXIS2_FAILURE;
}
else
{
AXIS2_ERROR_SET(env->error,
- AXIS2_ERROR_SOAP_FAULT_CODE_DOES_NOT_HAVE_A_VALUE, AXIS2_FAILURE);
+ AXIS2_ERROR_SOAP_FAULT_CODE_DOES_NOT_HAVE_A_VALUE,
+ AXIS2_FAILURE);
return AXIS2_FAILURE;
}
}
}
- else if (axutil_strcmp(ele_localname, AXIOM_SOAP12_SOAP_FAULT_NODE_LOCAL_NAME) == 0)
+ else if (axutil_strcmp
+ (ele_localname, AXIOM_SOAP12_SOAP_FAULT_NODE_LOCAL_NAME) == 0)
{
if (!(builder_helper->reason_processing))
{
if (builder_helper->reason_present &&
- !(builder_helper->role_present) &&
- !(builder_helper->detail_present))
+ !(builder_helper->role_present) &&
+ !(builder_helper->detail_present))
{
if (builder_helper->node_present)
{
AXIS2_ERROR_SET(env->error,
- AXIS2_ERROR_MULTIPLE_NODE_ELEMENTS_ENCOUNTERED, AXIS2_FAILURE);
+ AXIS2_ERROR_MULTIPLE_NODE_ELEMENTS_ENCOUNTERED,
+ AXIS2_FAILURE);
return AXIS2_FAILURE;
}
else
@@ -251,9 +273,11 @@
if (!soap_fault_node)
return AXIS2_FAILURE;
- axiom_soap_fault_node_set_base_node(soap_fault_node, env, om_ele_node);
+ axiom_soap_fault_node_set_base_node(soap_fault_node,
+ env, om_ele_node);
- axiom_soap_fault_set_node(soap_fault, env, soap_fault_node);
+ axiom_soap_fault_set_node(soap_fault, env,
+ soap_fault_node);
builder_helper->node_present = AXIS2_TRUE;
}
@@ -261,8 +285,8 @@
else
{
AXIS2_ERROR_SET(env->error,
- AXIS2_ERROR_WRONG_ELEMENT_ORDER_ENCOUNTERED, AXIS2_FALSE);
-
+ AXIS2_ERROR_WRONG_ELEMENT_ORDER_ENCOUNTERED,
+ AXIS2_FALSE);
return AXIS2_FAILURE;
}
@@ -270,21 +294,25 @@
else
{
AXIS2_ERROR_SET(env->error,
- AXIS2_ERROR_SOAP_FAULT_REASON_ELEMENT_SHOULD_HAVE_A_TEXT, AXIS2_FALSE);
+ AXIS2_ERROR_SOAP_FAULT_REASON_ELEMENT_SHOULD_HAVE_A_TEXT,
+ AXIS2_FALSE);
return AXIS2_FAILURE;
}
}
- else if (axutil_strcmp(ele_localname, AXIOM_SOAP12_SOAP_FAULT_ROLE_LOCAL_NAME) == 0)
+ else if (axutil_strcmp
+ (ele_localname, AXIOM_SOAP12_SOAP_FAULT_ROLE_LOCAL_NAME) == 0)
{
if (!(builder_helper->reason_processing))
{
- if (builder_helper->reason_present && !(builder_helper->detail_present))
+ if (builder_helper->reason_present &&
+ !(builder_helper->detail_present))
{
if (builder_helper->role_present)
{
AXIS2_ERROR_SET(env->error,
- AXIS2_ERROR_MULTIPLE_ROLE_ELEMENTS_ENCOUNTERED, AXIS2_FAILURE);
+ AXIS2_ERROR_MULTIPLE_ROLE_ELEMENTS_ENCOUNTERED,
+ AXIS2_FAILURE);
return AXIS2_FAILURE;
}
@@ -295,27 +323,34 @@
if (!soap_fault_role)
return AXIS2_FAILURE;
- axiom_soap_fault_role_set_base_node(soap_fault_role, env, om_ele_node);
+ axiom_soap_fault_role_set_base_node(soap_fault_role,
+ env, om_ele_node);
- axiom_soap_fault_set_role(soap_fault, env, soap_fault_role);
+ axiom_soap_fault_set_role(soap_fault, env,
+ soap_fault_role);
builder_helper->role_present = AXIS2_TRUE;
}
}
else
{
AXIS2_ERROR_SET(env->error,
- AXIS2_ERROR_WRONG_ELEMENT_ORDER_ENCOUNTERED, AXIS2_FAILURE);
+ AXIS2_ERROR_WRONG_ELEMENT_ORDER_ENCOUNTERED,
+ AXIS2_FAILURE);
return AXIS2_FAILURE;
}
}
else
{
- AXIS2_ERROR_SET(env->error, AXIS2_ERROR_SOAP_FAULT_ROLE_ELEMENT_SHOULD_HAVE_A_TEXT, AXIS2_FAILURE);
+ AXIS2_ERROR_SET(env->error,
+ AXIS2_ERROR_SOAP_FAULT_ROLE_ELEMENT_SHOULD_HAVE_A_TEXT,
+ AXIS2_FAILURE);
return AXIS2_FAILURE;
}
}
- else if (axutil_strcmp(ele_localname, AXIOM_SOAP12_SOAP_FAULT_DETAIL_LOCAL_NAME) == 0)
+ else if (axutil_strcmp
+ (ele_localname,
+ AXIOM_SOAP12_SOAP_FAULT_DETAIL_LOCAL_NAME) == 0)
{
if (!(builder_helper->reason_processing))
{
@@ -324,7 +359,8 @@
if (builder_helper->detail_present)
{
AXIS2_ERROR_SET(env->error,
- AXIS2_ERROR_MULTIPLE_DETAIL_ELEMENTS_ENCOUNTERED, AXIS2_FAILURE);
+ AXIS2_ERROR_MULTIPLE_DETAIL_ELEMENTS_ENCOUNTERED,
+ AXIS2_FAILURE);
return AXIS2_FAILURE;
}
else
@@ -335,15 +371,19 @@
if (!soap_fault_detail)
return AXIS2_FAILURE;
- axiom_soap_fault_detail_set_base_node(soap_fault_detail, env, om_ele_node);
+ axiom_soap_fault_detail_set_base_node(soap_fault_detail,
+ env, om_ele_node);
- axiom_soap_fault_set_detail(soap_fault, env, soap_fault_detail);
+ axiom_soap_fault_set_detail(soap_fault, env,
+ soap_fault_detail);
builder_helper->detail_present = AXIS2_TRUE;
}
}
else
{
- AXIS2_ERROR_SET(env->error, AXIS2_ERROR_WRONG_ELEMENT_ORDER_ENCOUNTERED, AXIS2_FAILURE);
+ AXIS2_ERROR_SET(env->error,
+ AXIS2_ERROR_WRONG_ELEMENT_ORDER_ENCOUNTERED,
+ AXIS2_FAILURE);
return AXIS2_FAILURE;
@@ -352,7 +392,8 @@
else
{
AXIS2_ERROR_SET(env->error,
- AXIS2_ERROR_SOAP_FAULT_REASON_ELEMENT_SHOULD_HAVE_A_TEXT, AXIS2_FAILURE);
+ AXIS2_ERROR_SOAP_FAULT_REASON_ELEMENT_SHOULD_HAVE_A_TEXT,
+ AXIS2_FAILURE);
return AXIS2_FAILURE;
}
@@ -360,7 +401,8 @@
else
{
AXIS2_ERROR_SET(env->error,
- AXIS2_ERROR_UNSUPPORTED_ELEMENT_IN_SOAP_FAULT_ELEMENT, AXIS2_FAILURE);
+ AXIS2_ERROR_UNSUPPORTED_ELEMENT_IN_SOAP_FAULT_ELEMENT,
+ AXIS2_FAILURE);
return AXIS2_FAILURE;
}
}
@@ -373,7 +415,8 @@
if (!parent_node)
return AXIS2_FAILURE;
- parent_ele = (axiom_element_t *)axiom_node_get_data_element(parent_node, env);
+ parent_ele =
+ (axiom_element_t *) axiom_node_get_data_element(parent_node, env);
if (!parent_ele)
return AXIS2_FAILURE;
@@ -382,9 +425,10 @@
return AXIS2_FAILURE;
if (axutil_strcmp(parent_localname,
- AXIOM_SOAP12_SOAP_FAULT_CODE_LOCAL_NAME) == 0)
+ AXIOM_SOAP12_SOAP_FAULT_CODE_LOCAL_NAME) == 0)
{
- if (axutil_strcmp(ele_localname, AXIOM_SOAP12_SOAP_FAULT_VALUE_LOCAL_NAME) == 0)
+ if (axutil_strcmp
+ (ele_localname, AXIOM_SOAP12_SOAP_FAULT_VALUE_LOCAL_NAME) == 0)
{
if (!(builder_helper->value_present))
{
@@ -395,13 +439,15 @@
if (!soap_fault_value)
return AXIS2_FAILURE;
- axiom_soap_fault_value_set_base_node(soap_fault_value, env, om_ele_node);
+ axiom_soap_fault_value_set_base_node(soap_fault_value, env,
+ om_ele_node);
parent_fcode = axiom_soap_fault_get_code(soap_fault, env);
if (!parent_fcode)
return AXIS2_FAILURE;
- axiom_soap_fault_code_set_value(parent_fcode, env, soap_fault_value);
+ axiom_soap_fault_code_set_value(parent_fcode, env,
+ soap_fault_value);
builder_helper->value_present = AXIS2_TRUE;
builder_helper->code_processing = AXIS2_FALSE;
@@ -410,12 +456,14 @@
else
{
AXIS2_ERROR_SET(env->error,
- AXIS2_ERROR_MULTIPLE_VALUE_ENCOUNTERED_IN_CODE_ELEMENT, AXIS2_FAILURE);
+ AXIS2_ERROR_MULTIPLE_VALUE_ENCOUNTERED_IN_CODE_ELEMENT,
+ AXIS2_FAILURE);
return AXIS2_FAILURE;
}
}
else if (axutil_strcmp(ele_localname,
- AXIOM_SOAP12_SOAP_FAULT_SUB_CODE_LOCAL_NAME) == 0)
+ AXIOM_SOAP12_SOAP_FAULT_SUB_CODE_LOCAL_NAME)
+ == 0)
{
if (!(builder_helper->sub_code_present))
{
@@ -429,17 +477,21 @@
if (!fault_subcode)
return AXIS2_FAILURE;
- axiom_soap_fault_sub_code_set_base_node(fault_subcode, env, om_ele_node);
-
+ axiom_soap_fault_sub_code_set_base_node(fault_subcode,
+ env,
+ om_ele_node);
fault_code = axiom_soap_fault_get_code(soap_fault, env);
if (!fault_code)
return AXIS2_FAILURE;
- axiom_soap_fault_code_set_sub_code(fault_code, env, fault_subcode);
+ axiom_soap_fault_code_set_sub_code(fault_code, env,
+ fault_subcode);
- axiom_soap_fault_sub_code_set_builder(fault_subcode, env,
- builder_helper->soap_builder);
+ axiom_soap_fault_sub_code_set_builder(fault_subcode,
+ env,
+ builder_helper->
+ soap_builder);
builder_helper->sub_code_present = AXIS2_TRUE;
builder_helper->sub_code_processing = AXIS2_TRUE;
@@ -447,26 +499,33 @@
else
{
AXIS2_ERROR_SET(env->error,
- AXIS2_ERROR_SOAP_FAULT_VALUE_SHOULD_BE_PRESENT_BEFORE_SUB_CODE, AXIS2_FAILURE);
+ AXIS2_ERROR_SOAP_FAULT_VALUE_SHOULD_BE_PRESENT_BEFORE_SUB_CODE,
+ AXIS2_FAILURE);
return AXIS2_FAILURE;
}
}
else
{
- AXIS2_ERROR_SET(env->error, AXIS2_ERROR_MULTIPLE_SUB_CODE_VALUES_ENCOUNTERED, AXIS2_FAILURE);
+ AXIS2_ERROR_SET(env->error,
+ AXIS2_ERROR_MULTIPLE_SUB_CODE_VALUES_ENCOUNTERED,
+ AXIS2_FAILURE);
return AXIS2_FAILURE;
}
}
else
{
AXIS2_ERROR_SET(env->error,
- AXIS2_ERROR_THIS_LOCALNAME_NOT_SUPPORTED_INSIDE_THE_CODE_ELEMENT, AXIS2_FAILURE);
+ AXIS2_ERROR_THIS_LOCALNAME_NOT_SUPPORTED_INSIDE_THE_CODE_ELEMENT,
+ AXIS2_FAILURE);
return AXIS2_FAILURE;
}
}
- else if (axutil_strcmp(parent_localname, AXIOM_SOAP12_SOAP_FAULT_REASON_LOCAL_NAME) == 0)
+ else if (axutil_strcmp
+ (parent_localname,
+ AXIOM_SOAP12_SOAP_FAULT_REASON_LOCAL_NAME) == 0)
{
- if (axutil_strcmp(ele_localname, AXIOM_SOAP12_SOAP_FAULT_TEXT_LOCAL_NAME) == 0)
+ if (axutil_strcmp
+ (ele_localname, AXIOM_SOAP12_SOAP_FAULT_TEXT_LOCAL_NAME) == 0)
{
axiom_soap_fault_text_t *soap_fault_text = NULL;
axiom_soap_fault_reason_t *fault_reason = NULL;
@@ -475,35 +534,46 @@
if (!soap_fault_text)
return AXIS2_FAILURE;
- axiom_soap_fault_text_set_base_node(soap_fault_text, env, om_ele_node);
+ axiom_soap_fault_text_set_base_node(soap_fault_text, env,
+ om_ele_node);
fault_reason = axiom_soap_fault_get_reason(soap_fault, env);
if (!fault_reason)
return AXIS2_FAILURE;
- axiom_soap_fault_reason_add_soap_fault_text(fault_reason, env, soap_fault_text);
+ axiom_soap_fault_reason_add_soap_fault_text(fault_reason, env,
+ soap_fault_text);
builder_helper->reason_processing = AXIS2_FALSE;
- axiom_soap_builder_set_bool_processing_mandatory_fault_elements(builder_helper->soap_builder, env, AXIS2_FALSE);
+ axiom_soap_builder_set_bool_processing_mandatory_fault_elements
+ (builder_helper->soap_builder, env, AXIS2_FALSE);
}
else
{
- AXIS2_ERROR_SET(env->error, AXIS2_ERROR_THIS_LOCALNAME_IS_NOT_SUPPORTED_INSIDE_THE_REASON_ELEMENT, AXIS2_FAILURE);
+ AXIS2_ERROR_SET(env->error,
+ AXIS2_ERROR_THIS_LOCALNAME_IS_NOT_SUPPORTED_INSIDE_THE_REASON_ELEMENT,
+ AXIS2_FAILURE);
return AXIS2_FAILURE;
}
}
- else if (axutil_strcmp(parent_localname, AXIOM_SOAP12_SOAP_FAULT_DETAIL_LOCAL_NAME) == 0)
- {
- axiom_soap_builder_set_processing_detail_elements(builder_helper->soap_builder, env, AXIS2_TRUE);
+ else if (axutil_strcmp
+ (parent_localname,
+ AXIOM_SOAP12_SOAP_FAULT_DETAIL_LOCAL_NAME) == 0)
+ {
+ axiom_soap_builder_set_processing_detail_elements(builder_helper->
+ soap_builder, env,
+ AXIS2_TRUE);
if (!(builder_helper->detail_element_names))
{
- builder_helper->detail_element_names = axutil_array_list_create(env, 20);
+ builder_helper->detail_element_names =
+ axutil_array_list_create(env, 20);
}
- axutil_array_list_add(builder_helper->detail_element_names, env, ele_localname);
+ axutil_array_list_add(builder_helper->detail_element_names, env,
+ ele_localname);
}
else
@@ -523,7 +593,8 @@
if (!parent_node)
return AXIS2_FAILURE;
- parent_ele = (axiom_element_t *)axiom_node_get_data_element(parent_node, env);
+ parent_ele =
+ (axiom_element_t *) axiom_node_get_data_element(parent_node, env);
if (!parent_ele)
return AXIS2_FAILURE;
@@ -531,15 +602,18 @@
if (!parent_localname)
return AXIS2_FAILURE;
-
-
- if (axutil_strcmp(parent_localname, AXIOM_SOAP12_SOAP_FAULT_SUB_CODE_LOCAL_NAME) == 0)
+ if (axutil_strcmp
+ (parent_localname,
+ AXIOM_SOAP12_SOAP_FAULT_SUB_CODE_LOCAL_NAME) == 0)
{
- if (axutil_strcmp(ele_localname, AXIOM_SOAP12_SOAP_FAULT_VALUE_LOCAL_NAME) == 0)
+ if (axutil_strcmp
+ (ele_localname, AXIOM_SOAP12_SOAP_FAULT_VALUE_LOCAL_NAME) == 0)
{
if (builder_helper->subcode_value_present)
{
- AXIS2_ERROR_SET(env->error, AXIS2_ERROR_MULTIPLE_SUB_CODE_VALUES_ENCOUNTERED, AXIS2_FAILURE);
+ AXIS2_ERROR_SET(env->error,
+ AXIS2_ERROR_MULTIPLE_SUB_CODE_VALUES_ENCOUNTERED,
+ AXIS2_FAILURE);
return AXIS2_FAILURE;
}
else
@@ -552,21 +626,24 @@
if (!code)
{
- AXIS2_LOG_DEBUG(env->log , AXIS2_LOG_SI, "fault code null when it should not be null");
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ "fault code null when it should not be null");
return AXIS2_FAILURE;
}
sub_code = axiom_soap_fault_code_get_sub_code(code, env);
if (!sub_code)
{
- AXIS2_LOG_DEBUG(env->log , AXIS2_LOG_SI, "fault subcode null when it should not be null");
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ "fault subcode null when it should not be null");
return AXIS2_FAILURE;
}
value = axiom_soap_fault_value_create(env);
if (!value)
return AXIS2_FAILURE;
- axiom_soap_fault_value_set_base_node(value, env, om_ele_node);
+ axiom_soap_fault_value_set_base_node(value, env,
+ om_ele_node);
axiom_soap_fault_sub_code_set_value(sub_code, env, value);
@@ -575,7 +652,9 @@
builder_helper->sub_code_processing = AXIS2_FALSE;
}
}
- else if (axutil_strcmp(ele_localname, AXIOM_SOAP12_SOAP_FAULT_SUB_CODE_LOCAL_NAME) == 0)
+ else if (axutil_strcmp
+ (ele_localname,
+ AXIOM_SOAP12_SOAP_FAULT_SUB_CODE_LOCAL_NAME) == 0)
{
if (builder_helper->subcode_value_present)
{
@@ -589,22 +668,27 @@
if (!subcode)
return AXIS2_FAILURE;
- axiom_soap_fault_sub_code_set_base_node(subcode, env, om_ele_node);
+ axiom_soap_fault_sub_code_set_base_node(subcode, env,
+ om_ele_node);
fault_code = axiom_soap_fault_get_code(soap_fault, env);
if (!fault_code)
{
- AXIS2_LOG_DEBUG(env->log , AXIS2_LOG_SI, "fault code null when it should not be null");
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ "fault code null when it should not be null");
return AXIS2_FAILURE;
}
- parent_subcode = axiom_soap_fault_code_get_sub_code(fault_code, env);
+ parent_subcode =
+ axiom_soap_fault_code_get_sub_code(fault_code, env);
if (!parent_subcode)
{
- AXIS2_LOG_DEBUG(env->log , AXIS2_LOG_SI, "fault subcode null when it should not be null");
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ "fault subcode null when it should not be null");
return AXIS2_FAILURE;
}
- axiom_soap_fault_sub_code_set_sub_code(parent_subcode, env, subcode);
+ axiom_soap_fault_sub_code_set_sub_code(parent_subcode,
+ env, subcode);
builder_helper->subcode_value_present = AXIS2_FALSE;
builder_helper->sub_sub_code_present = AXIS2_TRUE;
@@ -612,14 +696,18 @@
}
else
{
- AXIS2_ERROR_SET(env->error, AXIS2_ERROR_MULTIPLE_SUB_CODE_VALUES_ENCOUNTERED, AXIS2_FAILURE);
+ AXIS2_ERROR_SET(env->error,
+ AXIS2_ERROR_MULTIPLE_SUB_CODE_VALUES_ENCOUNTERED,
+ AXIS2_FAILURE);
return AXIS2_FAILURE;
}
}
else
{
- AXIS2_ERROR_SET(env->error, AXIS2_ERROR_SOAP_FAULT_VALUE_SHOULD_BE_PRESENT_BEFORE_SUB_CODE, AXIS2_FAILURE);
+ AXIS2_ERROR_SET(env->error,
+ AXIS2_ERROR_SOAP_FAULT_VALUE_SHOULD_BE_PRESENT_BEFORE_SUB_CODE,
+ AXIS2_FAILURE);
return AXIS2_FAILURE;
@@ -627,12 +715,15 @@
}
else
{
- AXIS2_ERROR_SET(env->error, AXIS2_ERROR_THIS_LOCALNAME_IS_NOT_SUPPORTED_INSIDE_THE_SUB_CODE_ELEMENT, AXIS2_FAILURE);
+ AXIS2_ERROR_SET(env->error,
+ AXIS2_ERROR_THIS_LOCALNAME_IS_NOT_SUPPORTED_INSIDE_THE_SUB_CODE_ELEMENT,
+ AXIS2_FAILURE);
return AXIS2_FAILURE;
}
}
- else if (axiom_soap_builder_is_processing_detail_elements(builder_helper->soap_builder, env))
+ else if (axiom_soap_builder_is_processing_detail_elements
+ (builder_helper->soap_builder, env))
{
int detail_element_level = 0;
@@ -641,9 +732,15 @@
if (!(builder_helper->detail_element_names))
return AXIS2_FAILURE;
- for (i = 0; i < axutil_array_list_size(builder_helper->detail_element_names, env) ; i++)
- {
- if (axutil_strcmp(parent_localname, axutil_array_list_get(builder_helper->detail_element_names, env, i)) == 0)
+ for (i = 0;
+ i <
+ axutil_array_list_size(builder_helper->detail_element_names,
+ env); i++)
+ {
+ if (axutil_strcmp
+ (parent_localname,
+ axutil_array_list_get(builder_helper->detail_element_names,
+ env, i)) == 0)
{
local_name_exists = AXIS2_TRUE;
detail_element_level = i + 1;
@@ -651,7 +748,8 @@
}
if (local_name_exists)
{
- axutil_array_list_add(builder_helper->detail_element_names, env, ele_localname);
+ axutil_array_list_add(builder_helper->detail_element_names, env,
+ ele_localname);
}
else
{
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org