You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by sa...@apache.org on 2006/06/04 05:09:41 UTC
svn commit: r411506 [7/27] - in /webservices/axis2/trunk/c: axiom/include/
axiom/src/attachments/ axiom/src/om/ axiom/src/parser/guththila/
axiom/src/parser/libxml2/ axiom/src/soap/ axiom/test/om/ axiom/test/soap/
guththila/src/ include/ modules/core/c...
Modified: webservices/axis2/trunk/c/include/axis2_wsdl_ext_soap_op.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_wsdl_ext_soap_op.h?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_wsdl_ext_soap_op.h (original)
+++ webservices/axis2/trunk/c/include/axis2_wsdl_ext_soap_op.h Sat Jun 3 20:09:08 2006
@@ -50,12 +50,12 @@
*/
AXIS2_DECLARE_DATA struct axis2_wsdl_ext_soap_op_ops
{
- /** De-allocate memory
- * @return status code
- */
- axis2_status_t (AXIS2_CALL *
+ /** De-allocate memory
+ * @return status code
+ */
+ axis2_status_t (AXIS2_CALL *
free)(axis2_wsdl_ext_soap_op_t *ext_soap_op,
- const axis2_env_t *env);
+ const axis2_env_t *env);
axis2_char_t *(AXIS2_CALL *
get_soap_action) (axis2_wsdl_ext_soap_op_t *ext_soap_op,
@@ -79,12 +79,12 @@
/**
* @brief Wsdl container struct
- * Property for params
+ * Property for params
*/
AXIS2_DECLARE_DATA struct axis2_wsdl_ext_soap_op
{
axis2_wsdl_ext_t base;
- axis2_wsdl_ext_soap_op_ops_t *ops;
+ axis2_wsdl_ext_soap_op_ops_t *ops;
struct axis2_wsdl_extensible_element *ext_element;
};
@@ -99,19 +99,19 @@
/*************************** Function macros **********************************/
#define AXIS2_WSDL_EXT_SOAP_OP_FREE(ext_soap_op, env) \
- ((ext_soap_op)->ops->free (ext_soap_op, env))
+ ((ext_soap_op)->ops->free (ext_soap_op, env))
#define AXIS2_WSDL_EXT_SOAP_OP_GET_SOAP_ACTION(ext_soap_op, env) \
- ((ext_soap_op)->ops->get_soap_action (ext_soap_op, env))
+ ((ext_soap_op)->ops->get_soap_action (ext_soap_op, env))
#define AXIS2_WSDL_EXT_SOAP_OP_SET_SOAP_ACTION(ext_soap_op, env, soap_action) \
- ((ext_soap_op)->ops->set_soap_action (ext_soap_op, env, soap_action))
+ ((ext_soap_op)->ops->set_soap_action (ext_soap_op, env, soap_action))
#define AXIS2_WSDL_EXT_SOAP_OP_GET_STYLE(ext_soap_op, env) \
- ((ext_soap_op)->ops->get_style (ext_soap_op, env))
+ ((ext_soap_op)->ops->get_style (ext_soap_op, env))
#define AXIS2_WSDL_EXT_SOAP_OP_SET_STYLE(ext_soap_op, env, style) \
- ((ext_soap_op)->ops->set_style (ext_soap_op, env, style))
+ ((ext_soap_op)->ops->set_style (ext_soap_op, env, style))
/*************************** End of function macros ***************************/
Modified: webservices/axis2/trunk/c/include/axis2_wsdl_extensible_attribute.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_wsdl_extensible_attribute.h?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_wsdl_extensible_attribute.h (original)
+++ webservices/axis2/trunk/c/include/axis2_wsdl_extensible_attribute.h Sat Jun 3 20:09:08 2006
@@ -48,12 +48,12 @@
*/
AXIS2_DECLARE_DATA struct axis2_wsdl_extensible_attribute_ops
{
- /** De-allocate memory
- * @return status code
- */
- axis2_status_t (AXIS2_CALL *free)(
+ /** De-allocate memory
+ * @return status code
+ */
+ axis2_status_t (AXIS2_CALL *free)(
axis2_wsdl_extensible_attribute_t *wsdl_extensible_attribute,
- const axis2_env_t *env);
+ const axis2_env_t *env);
axis2_qname_t *(AXIS2_CALL *
get_key) (axis2_wsdl_extensible_attribute_t *extensible_attribute,
@@ -76,11 +76,11 @@
/**
* @brief Wsdl container struct
- * Property for params
+ * Property for params
*/
AXIS2_DECLARE_DATA struct axis2_wsdl_extensible_attribute
{
- axis2_wsdl_extensible_attribute_ops_t *ops;
+ axis2_wsdl_extensible_attribute_ops_t *ops;
};
/**
@@ -93,19 +93,19 @@
/*************************** Function macros **********************************/
#define AXIS2_WSDL_EXTENSIBLE_ATTRIBUTE_FREE(extensible_attribute, env) \
- ((extensible_attribute)->ops->free (extensible_attribute, env))
+ ((extensible_attribute)->ops->free (extensible_attribute, env))
#define AXIS2_WSDL_EXTENSIBLE_ATTRIBUTE_GET_KEY(extensible_attribute, env) \
- (extensible_attribute->ops->get_key (extensible_attribute, env))
+ (extensible_attribute->ops->get_key (extensible_attribute, env))
#define AXIS2_WSDL_EXTENSIBLE_ATTRIBUTE_SET_KEY(extensible_attribute, env, key) \
- ((extensible_attribute)->ops->set_key (extensible_attribute, env, key))
+ ((extensible_attribute)->ops->set_key (extensible_attribute, env, key))
#define AXIS2_WSDL_EXTENSIBLE_ATTRIBUTE_GET_VALUE(extensible_attribute, env) \
- (extensible_attribute->ops->get_value (extensible_attribute, env))
+ (extensible_attribute->ops->get_value (extensible_attribute, env))
#define AXIS2_WSDL_EXTENSIBLE_ATTRIBUTE_SET_VALUE(extensible_attribute, env, value) \
- ((extensible_attribute)->ops->set_value (extensible_attribute, env, value))
+ ((extensible_attribute)->ops->set_value (extensible_attribute, env, value))
/*************************** End of function macros ***************************/
Modified: webservices/axis2/trunk/c/include/axis2_wsdl_extensible_component.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_wsdl_extensible_component.h?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_wsdl_extensible_component.h (original)
+++ webservices/axis2/trunk/c/include/axis2_wsdl_extensible_component.h Sat Jun 3 20:09:08 2006
@@ -54,12 +54,12 @@
*/
AXIS2_DECLARE_DATA struct axis2_wsdl_extensible_component_ops
{
- /** De-allocate memory
- * @return status code
- */
- axis2_status_t (AXIS2_CALL *free)(
+ /** De-allocate memory
+ * @return status code
+ */
+ axis2_status_t (AXIS2_CALL *free)(
axis2_wsdl_extensible_component_t *wsdl_extensible_component,
- const axis2_env_t *env);
+ const axis2_env_t *env);
/**
* Will add a <code>WSDLFeature</code> to the feature list.
@@ -106,11 +106,11 @@
/**
* @brief Wsdl container struct
- * Property for params
+ * Property for params
*/
AXIS2_DECLARE_DATA struct axis2_wsdl_extensible_component
{
- axis2_wsdl_extensible_component_ops_t *ops;
+ axis2_wsdl_extensible_component_ops_t *ops;
struct axis2_wsdl_component *wsdl_component;
};
@@ -124,19 +124,19 @@
/*************************** Function macros **********************************/
#define AXIS2_WSDL_EXTENSIBLE_COMPONENT_FREE(extensible_component, env) \
- ((extensible_component)->ops->free (extensible_component, env))
+ ((extensible_component)->ops->free (extensible_component, env))
#define AXIS2_WSDL_EXTENSIBLE_COMPONENT_ADD_FEATURE(extensible_component, env, feature) \
- ((extensible_component)->ops->add_feature (extensible_component, env, feature))
+ ((extensible_component)->ops->add_feature (extensible_component, env, feature))
#define AXIS2_WSDL_EXTENSIBLE_COMPONENT_GET_FEATURES(extensible_component, env) \
- ((extensible_component)->ops->get_features (extensible_component, env))
+ ((extensible_component)->ops->get_features (extensible_component, env))
#define AXIS2_WSDL_EXTENSIBLE_COMPONENT_ADD_PROPERTY(extensible_component, env, property) \
- ((extensible_component)->ops->add_property (extensible_component, env, property))
+ ((extensible_component)->ops->add_property (extensible_component, env, property))
#define AXIS2_WSDL_EXTENSIBLE_COMPONENT_GET_PROPERTIES(extensible_component, env) \
- ((extensible_component)->ops->get_properties (extensible_component, env))
+ ((extensible_component)->ops->get_properties (extensible_component, env))
/*************************** End of function macros ***************************/
Modified: webservices/axis2/trunk/c/include/axis2_wsdl_extensible_element.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_wsdl_extensible_element.h?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_wsdl_extensible_element.h (original)
+++ webservices/axis2/trunk/c/include/axis2_wsdl_extensible_element.h Sat Jun 3 20:09:08 2006
@@ -48,12 +48,12 @@
*/
AXIS2_DECLARE_DATA struct axis2_wsdl_extensible_element_ops
{
- /** De-allocate memory
- * @return status code
- */
- axis2_status_t (AXIS2_CALL *free)(
+ /** De-allocate memory
+ * @return status code
+ */
+ axis2_status_t (AXIS2_CALL *free)(
axis2_wsdl_extensible_element_t *wsdl_extensible_element,
- const axis2_env_t *env);
+ const axis2_env_t *env);
axis2_bool_t (AXIS2_CALL *
is_required) (axis2_wsdl_extensible_element_t *extensible_element,
@@ -76,11 +76,11 @@
/**
* @brief Wsdl container struct
- * Property for params
+ * Property for params
*/
AXIS2_DECLARE_DATA struct axis2_wsdl_extensible_element
{
- axis2_wsdl_extensible_element_ops_t *ops;
+ axis2_wsdl_extensible_element_ops_t *ops;
};
/**
@@ -93,19 +93,19 @@
/*************************** Function macros **********************************/
#define AXIS2_WSDL_EXTENSIBLE_ELEMENT_FREE(extensible_element, env) \
- ((extensible_element)->ops->free (extensible_element, env))
+ ((extensible_element)->ops->free (extensible_element, env))
#define AXIS2_WSDL_EXTENSIBLE_ELEMENT_IS_REQUIRED(extensible_element, env) \
- ((extensible_element)->ops->is_required (extensible_element, env))
+ ((extensible_element)->ops->is_required (extensible_element, env))
#define AXIS2_WSDL_EXTENSIBLE_ELEMENT_SET_REQUIRED(extensible_element, env, required) \
- ((extensible_element)->ops->set_required (extensible_element, env, required))
+ ((extensible_element)->ops->set_required (extensible_element, env, required))
#define AXIS2_WSDL_EXTENSIBLE_ELEMENT_GET_TYPE(extensible_element, env) \
- (extensible_element->ops->get_type (extensible_element, env))
+ (extensible_element->ops->get_type (extensible_element, env))
#define AXIS2_WSDL_EXTENSIBLE_ELEMENT_SET_TYPE(extensible_element, env, type) \
- ((extensible_element)->ops->set_type (extensible_element, env, type))
+ ((extensible_element)->ops->set_type (extensible_element, env, type))
/*************************** End of function macros ***************************/
Modified: webservices/axis2/trunk/c/include/axis2_wsdl_fault_ref.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_wsdl_fault_ref.h?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_wsdl_fault_ref.h (original)
+++ webservices/axis2/trunk/c/include/axis2_wsdl_fault_ref.h Sat Jun 3 20:09:08 2006
@@ -50,12 +50,12 @@
*/
AXIS2_DECLARE_DATA struct axis2_wsdl_fault_ref_ops
{
- /** De-allocate memory
- * @return status code
- */
- axis2_status_t (AXIS2_CALL *
+ /** De-allocate memory
+ * @return status code
+ */
+ axis2_status_t (AXIS2_CALL *
free)(axis2_wsdl_fault_ref_t *wsdl_fault_ref,
- const axis2_env_t *env);
+ const axis2_env_t *env);
/**
* Returns the direction of the Fault according the MEP
@@ -120,7 +120,7 @@
*/
AXIS2_DECLARE_DATA struct axis2_wsdl_fault_ref
{
- axis2_wsdl_fault_ref_ops_t *ops;
+ axis2_wsdl_fault_ref_ops_t *ops;
struct axis2_wsdl_component *wsdl_component;
};
@@ -134,25 +134,25 @@
/*************************** Function macros **********************************/
#define AXIS2_WSDL_FAULT_REF_FREE(wsdl_fault_ref, env) \
- ((wsdl_fault_ref)->ops->free (wsdl_fault_ref, env))
+ ((wsdl_fault_ref)->ops->free (wsdl_fault_ref, env))
#define AXIS2_WSDL_FAULT_REF_GET_DIRECTION(wsdl_fault_ref, env) \
- ((wsdl_fault_ref)->ops->get_direction (wsdl_fault_ref, env))
+ ((wsdl_fault_ref)->ops->get_direction (wsdl_fault_ref, env))
#define AXIS2_WSDL_FAULT_REF_SET_DIRECTION(wsdl_fault_ref, env, direction) \
- ((wsdl_fault_ref)->ops->set_direction (wsdl_fault_ref, env, direction))
+ ((wsdl_fault_ref)->ops->set_direction (wsdl_fault_ref, env, direction))
#define AXIS2_WSDL_FAULT_REF_GET_MSG_LABEL(wsdl_fault_ref, env) \
- ((wsdl_fault_ref)->ops->get_msg_label (wsdl_fault_ref, env))
+ ((wsdl_fault_ref)->ops->get_msg_label (wsdl_fault_ref, env))
#define AXIS2_WSDL_FAULT_REF_SET_MSG_LABEL(wsdl_fault_ref, env, msg_label) \
- ((wsdl_fault_ref)->ops->set_msg_label (wsdl_fault_ref, env, msg_label))
+ ((wsdl_fault_ref)->ops->set_msg_label (wsdl_fault_ref, env, msg_label))
#define AXIS2_WSDL_FAULT_REF_GET_REF(wsdl_fault_ref, env) \
- ((wsdl_fault_ref)->ops->get_ref (wsdl_fault_ref, env))
+ ((wsdl_fault_ref)->ops->get_ref (wsdl_fault_ref, env))
#define AXIS2_WSDL_FAULT_REF_SET_REF(wsdl_fault_ref, env, ref) \
- ((wsdl_fault_ref)->ops->set_ref (wsdl_fault_ref, env, ref))
+ ((wsdl_fault_ref)->ops->set_ref (wsdl_fault_ref, env, ref))
/*************************** End of function macros ***************************/
Modified: webservices/axis2/trunk/c/include/axis2_wsdl_feature.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_wsdl_feature.h?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_wsdl_feature.h (original)
+++ webservices/axis2/trunk/c/include/axis2_wsdl_feature.h Sat Jun 3 20:09:08 2006
@@ -49,12 +49,12 @@
*/
AXIS2_DECLARE_DATA struct axis2_wsdl_feature_ops
{
- /** De-allocate memory
- * @return status code
- */
- axis2_status_t (AXIS2_CALL *
+ /** De-allocate memory
+ * @return status code
+ */
+ axis2_status_t (AXIS2_CALL *
free)(axis2_wsdl_feature_t *wsdl_feature,
- const axis2_env_t *env);
+ const axis2_env_t *env);
/**
* Method getName
@@ -100,11 +100,11 @@
/**
* @brief Wsdl container struct
- * Property for params
+ * Property for params
*/
AXIS2_DECLARE_DATA struct axis2_wsdl_feature
{
- axis2_wsdl_feature_ops_t *ops;
+ axis2_wsdl_feature_ops_t *ops;
struct axis2_wsdl_component *wsdl_component;
};
@@ -117,19 +117,19 @@
/*************************** Function macros **********************************/
#define AXIS2_WSDL_FEATURE_FREE(wsdl_feature, env) \
- ((wsdl_feature)->ops->free (wsdl_feature, env))
+ ((wsdl_feature)->ops->free (wsdl_feature, env))
#define AXIS2_WSDL_FEATURE_GET_NAME(wsdl_feature, env) \
- ((wsdl_feature)->ops->get_name (wsdl_feature, env))
+ ((wsdl_feature)->ops->get_name (wsdl_feature, env))
#define AXIS2_WSDL_FEATURE_SET_NAME(wsdl_feature, env, name) \
- ((wsdl_feature)->ops->set_name (wsdl_feature, env, name))
+ ((wsdl_feature)->ops->set_name (wsdl_feature, env, name))
#define AXIS2_WSDL_FEATURE_IS_REQUIRED(wsdl_feature, env) \
- ((wsdl_feature)->ops->is_required (wsdl_feature, env))
+ ((wsdl_feature)->ops->is_required (wsdl_feature, env))
#define AXIS2_WSDL_FEATURE_SET_REQUIRED(wsdl_feature, env, required) \
- ((wsdl_feature)->ops->set_required (wsdl_feature, env, required))
+ ((wsdl_feature)->ops->set_required (wsdl_feature, env, required))
/*************************** End of function macros ***************************/
Modified: webservices/axis2/trunk/c/include/axis2_wsdl_import.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_wsdl_import.h?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_wsdl_import.h (original)
+++ webservices/axis2/trunk/c/include/axis2_wsdl_import.h Sat Jun 3 20:09:08 2006
@@ -49,12 +49,12 @@
*/
AXIS2_DECLARE_DATA struct axis2_wsdl_import_ops
{
- /** De-allocate memory
- * @return status code
- */
- axis2_status_t (AXIS2_CALL *
+ /** De-allocate memory
+ * @return status code
+ */
+ axis2_status_t (AXIS2_CALL *
free)(axis2_wsdl_import_t *wsdl_import,
- const axis2_env_t *env);
+ const axis2_env_t *env);
/**
* Method get_namespace
@@ -100,11 +100,11 @@
/**
* @brief Wsdl container struct
- * Property for params
+ * Property for params
*/
AXIS2_DECLARE_DATA struct axis2_wsdl_import
{
- axis2_wsdl_import_ops_t *ops;
+ axis2_wsdl_import_ops_t *ops;
struct axis2_wsdl_component *wsdl_component;
};
@@ -117,19 +117,19 @@
/*************************** Function macros **********************************/
#define AXIS2_WSDL_IMPORT_FREE(wsdl_import, env) \
- ((wsdl_import)->ops->free (wsdl_import, env))
+ ((wsdl_import)->ops->free (wsdl_import, env))
#define AXIS2_WSDL_IMPORT_GET_NAMESPACE(wsdl_import, env) \
- ((wsdl_import)->ops->get_namespace (wsdl_import, env))
+ ((wsdl_import)->ops->get_namespace (wsdl_import, env))
#define AXIS2_WSDL_IMPORT_SET_NAMESPACE(wsdl_import, env, namespace) \
- ((wsdl_import)->ops->set_namespace (wsdl_import, env, namespace))
+ ((wsdl_import)->ops->set_namespace (wsdl_import, env, namespace))
#define AXIS2_WSDL_IMPORT_GET_LOCATION(wsdl_import, env) \
- ((wsdl_import)->ops->is_location (wsdl_import, env))
+ ((wsdl_import)->ops->is_location (wsdl_import, env))
#define AXIS2_WSDL_IMPORT_SET_LOCATION(wsdl_import, env, location) \
- ((wsdl_import)->ops->set_location (wsdl_import, env, location))
+ ((wsdl_import)->ops->set_location (wsdl_import, env, location))
/*************************** End of function macros ***************************/
Modified: webservices/axis2/trunk/c/include/axis2_wsdl_include.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_wsdl_include.h?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_wsdl_include.h (original)
+++ webservices/axis2/trunk/c/include/axis2_wsdl_include.h Sat Jun 3 20:09:08 2006
@@ -49,12 +49,12 @@
*/
AXIS2_DECLARE_DATA struct axis2_wsdl_include_ops
{
- /** De-allocate memory
- * @return status code
- */
- axis2_status_t (AXIS2_CALL *
+ /** De-allocate memory
+ * @return status code
+ */
+ axis2_status_t (AXIS2_CALL *
free)(axis2_wsdl_include_t *wsdl_include,
- const axis2_env_t *env);
+ const axis2_env_t *env);
/**
* Method get_namespace
@@ -100,11 +100,11 @@
/**
* @brief Wsdl container struct
- * Property for params
+ * Property for params
*/
AXIS2_DECLARE_DATA struct axis2_wsdl_include
{
- axis2_wsdl_include_ops_t *ops;
+ axis2_wsdl_include_ops_t *ops;
struct axis2_wsdl_component *wsdl_component;
};
@@ -117,19 +117,19 @@
/*************************** Function macros **********************************/
#define AXIS2_WSDL_INCLUDE_FREE(wsdl_include, env) \
- ((wsdl_include)->ops->free (wsdl_include, env))
+ ((wsdl_include)->ops->free (wsdl_include, env))
#define AXIS2_WSDL_INCLUDE_GET_NAMESPACE(wsdl_include, env) \
- ((wsdl_include)->ops->get_namespace (wsdl_include, env))
+ ((wsdl_include)->ops->get_namespace (wsdl_include, env))
#define AXIS2_WSDL_INCLUDE_SET_NAMESPACE(wsdl_include, env, namespace) \
- ((wsdl_include)->ops->set_namespace (wsdl_include, env, namespace))
+ ((wsdl_include)->ops->set_namespace (wsdl_include, env, namespace))
#define AXIS2_WSDL_INCLUDE_GET_LOCATION(wsdl_include, env) \
- ((wsdl_include)->ops->is_location (wsdl_include, env))
+ ((wsdl_include)->ops->is_location (wsdl_include, env))
#define AXIS2_WSDL_INCLUDE_SET_LOCATION(wsdl_include, env, location) \
- ((wsdl_include)->ops->set_location (wsdl_include, env, location))
+ ((wsdl_include)->ops->set_location (wsdl_include, env, location))
/*************************** End of function macros ***************************/
Modified: webservices/axis2/trunk/c/include/axis2_wsdl_interface.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_wsdl_interface.h?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_wsdl_interface.h (original)
+++ webservices/axis2/trunk/c/include/axis2_wsdl_interface.h Sat Jun 3 20:09:08 2006
@@ -55,12 +55,12 @@
*/
AXIS2_DECLARE_DATA struct axis2_wsdl_interface_ops
{
- /** De-allocate memory
- * @return status code
- */
- axis2_status_t (AXIS2_CALL *
+ /** De-allocate memory
+ * @return status code
+ */
+ axis2_status_t (AXIS2_CALL *
free)(axis2_wsdl_interface_t *wsdl_interface,
- const axis2_env_t *env);
+ const axis2_env_t *env);
/**
* Method getDefinedOperations
@@ -210,11 +210,11 @@
/**
* @brief Wsdl container struct
- * Property for params
+ * Property for params
*/
AXIS2_DECLARE_DATA struct axis2_wsdl_interface
{
- axis2_wsdl_interface_ops_t *ops;
+ axis2_wsdl_interface_ops_t *ops;
struct axis2_wsdl_extensible_component *extensible_component;
};
@@ -227,56 +227,56 @@
/*************************** Function macros **********************************/
#define AXIS2_WSDL_INTERFACE_FREE(wsdl_interface, env) \
- ((wsdl_interface)->ops->free (wsdl_interface, env))
+ ((wsdl_interface)->ops->free (wsdl_interface, env))
#define AXIS2_WSDL_INTERFACE_GET_DEFINED_OPS(wsdl_interface, env) \
- ((wsdl_interface)->ops->get_defined_ops (wsdl_interface, env))
+ ((wsdl_interface)->ops->get_defined_ops (wsdl_interface, env))
#define AXIS2_WSDL_INTERFACE_GET_FAULTS(wsdl_interface, env) \
- ((wsdl_interface)->ops->get_faults (wsdl_interface, env))
+ ((wsdl_interface)->ops->get_faults (wsdl_interface, env))
#define AXIS2_WSDL_INTERFACE_GET_NAME(wsdl_interface, env) \
- ((wsdl_interface)->ops->get_name (wsdl_interface, env))
+ ((wsdl_interface)->ops->get_name (wsdl_interface, env))
#define AXIS2_WSDL_INTERFACE_GET_OPS(wsdl_interface, env) \
- ((wsdl_interface)->ops->get_ops (wsdl_interface, env))
+ ((wsdl_interface)->ops->get_ops (wsdl_interface, env))
#define AXIS2_WSDL_INTERFACE_GET_OP(wsdl_interface, env, nc_name) \
- ((wsdl_interface)->ops->get_op (wsdl_interface, env, nc_name))
+ ((wsdl_interface)->ops->get_op (wsdl_interface, env, nc_name))
#define AXIS2_WSDL_INTERFACE_GET_SUPER_INTERFACES(wsdl_interface, env) \
- ((wsdl_interface)->ops->get_super_interfaces (wsdl_interface, env))
+ ((wsdl_interface)->ops->get_super_interfaces (wsdl_interface, env))
#define AXIS2_WSDL_INTERFACE_GET_SUPER_INTERFACE(wsdl_interface, env) \
- ((wsdl_interface)->ops->get_super_interface (wsdl_interface, env))
+ ((wsdl_interface)->ops->get_super_interface (wsdl_interface, env))
#define AXIS2_WSDL_INTERFACE_GET_TARGET_NAMESPACE(wsdl_interface, env) \
- ((wsdl_interface)->ops->get_target_namespace (wsdl_interface, env))
+ ((wsdl_interface)->ops->get_target_namespace (wsdl_interface, env))
#define AXIS2_WSDL_INTERFACE_SET_FAULTS(wsdl_interface, env, list) \
- ((wsdl_interface)->ops->set_faults (wsdl_interface, env, list))
+ ((wsdl_interface)->ops->set_faults (wsdl_interface, env, list))
#define AXIS2_WSDL_INTERFACE_SET_NAME(wsdl_interface, env, name) \
- ((wsdl_interface)->ops->set_name (wsdl_interface, env, name))
+ ((wsdl_interface)->ops->set_name (wsdl_interface, env, name))
#define AXIS2_WSDL_INTERFACE_SET_OPS(wsdl_interface, env, list) \
- ((wsdl_interface)->ops->set_ops (wsdl_interface, env, list))
+ ((wsdl_interface)->ops->set_ops (wsdl_interface, env, list))
#define AXIS2_WSDL_INTERFACE_SET_OP(wsdl_interface, env, op) \
- ((wsdl_interface)->ops->set_op (wsdl_interface, env, op))
+ ((wsdl_interface)->ops->set_op (wsdl_interface, env, op))
#define AXIS2_WSDL_INTERFACE_SET_SUPER_INTERFACES(wsdl_interface, env, list) \
- ((wsdl_interface)->ops->set_super_interfaces (wsdl_interface, env, list))
+ ((wsdl_interface)->ops->set_super_interfaces (wsdl_interface, env, list))
#define AXIS2_WSDL_INTERFACE_SET_SUPER_INTERFACE(wsdl_interface, env, interface) \
- ((wsdl_interface)->ops->set_super_interface (wsdl_interface, env, interface))
+ ((wsdl_interface)->ops->set_super_interface (wsdl_interface, env, interface))
#define AXIS2_WSDL_INTERFACE_GET_STYLE_DEFAULT(wsdl_interface, env) \
- ((wsdl_interface)->ops->get_style_default (wsdl_interface, env))
+ ((wsdl_interface)->ops->get_style_default (wsdl_interface, env))
#define AXIS2_WSDL_INTERFACE_SET_STYLE_DEFAULT(wsdl_interface, env, style_default) \
- ((wsdl_interface)->ops->set_style_default (wsdl_interface, env, style_default))
-
+ ((wsdl_interface)->ops->set_style_default (wsdl_interface, env, style_default))
+
/*************************** End of function macros ***************************/
/** @} */
Modified: webservices/axis2/trunk/c/include/axis2_wsdl_msg_ref.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_wsdl_msg_ref.h?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_wsdl_msg_ref.h (original)
+++ webservices/axis2/trunk/c/include/axis2_wsdl_msg_ref.h Sat Jun 3 20:09:08 2006
@@ -55,7 +55,7 @@
*/
axis2_status_t (AXIS2_CALL *
free)(axis2_wsdl_msg_ref_t *wsdl_msg_ref,
- const axis2_env_t *env);
+ const axis2_env_t *env);
/**
* Method getDirection
@@ -121,7 +121,7 @@
*/
AXIS2_DECLARE_DATA struct axis2_wsdl_msg_ref
{
- axis2_wsdl_msg_ref_ops_t *ops;
+ axis2_wsdl_msg_ref_ops_t *ops;
struct axis2_wsdl_extensible_component *extensible_component;
};
@@ -135,25 +135,25 @@
/*************************** Function macros **********************************/
#define AXIS2_WSDL_MSG_REF_FREE(wsdl_msg_ref, env) \
- ((wsdl_msg_ref)->ops->free (wsdl_msg_ref, env))
+ ((wsdl_msg_ref)->ops->free (wsdl_msg_ref, env))
#define AXIS2_WSDL_MSG_REF_GET_DIRECTION(wsdl_msg_ref, env) \
- ((wsdl_msg_ref)->ops->get_direction (wsdl_msg_ref, env))
+ ((wsdl_msg_ref)->ops->get_direction (wsdl_msg_ref, env))
#define AXIS2_WSDL_MSG_REF_SET_DIRECTION(wsdl_msg_ref, env, direction) \
- ((wsdl_msg_ref)->ops->set_direction (wsdl_msg_ref, env, direction))
+ ((wsdl_msg_ref)->ops->set_direction (wsdl_msg_ref, env, direction))
#define AXIS2_WSDL_MSG_REF_GET_MSG_LABEL(wsdl_msg_ref, env) \
- ((wsdl_msg_ref)->ops->get_msg_label (wsdl_msg_ref, env))
+ ((wsdl_msg_ref)->ops->get_msg_label (wsdl_msg_ref, env))
#define AXIS2_WSDL_MSG_REF_SET_MSG_LABEL(wsdl_msg_ref, env, msg_label) \
- ((wsdl_msg_ref)->ops->set_msg_label (wsdl_msg_ref, env, msg_label))
+ ((wsdl_msg_ref)->ops->set_msg_label (wsdl_msg_ref, env, msg_label))
#define AXIS2_WSDL_MSG_REF_GET_ELEMENT(wsdl_msg_ref, env) \
- ((wsdl_msg_ref)->ops->get_element (wsdl_msg_ref, env))
+ ((wsdl_msg_ref)->ops->get_element (wsdl_msg_ref, env))
#define AXIS2_WSDL_MSG_REF_SET_ELEMENT(wsdl_msg_ref, env, element) \
- ((wsdl_msg_ref)->ops->set_element (wsdl_msg_ref, env, element))
+ ((wsdl_msg_ref)->ops->set_element (wsdl_msg_ref, env, element))
/*************************** End of function macros ***************************/
Modified: webservices/axis2/trunk/c/include/axis2_wsdl_op.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_wsdl_op.h?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_wsdl_op.h (original)
+++ webservices/axis2/trunk/c/include/axis2_wsdl_op.h Sat Jun 3 20:09:08 2006
@@ -41,11 +41,11 @@
extern "C"
{
#endif
-struct axis2_wsdl_extensible_component;
+struct axis2_wsdl_extensible_component;
struct axis2_wsdl_fault_ref;
typedef struct axis2_wsdl_op_ops axis2_wsdl_op_ops_t;
-typedef struct axis2_wsdl_op axis2_wsdl_op_t;
-
+typedef struct axis2_wsdl_op axis2_wsdl_op_t;
+
/** @defgroup axis2_wsdl_op Wsdl Operation
* @ingroup axis2_wsdl
@@ -54,7 +54,7 @@
struct axis2_wsdl_op_ops
{
- /**
+ /**
* Deallocate memory
* @return status code
*/
@@ -62,7 +62,7 @@
free) (axis2_wsdl_op_t *wsdl_op,
const axis2_env_t *env);
- /**
+ /**
* Deallocate memory
* @param void wsdl_op to be freed
* @return status code
@@ -253,7 +253,7 @@
struct axis2_wsdl_op
{
- axis2_wsdl_op_ops_t *ops;
+ axis2_wsdl_op_ops_t *ops;
struct axis2_wsdl_extensible_component *extensible_component;
};
@@ -267,67 +267,67 @@
/**************************** Start of function macros ************************/
#define AXIS2_WSDL_OP_FREE(wsdl_op, env) \
- ((wsdl_op)->ops->free (wsdl_op, env))
+ ((wsdl_op)->ops->free (wsdl_op, env))
#define AXIS2_WSDL_OP_FREE_VOID_ARG(wsdl_op, env) \
- (((axis2_wsdl_op_t *) wsdl_op)->ops->free_void_arg(wsdl_op, env))
-
+ (((axis2_wsdl_op_t *) wsdl_op)->ops->free_void_arg(wsdl_op, env))
+
#define AXIS2_WSDL_OP_GET_MSG_EXCHANGE_PATTERN(wsdl_op, env) \
- ((wsdl_op)->ops->get_msg_exchange_pattern(wsdl_op, env))
-
+ ((wsdl_op)->ops->get_msg_exchange_pattern(wsdl_op, env))
+
#define AXIS2_WSDL_OP_SET_MSG_EXCHANGE_PATTERN(wsdl_op, env, pattern) \
- ((wsdl_op)->ops->set_msg_exchange_pattern(wsdl_op, env, pattern))
-
+ ((wsdl_op)->ops->set_msg_exchange_pattern(wsdl_op, env, pattern))
+
#define AXIS2_WSDL_OP_GET_QNAME(wsdl_op, env) \
- (((axis2_wsdl_op_t *) wsdl_op)->ops->get_qname(wsdl_op, env))
-
+ (((axis2_wsdl_op_t *) wsdl_op)->ops->get_qname(wsdl_op, env))
+
#define AXIS2_WSDL_OP_SET_QNAME(wsdl_op, env, name) \
- ((wsdl_op)->ops->set_qname(wsdl_op, env, name))
-
+ ((wsdl_op)->ops->set_qname(wsdl_op, env, name))
+
#define AXIS2_WSDL_OP_SET_STYLE(wsdl_op, env, style) \
- ((wsdl_op)->ops->set_style(wsdl_op, env, style))
-
+ ((wsdl_op)->ops->set_style(wsdl_op, env, style))
+
#define AXIS2_WSDL_OP_GET_STYLE(wsdl_op, env) \
- ((wsdl_op)->ops->get_style(wsdl_op, env))
-
+ ((wsdl_op)->ops->get_style(wsdl_op, env))
+
#define AXIS2_WSDL_OP_GET_IN_FAULTS(wsdl_op, env) \
- ((wsdl_op)->ops->get_in_faults(wsdl_op, env))
-
+ ((wsdl_op)->ops->get_in_faults(wsdl_op, env))
+
#define AXIS2_WSDL_OP_SET_IN_FAULTS(wsdl_op, env, in_faults) \
- ((wsdl_op)->ops->set_in_faults(wsdl_op, env, in_faults))
+ ((wsdl_op)->ops->set_in_faults(wsdl_op, env, in_faults))
#define AXIS2_WSDL_OP_GET_INPUT_MSG(wsdl_op, env) \
- ((wsdl_op)->ops->get_input_msg(wsdl_op, env))
-
+ ((wsdl_op)->ops->get_input_msg(wsdl_op, env))
+
#define AXIS2_WSDL_OP_SET_INPUT_MSG(wsdl_op, env, input_msg) \
- ((wsdl_op)->ops->set_input_msg(wsdl_op, env, input_msg))
+ ((wsdl_op)->ops->set_input_msg(wsdl_op, env, input_msg))
#define AXIS2_WSDL_OP_GET_OUT_FAULTS(wsdl_op, env) \
- ((wsdl_op)->ops->get_out_faults(wsdl_op, env))
-
+ ((wsdl_op)->ops->get_out_faults(wsdl_op, env))
+
#define AXIS2_WSDL_OP_SET_OUT_FAULTS(wsdl_op, env, out_faults) \
- ((wsdl_op)->ops->set_out_faults(wsdl_op, env, out_faults))
+ ((wsdl_op)->ops->set_out_faults(wsdl_op, env, out_faults))
#define AXIS2_WSDL_OP_GET_OUTPUT_MSG(wsdl_op, env) \
- ((wsdl_op)->ops->get_output_msg(wsdl_op, env))
-
+ ((wsdl_op)->ops->get_output_msg(wsdl_op, env))
+
#define AXIS2_WSDL_OP_SET_OUTPUT_MSG(wsdl_op, env, output_msg) \
- ((wsdl_op)->ops->set_output_msg(wsdl_op, env, output_msg))
+ ((wsdl_op)->ops->set_output_msg(wsdl_op, env, output_msg))
#define AXIS2_WSDL_OP_IS_SAFE(wsdl_op, env) \
- ((wsdl_op)->ops->is_safe(wsdl_op, env))
-
+ ((wsdl_op)->ops->is_safe(wsdl_op, env))
+
#define AXIS2_WSDL_OP_SET_SAFETY(wsdl_op, env, safe) \
- ((wsdl_op)->ops->set_safety(wsdl_op, env, safe))
+ ((wsdl_op)->ops->set_safety(wsdl_op, env, safe))
#define AXIS2_WSDL_OP_GET_TARGET_NAMESPACE(wsdl_op, env) \
- ((wsdl_op)->ops->get_target_namespace(wsdl_op, env))
+ ((wsdl_op)->ops->get_target_namespace(wsdl_op, env))
#define AXIS2_WSDL_OP_ADD_IN_FAULT(wsdl_op, env, in_fault) \
- ((wsdl_op)->ops->add_in_fault(wsdl_op, env, in_fault))
-
+ ((wsdl_op)->ops->add_in_fault(wsdl_op, env, in_fault))
+
#define AXIS2_WSDL_OP_ADD_OUT_FAULT(wsdl_op, env, out_fault) \
- ((wsdl_op)->ops->add_out_fault(wsdl_op, env, out_fault))
+ ((wsdl_op)->ops->add_out_fault(wsdl_op, env, out_fault))
/**************************** End of function macros **************************/
Modified: webservices/axis2/trunk/c/include/axis2_wsdl_property.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_wsdl_property.h?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_wsdl_property.h (original)
+++ webservices/axis2/trunk/c/include/axis2_wsdl_property.h Sat Jun 3 20:09:08 2006
@@ -49,11 +49,11 @@
*/
AXIS2_DECLARE_DATA struct axis2_wsdl_property_ops
{
- /** De-allocate memory
- * @return status code
- */
- axis2_status_t (AXIS2_CALL *free)(axis2_wsdl_property_t *wsdl_property,
- const axis2_env_t *env);
+ /** De-allocate memory
+ * @return status code
+ */
+ axis2_status_t (AXIS2_CALL *free)(axis2_wsdl_property_t *wsdl_property,
+ const axis2_env_t *env);
/**
* Method getConstraint
@@ -119,11 +119,11 @@
/**
* @brief Wsdl container struct
- * Property for params
+ * Property for params
*/
AXIS2_DECLARE_DATA struct axis2_wsdl_property
{
- axis2_wsdl_property_ops_t *ops;
+ axis2_wsdl_property_ops_t *ops;
struct axis2_wsdl_component *wsdl_component;
};
@@ -136,25 +136,25 @@
/*************************** Function macros **********************************/
#define AXIS2_WSDL_PROPERTY_FREE(wsdl_property, env) \
- ((wsdl_property)->ops->free (wsdl_property, env))
+ ((wsdl_property)->ops->free (wsdl_property, env))
#define AXIS2_WSDL_PROPERTY_GET_CONSTRAINT(wsdl_property, env) \
- ((wsdl_property)->ops->set_constraint (wsdl_property, env))
+ ((wsdl_property)->ops->set_constraint (wsdl_property, env))
#define AXIS2_WSDL_PROPERTY_SET_CONSTRAINT(wsdl_property, env, constraint) \
- ((wsdl_property)->ops->get_constraint (wsdl_property, env, constraint))
+ ((wsdl_property)->ops->get_constraint (wsdl_property, env, constraint))
#define AXIS2_WSDL_PROPERTY_GET_NAME(wsdl_property, env) \
- ((wsdl_property)->ops->get_name (wsdl_property, env))
+ ((wsdl_property)->ops->get_name (wsdl_property, env))
#define AXIS2_WSDL_PROPERTY_SET_NAME(wsdl_property, env, name) \
- ((wsdl_property)->ops->set_name (wsdl_property, env, name))
+ ((wsdl_property)->ops->set_name (wsdl_property, env, name))
#define AXIS2_WSDL_PROPERTY_GET_VALUE(wsdl_property, env) \
- ((wsdl_property)->ops->get_value (wsdl_property, env))
+ ((wsdl_property)->ops->get_value (wsdl_property, env))
#define AXIS2_WSDL_PROPERTY_SET_VALUE(wsdl_property, env, value) \
- ((wsdl_property)->ops->set_value (wsdl_property, env, value))
+ ((wsdl_property)->ops->set_value (wsdl_property, env, value))
/*************************** End of function macros ***************************/
Modified: webservices/axis2/trunk/c/include/axis2_wsdl_pump.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_wsdl_pump.h?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_wsdl_pump.h (original)
+++ webservices/axis2/trunk/c/include/axis2_wsdl_pump.h Sat Jun 3 20:09:08 2006
@@ -34,10 +34,10 @@
extern "C"
{
#endif
-
+
typedef struct axis2_wsdl_pump_ops axis2_wsdl_pump_ops_t;
-typedef struct axis2_wsdl_pump axis2_wsdl_pump_t;
-struct axis2_wsdl_desc;
+typedef struct axis2_wsdl_pump axis2_wsdl_pump_t;
+struct axis2_wsdl_desc;
/** @defgroup axis2_wsdl_pump Wsdl Pump
* @ingroup axis2_wsdl_pump
@@ -50,26 +50,26 @@
*/
struct axis2_wsdl_pump_ops
{
- /** Deallocate memory
+ /** Deallocate memory
* @return status code
*/
axis2_status_t (AXIS2_CALL *
free) (axis2_wsdl_pump_t *wsdl_pump,
const axis2_env_t *env);
- axis2_status_t (AXIS2_CALL *
- pump) (axis2_wsdl_pump_t *wsdl_pump,
- const axis2_env_t *env);
+ axis2_status_t (AXIS2_CALL *
+ pump) (axis2_wsdl_pump_t *wsdl_pump,
+ const axis2_env_t *env);
};
/**
* @brief Wsdl Pump struct
- * Wsdl Pump
+ * Wsdl Pump
*/
struct axis2_wsdl_pump
{
- axis2_wsdl_pump_ops_t *ops;
+ axis2_wsdl_pump_ops_t *ops;
};
/**
@@ -78,15 +78,15 @@
*/
AXIS2_EXTERN axis2_wsdl_pump_t * AXIS2_CALL
axis2_wsdl_pump_create (const axis2_env_t *env,
- struct axis2_wsdl_desc *wom_def,
- void *wsdl_parser);
+ struct axis2_wsdl_desc *wom_def,
+ void *wsdl_parser);
/*************************** Function macros **********************************/
#define AXIS2_WSDL_PUMP_FREE(wsdl_pump, env) ((wsdl_pump)->ops->free (wsdl_pump, env))
#define AXIS2_WSDL_PUMP_PUMP(wsdl_pump, env) \
- ((wsdl_pump)->ops->pump (wsdl_pump, env))
+ ((wsdl_pump)->ops->pump (wsdl_pump, env))
/*************************** End of function macros ***************************/
Modified: webservices/axis2/trunk/c/include/axis2_wsdl_soap_op.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_wsdl_soap_op.h?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_wsdl_soap_op.h (original)
+++ webservices/axis2/trunk/c/include/axis2_wsdl_soap_op.h Sat Jun 3 20:09:08 2006
@@ -50,12 +50,12 @@
*/
AXIS2_DECLARE_DATA struct axis2_wsdl_soap_op_ops
{
- /** De-allocate memory
- * @return status code
- */
- axis2_status_t (AXIS2_CALL *free)(
+ /** De-allocate memory
+ * @return status code
+ */
+ axis2_status_t (AXIS2_CALL *free)(
axis2_wsdl_soap_op_t *wsdl_soap_op,
- const axis2_env_t *env);
+ const axis2_env_t *env);
axis2_char_t *(AXIS2_CALL *
get_style) (axis2_wsdl_soap_op_t *soap_op,
@@ -78,11 +78,11 @@
/**
* @brief Wsdl container struct
- * Property for params
+ * Property for params
*/
AXIS2_DECLARE_DATA struct axis2_wsdl_soap_op
{
- axis2_wsdl_soap_op_ops_t *ops;
+ axis2_wsdl_soap_op_ops_t *ops;
axis2_wsdl_extensible_element_t *extensible_element;
};
@@ -104,19 +104,19 @@
/*************************** Function macros **********************************/
#define AXIS2_WSDL_SOAP_OP_FREE(soap_op, env) \
- ((soap_op)->ops->free (soap_op, env))
+ ((soap_op)->ops->free (soap_op, env))
#define AXIS2_WSDL_SOAP_OP_GET_STYLE(soap_op, env) \
- ((soap_op)->ops->get_style (soap_op, env))
+ ((soap_op)->ops->get_style (soap_op, env))
#define AXIS2_WSDL_SOAP_OP_SET_STYLE(soap_op, env, style) \
- ((soap_op)->ops->set_style (soap_op, env, style))
+ ((soap_op)->ops->set_style (soap_op, env, style))
#define AXIS2_WSDL_SOAP_OP_GET_SOAP_ACTION(soap_op, env) \
- ((soap_op)->ops->get_soap_action (soap_op, env))
+ ((soap_op)->ops->get_soap_action (soap_op, env))
#define AXIS2_WSDL_SOAP_OP_SET_SOAP_ACTION(soap_op, env, soap_action) \
- ((soap_op)->ops->set_soap_action (soap_op, env, soap_action))
+ ((soap_op)->ops->set_soap_action (soap_op, env, soap_action))
/*************************** End of function macros ***************************/
Modified: webservices/axis2/trunk/c/include/axis2_wsdl_svc.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_wsdl_svc.h?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_wsdl_svc.h (original)
+++ webservices/axis2/trunk/c/include/axis2_wsdl_svc.h Sat Jun 3 20:09:08 2006
@@ -38,7 +38,7 @@
extern "C"
{
#endif
-
+
/** @defgroup axis2_wsdl_svc Wsdl Service
* @ingroup axis2_wsdl
* @{
@@ -62,8 +62,8 @@
/** Deallocate memory
* @return status code
*/
- axis2_status_t (AXIS2_CALL *
- free) (axis2_wsdl_svc_t *wsdl_svc,
+ axis2_status_t (AXIS2_CALL *
+ free) (axis2_wsdl_svc_t *wsdl_svc,
const axis2_env_t *env);
/**
@@ -71,7 +71,7 @@
* @return wsdl service name
*/
axis2_qname_t * (AXIS2_CALL *
- get_qname)(axis2_wsdl_svc_t *wsdl_svc,
+ get_qname)(axis2_wsdl_svc_t *wsdl_svc,
const axis2_env_t *env);
/**
@@ -79,7 +79,7 @@
* @param set wsdl service name
*/
axis2_status_t (AXIS2_CALL *
- set_qname) (axis2_wsdl_svc_t *wsdl_svc,
+ set_qname) (axis2_wsdl_svc_t *wsdl_svc,
const axis2_env_t *env,
axis2_qname_t *qname);
@@ -160,7 +160,7 @@
*/
struct axis2_wsdl_svc
{
- axis2_wsdl_svc_ops_t *ops;
+ axis2_wsdl_svc_ops_t *ops;
struct axis2_wsdl_component *wsdl_component;
};
@@ -173,7 +173,7 @@
/**************************** Start of function macros ************************/
#define AXIS2_WSDL_SVC_FREE(wsdl_svc, env) ((wsdl_svc)->ops->free (wsdl_svc, \
- env))
+ env))
#define AXIS2_WSDL_SVC_GET_QNAME(wsdl_svc, env) \
((wsdl_svc)->ops->get_qname (wsdl_svc, env))
Modified: webservices/axis2/trunk/c/include/axis2_wsdl_types.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_wsdl_types.h?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_wsdl_types.h (original)
+++ webservices/axis2/trunk/c/include/axis2_wsdl_types.h Sat Jun 3 20:09:08 2006
@@ -53,12 +53,12 @@
*/
AXIS2_DECLARE_DATA struct axis2_wsdl_types_ops
{
- /** De-allocate memory
- * @return status code
- */
- axis2_status_t (AXIS2_CALL *
+ /** De-allocate memory
+ * @return status code
+ */
+ axis2_status_t (AXIS2_CALL *
free)(axis2_wsdl_types_t *wsdl_types,
- const axis2_env_t *env);
+ const axis2_env_t *env);
/**
* Adds the <code>ExtensionElement</code> to the map keyed with the
* <code>axis2_qname_t</code>
@@ -88,11 +88,11 @@
/**
* @brief Wsdl container struct
- * Property for params
+ * Property for params
*/
AXIS2_DECLARE_DATA struct axis2_wsdl_types
{
- axis2_wsdl_types_ops_t *ops;
+ axis2_wsdl_types_ops_t *ops;
struct axis2_wsdl_extensible_component *ext_component;
};
@@ -106,15 +106,14 @@
/*************************** Function macros **********************************/
#define AXIS2_WSDL_TYPES_FREE(wsdl_types, env) \
- ((wsdl_types)->ops->free (wsdl_types, env))
+ ((wsdl_types)->ops->free (wsdl_types, env))
#define AXIS2_WSDL_TYPES_ADD_ELEMENT(wsdl_types, env, element) \
- ((wsdl_types)->ops->add_element (wsdl_types, env, element))
+ ((wsdl_types)->ops->add_element (wsdl_types, env, element))
#define AXIS2_WSDL_TYPES_GET_FIRST_ELEMENT(wsdl_types, env, qname) \
- ((wsdl_types)->ops->get_first_element (wsdl_types, env, qname))
+ ((wsdl_types)->ops->get_first_element (wsdl_types, env, qname))
-
/*************************** End of function macros ***************************/
/** @} */
Modified: webservices/axis2/trunk/c/modules/core/clientapi/axis2_msg_sender.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/clientapi/axis2_msg_sender.h?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/clientapi/axis2_msg_sender.h (original)
+++ webservices/axis2/trunk/c/modules/core/clientapi/axis2_msg_sender.h Sat Jun 3 20:09:08 2006
@@ -55,9 +55,9 @@
*/
axis2_status_t (AXIS2_CALL *
send)(axis2_msg_sender_t *msg_sender,
- const axis2_env_t *env,
- axis2_op_t *op,
- axis2_msg_ctx_t *msg_ctx);
+ const axis2_env_t *env,
+ axis2_op_t *op,
+ axis2_msg_ctx_t *msg_ctx);
/**
* set the transport to used for sending the SOAP Message
@@ -65,48 +65,48 @@
*/
axis2_status_t (AXIS2_CALL *
set_transport_info)(axis2_msg_sender_t *msg_sender,
- const axis2_env_t *env,
- axis2_char_t *sender_transport);
+ const axis2_env_t *env,
+ axis2_char_t *sender_transport);
- /**
- * Send an om node
- *
- * @param op - this will be used to identify the operation in the client
- * side, without dispatching
- * @param om_node_to_send - This should be OM Element (payload)
- * @return
- */
+ /**
+ * Send an om node
+ *
+ * @param op - this will be used to identify the operation in the client
+ * side, without dispatching
+ * @param om_node_to_send - This should be OM Element (payload)
+ * @return
+ */
axis2_status_t (AXIS2_CALL *
send_with_om)(struct axis2_msg_sender *msg_sender,
- const axis2_env_t *env,
- axis2_char_t *op_name,
- axis2_om_node_t *om_node_to_send);
-
- /**
- * Send the SOAP Message, the actual worker
- *
- */
+ const axis2_env_t *env,
+ axis2_char_t *op_name,
+ axis2_om_node_t *om_node_to_send);
+
+ /**
+ * Send the SOAP Message, the actual worker
+ *
+ */
axis2_status_t (AXIS2_CALL *
send_with_soap)(axis2_msg_sender_t *msg_sender,
- const axis2_env_t *env,
- axis2_char_t *op_name,
- axis2_soap_envelope_t *envelope);
- /**
- * Get the message information header object. All the sets to
- * msg_info_headers should be done via get_msg_info and a set
- */
- axis2_msg_info_headers_t* (AXIS2_CALL *
+ const axis2_env_t *env,
+ axis2_char_t *op_name,
+ axis2_soap_envelope_t *envelope);
+ /**
+ * Get the message information header object. All the sets to
+ * msg_info_headers should be done via get_msg_info and a set
+ */
+ axis2_msg_info_headers_t* (AXIS2_CALL *
get_msg_info_headers)(axis2_msg_sender_t *msg_sender,
const axis2_env_t *env);
-
+
axis2_status_t (AXIS2_CALL *
free)(struct axis2_msg_sender *msg_sender,
- const axis2_env_t *env);
+ const axis2_env_t *env);
};
/**
* @brief Message Sender struct
- * Axis2 Message Sender
+ * Axis2 Message Sender
*/
struct axis2_msg_sender
{
@@ -115,16 +115,16 @@
AXIS2_EXTERN axis2_msg_sender_t* AXIS2_CALL
axis2_msg_sender_create(const axis2_env_t *env,
- axis2_svc_ctx_t *svc_ctx);
+ axis2_svc_ctx_t *svc_ctx);
/************************** Start of function macros **************************/
#define AXIS2_MSG_SENDER_SEND(msg_sender, env, op, msg_ctx) \
- ((msg_sender)->ops->send(msg_sender, env, op, msg_ctx))
+ ((msg_sender)->ops->send(msg_sender, env, op, msg_ctx))
#define AXIS2_MSG_SENDER_SET_TRANSPORT_INFO(msg_sender, env, sender_transport)\
- ((msg_sender)->ops->set_transport_info(msg_sender, env, sender_transport))
+ ((msg_sender)->ops->set_transport_info(msg_sender, env, sender_transport))
#define AXIS2_MSG_SENDER_SEND_WITH_OM(msg_sender, env, op_name, om_node_to_send) \
((msg_sender)->ops->send_with_om(msg_sender, env, op_name, om_node_to_send))
Modified: webservices/axis2/trunk/c/modules/core/clientapi/call.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/clientapi/call.c?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/clientapi/call.c (original)
+++ webservices/axis2/trunk/c/modules/core/clientapi/call.c Sat Jun 3 20:09:08 2006
@@ -429,7 +429,7 @@
property = axis2_property_create(env);
AXIS2_PROPERTY_SET_SCOPE(property, env, AXIS2_SCOPE_REQUEST);
epr_address = AXIS2_ENDPOINT_REF_GET_ADDRESS(call_impl->to, env);
- address = AXIS2_STRDUP(epr_address, env);
+ address = AXIS2_STRDUP(epr_address, env);
AXIS2_PROPERTY_SET_VALUE(property, env, address);
AXIS2_MSG_CTX_SET_PROPERTY(msg_ctx, env,
AXIS2_TRANSPORT_URL, property, AXIS2_FALSE);
@@ -506,7 +506,7 @@
property = axis2_property_create(env);
AXIS2_PROPERTY_SET_SCOPE(property, env, AXIS2_SCOPE_REQUEST);
epr_address = AXIS2_ENDPOINT_REF_GET_ADDRESS(call_impl->to, env);
- address = AXIS2_STRDUP(epr_address, env);
+ address = AXIS2_STRDUP(epr_address, env);
AXIS2_PROPERTY_SET_VALUE(property, env, address);
AXIS2_MSG_CTX_SET_PROPERTY(msg_ctx, env,
AXIS2_TRANSPORT_URL, property, AXIS2_FALSE);
@@ -644,16 +644,16 @@
{
axis2_thread_t *worker_thread = NULL;
axis2_call_worker_func_args_t *arg_list = NULL;
- arg_list = AXIS2_MALLOC(env->allocator,
- sizeof(axis2_call_worker_func_args_t));
- if(NULL == arg_list)
- {
- return AXIS2_FAILURE;
- }
- arg_list->env = env;
- arg_list->call_impl = call_impl;
- arg_list->callback = callback;
- arg_list->op = op;
+ arg_list = AXIS2_MALLOC(env->allocator,
+ sizeof(axis2_call_worker_func_args_t));
+ if(NULL == arg_list)
+ {
+ return AXIS2_FAILURE;
+ }
+ arg_list->env = env;
+ arg_list->call_impl = call_impl;
+ arg_list->callback = callback;
+ arg_list->op = op;
arg_list->msg_ctx = msg_ctx;
/* here a bloking invocation happens in a new thread, so the progamming model is non blocking */
/* TODO svc_ctx.getConfigurationContext().getThreadPool().execute(new NonBlockingInvocationWorker(callback, op, msg_ctx)); */
@@ -894,14 +894,14 @@
axis2_call_worker_func_args_t *args_list = NULL;
axis2_op_ctx_t *op_ctx = NULL;
axis2_msg_ctx_t *response = NULL;
- const axis2_env_t *th_env = NULL;
+ const axis2_env_t *th_env = NULL;
args_list = (axis2_call_worker_func_args_t *) data;
if (!args_list)
return NULL;
AXIS2_ENV_CHECK(args_list->env, AXIS2_FAILURE);
- th_env = axis2_init_thread_env(args_list->env);
+ th_env = axis2_init_thread_env(args_list->env);
op_ctx = axis2_op_ctx_create(th_env, args_list->op, args_list->call_impl->svc_ctx);
if (!op_ctx)
Modified: webservices/axis2/trunk/c/modules/core/clientapi/callback.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/clientapi/callback.c?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/clientapi/callback.c (original)
+++ webservices/axis2/trunk/c/modules/core/clientapi/callback.c Sat Jun 3 20:09:08 2006
@@ -28,8 +28,8 @@
axis2_soap_envelope_t *envelope;
/** error code */
int error;
- /** to store callback specific data */
- void *data;
+ /** to store callback specific data */
+ void *data;
} axis2_callback_impl_t;
/** Interface to implementation conversion macro */
@@ -86,15 +86,15 @@
void AXIS2_CALL
axis2_callback_set_on_complete(struct axis2_callback *callback,
- on_complete_func_ptr f);
+ on_complete_func_ptr f);
void AXIS2_CALL
axis2_callback_set_on_error(struct axis2_callback *callback,
- on_error_func_ptr f);
-
+ on_error_func_ptr f);
+
axis2_status_t AXIS2_CALL
axis2_callback_set_data(struct axis2_callback *callback,
- void *data);
+ void *data);
void* AXIS2_CALL
axis2_callback_get_data(struct axis2_callback *callback);
@@ -117,7 +117,7 @@
callback_impl->complete = AXIS2_FALSE;
callback_impl->envelope = NULL;
callback_impl->error = AXIS2_ERROR_NONE;
- callback_impl->data = NULL;
+ callback_impl->data = NULL;
/* initialize ops */
callback_impl->callback.ops =
@@ -160,17 +160,17 @@
callback_impl->callback.ops->set_error =
axis2_callback_set_error;
- callback_impl->callback.ops->set_data =
- axis2_callback_set_data;
+ callback_impl->callback.ops->set_data =
+ axis2_callback_set_data;
- callback_impl->callback.ops->get_data =
- axis2_callback_get_data;
+ callback_impl->callback.ops->get_data =
+ axis2_callback_get_data;
- callback_impl->callback.ops->set_on_complete =
- axis2_callback_set_on_complete;
+ callback_impl->callback.ops->set_on_complete =
+ axis2_callback_set_on_complete;
- callback_impl->callback.ops->set_on_error =
- axis2_callback_set_on_error;
+ callback_impl->callback.ops->set_on_error =
+ axis2_callback_set_on_error;
callback_impl->callback.ops->free =
axis2_callback_free;
@@ -275,39 +275,39 @@
axis2_status_t AXIS2_CALL
axis2_callback_set_data(struct axis2_callback *callback,
- void *data)
+ void *data)
{
- axis2_callback_impl_t *callback_impl = NULL;
-
- callback_impl = AXIS2_INTF_TO_IMPL(callback);
+ axis2_callback_impl_t *callback_impl = NULL;
+
+ callback_impl = AXIS2_INTF_TO_IMPL(callback);
- callback_impl->data = (void*)data;
+ callback_impl->data = (void*)data;
- return AXIS2_SUCCESS;
+ return AXIS2_SUCCESS;
}
void * AXIS2_CALL
axis2_callback_get_data(struct axis2_callback *callback)
{
- axis2_callback_impl_t *callback_impl = NULL;
+ axis2_callback_impl_t *callback_impl = NULL;
- callback_impl = AXIS2_INTF_TO_IMPL(callback);
+ callback_impl = AXIS2_INTF_TO_IMPL(callback);
- return callback_impl->data;
+ return callback_impl->data;
}
void AXIS2_CALL
axis2_callback_set_on_complete(struct axis2_callback *callback,
- on_complete_func_ptr func)
+ on_complete_func_ptr func)
{
- callback->ops->on_complete = func;
+ callback->ops->on_complete = func;
}
void AXIS2_CALL
axis2_callback_set_on_error(struct axis2_callback *callback,
- on_error_func_ptr func)
+ on_error_func_ptr func)
{
- callback->ops->on_error = func;
+ callback->ops->on_error = func;
}
axis2_status_t AXIS2_CALL
Modified: webservices/axis2/trunk/c/modules/core/clientapi/callback_recv.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/clientapi/callback_recv.h?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/clientapi/callback_recv.h (original)
+++ webservices/axis2/trunk/c/modules/core/clientapi/callback_recv.h Sat Jun 3 20:09:08 2006
@@ -69,7 +69,7 @@
/**
* @brief Message Context struct
- * Axis2 Message Context
+ * Axis2 Message Context
*/
struct axis2_callback_recv
{
Modified: webservices/axis2/trunk/c/modules/core/clientapi/diclient/di_client.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/clientapi/diclient/di_client.c?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/clientapi/diclient/di_client.c (original)
+++ webservices/axis2/trunk/c/modules/core/clientapi/diclient/di_client.c Sat Jun 3 20:09:08 2006
@@ -48,7 +48,7 @@
/**
* @brief Dynamic Invocation Client struct impl
- * Dynamic Invocation Client
+ * Dynamic Invocation Client
*/
typedef struct axis2_diclient_impl
{
@@ -67,25 +67,25 @@
} axis2_diclient_impl_t;
#define AXIS2_INTF_TO_IMPL(diclient) \
- ((axis2_diclient_impl_t *)diclient)
+ ((axis2_diclient_impl_t *)diclient)
/************************* Function prototypes ********************************/
axis2_status_t AXIS2_CALL
- axis2_diclient_free (axis2_diclient_t *diclient,
- const axis2_env_t *env);
+ axis2_diclient_free (axis2_diclient_t *diclient,
+ const axis2_env_t *env);
axis2_status_t AXIS2_CALL
axis2_diclient_invoke(axis2_diclient_t *diclient,
const axis2_env_t *env,
- axis2_om_node_t *node,
+ axis2_om_node_t *node,
axis2_op_t *op);
axis2_status_t AXIS2_CALL
axis2_diclient_init(axis2_diclient_t *diclient,
const axis2_env_t *env,
- axis2_char_t *wsdl_file_name);
+ axis2_char_t *wsdl_file_name);
axis2_status_t *AXIS2_CALL
axis2_diclient_set_address_and_action_for_op(axis2_diclient_t *diclient,
@@ -132,13 +132,13 @@
{
axis2_diclient_impl_t *diclient_impl = NULL;
- AXIS2_ENV_CHECK(env, NULL);
-
- diclient_impl = (axis2_diclient_impl_t *) AXIS2_MALLOC(env->allocator,
- sizeof(axis2_diclient_impl_t));
-
-
- if(NULL == diclient_impl)
+ AXIS2_ENV_CHECK(env, NULL);
+
+ diclient_impl = (axis2_diclient_impl_t *) AXIS2_MALLOC(env->allocator,
+ sizeof(axis2_diclient_impl_t));
+
+
+ if(NULL == diclient_impl)
{
AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
return NULL;
@@ -155,30 +155,30 @@
diclient_impl->wsa_action = NULL;
diclient_impl->address= NULL;
diclient_impl->diclient.ops = NULL;
-
- diclient_impl->diclient.ops =
- AXIS2_MALLOC (env->allocator, sizeof(axis2_diclient_ops_t));
- if(NULL == diclient_impl->diclient.ops)
+
+ diclient_impl->diclient.ops =
+ AXIS2_MALLOC (env->allocator, sizeof(axis2_diclient_ops_t));
+ if(NULL == diclient_impl->diclient.ops)
{
axis2_diclient_free(&(diclient_impl->diclient), env);
- AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+ AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
return NULL;
}
- diclient_impl->diclient.ops->free = axis2_diclient_free;
- diclient_impl->diclient.ops->init = axis2_diclient_init;
- diclient_impl->diclient.ops->invoke = axis2_diclient_invoke;
+ diclient_impl->diclient.ops->free = axis2_diclient_free;
+ diclient_impl->diclient.ops->init = axis2_diclient_init;
+ diclient_impl->diclient.ops->invoke = axis2_diclient_invoke;
diclient_impl->diclient.ops->set_address_and_action_for_op =
axis2_diclient_set_address_and_action_for_op;
- diclient_impl->diclient.ops->get_endpoints = axis2_diclient_get_endpoints;
- diclient_impl->diclient.ops->get_services = axis2_diclient_get_services;
- diclient_impl->diclient.ops->get_operations = axis2_diclient_get_operations;
+ diclient_impl->diclient.ops->get_endpoints = axis2_diclient_get_endpoints;
+ diclient_impl->diclient.ops->get_services = axis2_diclient_get_services;
+ diclient_impl->diclient.ops->get_operations = axis2_diclient_get_operations;
diclient_impl->diclient.ops->get_param_localname =
axis2_diclient_get_param_localname;
diclient_impl->diclient.ops->get_param_namespace =
axis2_diclient_get_param_namespace;
-
- return &(diclient_impl->diclient);
+
+ return &(diclient_impl->diclient);
}
/***************************Function implementation****************************/
@@ -229,7 +229,7 @@
diclient_impl->address = NULL;
}
- if(NULL != diclient->ops)
+ if(NULL != diclient->ops)
AXIS2_FREE(env->allocator, diclient->ops);
if(diclient_impl)
@@ -243,29 +243,29 @@
axis2_status_t AXIS2_CALL
axis2_diclient_init(axis2_diclient_t *diclient,
const axis2_env_t *env,
- axis2_char_t *wsdl_file_name)
+ axis2_char_t *wsdl_file_name)
{
axis2_diclient_impl_t *diclient_impl = NULL;
- axis2_wsdl_pump_t *wsdl_pump = NULL;
- axis2_hash_t *endpoints = NULL;
- axis2_hash_index_t *index1 = NULL;
- axis2_hash_t *ops = NULL;
- axis2_wsdl_svc_t *wsdl_svc = NULL;
- axis2_wsdl_endpoint_t *wsdl_endpoint = NULL;
- axis2_wsdl_binding_t *wsdl_binding = NULL;
- axis2_wsdl_interface_t *wsdl_interface = NULL;
- axis2_wsdl_op_t *wsdl_op = NULL;
+ axis2_wsdl_pump_t *wsdl_pump = NULL;
+ axis2_hash_t *endpoints = NULL;
+ axis2_hash_index_t *index1 = NULL;
+ axis2_hash_t *ops = NULL;
+ axis2_wsdl_svc_t *wsdl_svc = NULL;
+ axis2_wsdl_endpoint_t *wsdl_endpoint = NULL;
+ axis2_wsdl_binding_t *wsdl_binding = NULL;
+ axis2_wsdl_interface_t *wsdl_interface = NULL;
+ axis2_wsdl_op_t *wsdl_op = NULL;
axis2_svc_t *svc = NULL;
- axis2_op_t *op = NULL;
- axis2_qname_t *op_qname = NULL;
- axis2_char_t *op_name = NULL;
+ axis2_op_t *op = NULL;
+ axis2_qname_t *op_qname = NULL;
+ axis2_char_t *op_name = NULL;
AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
AXIS2_PARAM_CHECK(env->error, wsdl_file_name, AXIS2_FAILURE);
diclient_impl = AXIS2_INTF_TO_IMPL(diclient);
diclient_impl->parser = axis2_wsdl4c_parser_create(wsdl_file_name, "");
- diclient_impl->wsdl_desc = axis2_wsdl_desc_create(env);
+ diclient_impl->wsdl_desc = axis2_wsdl_desc_create(env);
if(!diclient_impl->op_map)
{
diclient_impl->op_map = axis2_hash_make(env);
@@ -275,78 +275,78 @@
diclient_impl->endpoint_map = axis2_hash_make(env);
}
wsdl_pump = axis2_wsdl_pump_create(env, diclient_impl->wsdl_desc, diclient_impl->parser);
- if(!wsdl_pump)
- {
- return AXIS2_FAILURE;
- }
- AXIS2_WSDL_PUMP_PUMP(wsdl_pump, env);
+ if(!wsdl_pump)
+ {
+ return AXIS2_FAILURE;
+ }
+ AXIS2_WSDL_PUMP_PUMP(wsdl_pump, env);
diclient_impl->svc_map = AXIS2_WSDL_DESC_GET_SVCS(diclient_impl->wsdl_desc, env);
for (index1 = axis2_hash_first (diclient_impl->svc_map, env); index1;
index1 = axis2_hash_next (env, index1))
{
void *value = NULL;
- axis2_hash_index_t *index2 = NULL;
+ axis2_hash_index_t *index2 = NULL;
- axis2_hash_this (index1, NULL, NULL, &value);
- wsdl_svc = (axis2_wsdl_svc_t *) value;
- if(!wsdl_svc)
- {
- return AXIS2_FAILURE;
- }
- svc = axis2_svc_create_with_wsdl_svc(env, wsdl_svc);
+ axis2_hash_this (index1, NULL, NULL, &value);
+ wsdl_svc = (axis2_wsdl_svc_t *) value;
+ if(!wsdl_svc)
+ {
+ return AXIS2_FAILURE;
+ }
+ svc = axis2_svc_create_with_wsdl_svc(env, wsdl_svc);
if(!svc) return AXIS2_FAILURE;
- endpoints = AXIS2_WSDL_SVC_GET_ENDPOINTS(wsdl_svc, env);
+ endpoints = AXIS2_WSDL_SVC_GET_ENDPOINTS(wsdl_svc, env);
for (index2 = axis2_hash_first (endpoints, env); index2;
index2 = axis2_hash_next (env, index2))
{
- axis2_hash_index_t *index3 = NULL;
+ axis2_hash_index_t *index3 = NULL;
void *value = NULL;
axis2_qname_t *endpoint_qname = NULL;
axis2_char_t *endpoint_qname_str = NULL;
- axis2_hash_this(index2, NULL, NULL, &value);
- wsdl_endpoint = (axis2_wsdl_endpoint_t *) value;
- if(!wsdl_endpoint)
- {
- return AXIS2_FAILURE;
- }
+ axis2_hash_this(index2, NULL, NULL, &value);
+ wsdl_endpoint = (axis2_wsdl_endpoint_t *) value;
+ if(!wsdl_endpoint)
+ {
+ return AXIS2_FAILURE;
+ }
endpoint_qname = AXIS2_WSDL_ENDPOINT_GET_NAME(wsdl_endpoint, env);
endpoint_qname_str = AXIS2_QNAME_TO_STRING(endpoint_qname, env);
axis2_hash_set(diclient_impl->endpoint_map, endpoint_qname_str,
AXIS2_HASH_KEY_STRING, wsdl_endpoint);
AXIS2_WSDL_SVC_SET_ENDPOINT(wsdl_svc, env, wsdl_endpoint);
wsdl_binding = AXIS2_WSDL_ENDPOINT_GET_BINDING(wsdl_endpoint, env);
- if(!wsdl_binding)
- {
- return AXIS2_FAILURE;
- }
- wsdl_interface = AXIS2_WSDL_BINDING_GET_BOUND_INTERFACE(wsdl_binding, env);
- if(!wsdl_interface)
- {
- return AXIS2_FAILURE;
- }
+ if(!wsdl_binding)
+ {
+ return AXIS2_FAILURE;
+ }
+ wsdl_interface = AXIS2_WSDL_BINDING_GET_BOUND_INTERFACE(wsdl_binding, env);
+ if(!wsdl_interface)
+ {
+ return AXIS2_FAILURE;
+ }
AXIS2_WSDL_SVC_SET_SVC_INTERFACE(wsdl_svc, env, wsdl_interface);
- ops = AXIS2_WSDL_INTERFACE_GET_OPS(wsdl_interface, env);
+ ops = AXIS2_WSDL_INTERFACE_GET_OPS(wsdl_interface, env);
for (index3 = axis2_hash_first (ops, env); index3;
index3 = axis2_hash_next (env, index3))
{
void *value = NULL;
- axis2_hash_this(index3, NULL, NULL, &value);
- wsdl_op = (axis2_wsdl_op_t *) value;
- if(!wsdl_op)
- {
- return AXIS2_FAILURE;
- }
- op = axis2_op_create_with_wsdl_op(env, wsdl_op);
+ axis2_hash_this(index3, NULL, NULL, &value);
+ wsdl_op = (axis2_wsdl_op_t *) value;
+ if(!wsdl_op)
+ {
+ return AXIS2_FAILURE;
+ }
+ op = axis2_op_create_with_wsdl_op(env, wsdl_op);
if(!op)
- {
- return AXIS2_FAILURE;
- }
+ {
+ return AXIS2_FAILURE;
+ }
AXIS2_OP_SET_PARENT(op, env, svc);
- op_qname = AXIS2_OP_GET_QNAME(op, env);
- op_name = AXIS2_QNAME_GET_LOCALPART(op_qname, env);
+ op_qname = AXIS2_OP_GET_QNAME(op, env);
+ op_name = AXIS2_QNAME_GET_LOCALPART(op_qname, env);
axis2_hash_set(diclient_impl->op_map, op_name,
AXIS2_HASH_KEY_STRING, op);
}
@@ -358,7 +358,7 @@
axis2_status_t AXIS2_CALL
axis2_diclient_invoke(axis2_diclient_t *diclient,
const axis2_env_t *env,
- axis2_om_node_t *node,
+ axis2_om_node_t *node,
axis2_op_t *op)
{
axis2_diclient_impl_t *diclient_impl = NULL;
@@ -419,14 +419,14 @@
/* Get the configuration context */
conf = AXIS2_CONF_CTX_GET_CONF(
- AXIS2_SVC_CTX_GET_CONF_CTX(
- AXIS2_MEP_CLIENT_GET_SVC_CTX(mep_client, env),
+ AXIS2_SVC_CTX_GET_CONF_CTX(
+ AXIS2_MEP_CLIENT_GET_SVC_CTX(mep_client, env),
env),
env);
- /* svc = axis2_svc_create_with_wsdl_svc(env, wsdl_svc);*/
+ /* svc = axis2_svc_create_with_wsdl_svc(env, wsdl_svc);*/
svc = AXIS2_OP_GET_PARENT(op, env);
- /* echo service is not in the configuration context. We need to create the
+ /* echo service is not in the configuration context. We need to create the
* operation and add it to service context. Then add service context into
* configuration context.
*/
@@ -454,7 +454,7 @@
printf("\necho stub invoke SUCCESSFUL!\n");
writer = axis2_xml_writer_create_for_memory(env, NULL, AXIS2_TRUE, 0,
- AXIS2_XML_PARSER_TYPE_BUFFER);
+ AXIS2_XML_PARSER_TYPE_BUFFER);
om_output = axis2_om_output_create (env, writer);
AXIS2_OM_NODE_SERIALIZE (ret_node, env, om_output);
@@ -463,8 +463,8 @@
}
else
{
- AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "Stub invoke failed: Error code:"
- " %d :: %s", env->error->error_number,
+ AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "Stub invoke failed: Error code:"
+ " %d :: %s", env->error->error_number,
AXIS2_ERROR_GET_MESSAGE(env->error));
printf("echo stub invoke failed!\n");
return AXIS2_FAILURE;
Modified: webservices/axis2/trunk/c/modules/core/clientapi/listener_manager.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/clientapi/listener_manager.c?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/clientapi/listener_manager.c (original)
+++ webservices/axis2/trunk/c/modules/core/clientapi/listener_manager.c Sat Jun 3 20:09:08 2006
@@ -195,7 +195,7 @@
sizeof(axis2_listener_manager_worker_func_args_t));
if(NULL == arg_list)
{
- return AXIS2_FAILURE;
+ return AXIS2_FAILURE;
}
arg_list->env = env;
arg_list->listner_manager = listener_manager_impl;
@@ -351,14 +351,14 @@
axis2_listener_manager_worker_func(axis2_thread_t *thd, void *data)
{
axis2_listener_manager_worker_func_args_t *args_list = NULL;
- const axis2_env_t *th_env = NULL;
+ const axis2_env_t *th_env = NULL;
args_list = (axis2_listener_manager_worker_func_args_t *) data;
if (!args_list)
return NULL;
AXIS2_ENV_CHECK(args_list->env, AXIS2_FAILURE);
- th_env = axis2_init_thread_env(args_list->env);
+ th_env = axis2_init_thread_env(args_list->env);
if (args_list->listener)
{
AXIS2_TRANSPORT_RECEIVER_START(args_list->listener, th_env);
Modified: webservices/axis2/trunk/c/modules/core/clientapi/listener_manager.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/clientapi/listener_manager.h?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/clientapi/listener_manager.h (original)
+++ webservices/axis2/trunk/c/modules/core/clientapi/listener_manager.h Sat Jun 3 20:09:08 2006
@@ -89,7 +89,7 @@
/**
* @brief Message Context struct
- * Axis2 Message Context
+ * Axis2 Message Context
*/
struct axis2_listener_manager
{
Modified: webservices/axis2/trunk/c/modules/core/clientapi/msg_sender.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/clientapi/msg_sender.c?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/clientapi/msg_sender.c (original)
+++ webservices/axis2/trunk/c/modules/core/clientapi/msg_sender.c Sat Jun 3 20:09:08 2006
@@ -29,7 +29,7 @@
axis2_mep_client_t *base;
axis2_transport_out_desc_t *sender_transport;
axis2_op_t *op_template;
- axis2_msg_info_headers_t *msg_info_headers;
+ axis2_msg_info_headers_t *msg_info_headers;
};
/** Interface to implementation conversion macro */
@@ -38,36 +38,36 @@
/***************************** Function headers *******************************/
axis2_status_t AXIS2_CALL
axis2_msg_sender_send(axis2_msg_sender_t *msg_sender, const axis2_env_t *env,
- axis2_op_t *op,
- axis2_msg_ctx_t *msg_ctx);
+ axis2_op_t *op,
+ axis2_msg_ctx_t *msg_ctx);
axis2_status_t AXIS2_CALL
axis2_msg_sender_set_transport_info(axis2_msg_sender_t *msg_sender,
- const axis2_env_t *env,
- axis2_char_t *sender_transport);
+ const axis2_env_t *env,
+ axis2_char_t *sender_transport);
axis2_status_t AXIS2_CALL
axis2_msg_sender_send_with_om(struct axis2_msg_sender *msg_sender,
- const axis2_env_t *env,
- axis2_char_t *op_name,
- axis2_om_node_t *om_node_to_send);
+ const axis2_env_t *env,
+ axis2_char_t *op_name,
+ axis2_om_node_t *om_node_to_send);
axis2_status_t AXIS2_CALL
axis2_msg_sender_send_with_soap(axis2_msg_sender_t *msg_sender,
- const axis2_env_t *env,
- axis2_char_t *op_name,
- axis2_soap_envelope_t *envelope);
+ const axis2_env_t *env,
+ axis2_char_t *op_name,
+ axis2_soap_envelope_t *envelope);
axis2_msg_info_headers_t* AXIS2_CALL
axis2_msg_sender_get_msg_info_headers(axis2_msg_sender_t *msg_sender,
- const axis2_env_t *env);
-
+ const axis2_env_t *env);
+
axis2_status_t AXIS2_CALL
axis2_msg_sender_free(struct axis2_msg_sender *msg_sender, const axis2_env_t *env);
-
+
/***************************** End of function headers ************************/
axis2_msg_sender_t* AXIS2_CALL axis2_msg_sender_create(const axis2_env_t *env,
- axis2_svc_ctx_t *svc_ctx)
+ axis2_svc_ctx_t *svc_ctx)
{
axis2_msg_sender_impl_t *msg_sender_impl = NULL;
@@ -75,8 +75,8 @@
AXIS2_PARAM_CHECK(env->error, svc_ctx, NULL);
msg_sender_impl = AXIS2_MALLOC( env->allocator,
- sizeof(axis2_msg_sender_impl_t));
-
+ sizeof(axis2_msg_sender_impl_t));
+
if (NULL == msg_sender_impl)
{
AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
@@ -87,21 +87,21 @@
msg_sender_impl->base = NULL;
msg_sender_impl->sender_transport = NULL;
msg_sender_impl->op_template = NULL;
- msg_sender_impl->msg_info_headers = NULL;
+ msg_sender_impl->msg_info_headers = NULL;
msg_sender_impl->base = axis2_mep_client_create(env, svc_ctx,
- AXIS2_MEP_URI_IN_ONLY);
+ AXIS2_MEP_URI_IN_ONLY);
if (NULL == msg_sender_impl->base)
{
axis2_msg_sender_free(&(msg_sender_impl->msg_sender), env);
return NULL;
}
- msg_sender_impl->msg_info_headers = axis2_msg_info_headers_create(env,
- NULL, NULL);
+ msg_sender_impl->msg_info_headers = axis2_msg_info_headers_create(env,
+ NULL, NULL);
/* initialize ops */
msg_sender_impl->msg_sender.ops = AXIS2_MALLOC(env->allocator,
- sizeof(axis2_msg_sender_ops_t));
+ sizeof(axis2_msg_sender_ops_t));
if (NULL == msg_sender_impl->msg_sender.ops)
{
AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
@@ -111,13 +111,13 @@
msg_sender_impl->msg_sender.ops->send = axis2_msg_sender_send;
msg_sender_impl->msg_sender.ops->set_transport_info =
- axis2_msg_sender_set_transport_info;
+ axis2_msg_sender_set_transport_info;
msg_sender_impl->msg_sender.ops->send_with_om =
- axis2_msg_sender_send_with_om;
+ axis2_msg_sender_send_with_om;
msg_sender_impl->msg_sender.ops->send_with_soap =
- axis2_msg_sender_send_with_soap;
- msg_sender_impl->msg_sender.ops->get_msg_info_headers =
- axis2_msg_sender_get_msg_info_headers;
+ axis2_msg_sender_send_with_soap;
+ msg_sender_impl->msg_sender.ops->get_msg_info_headers =
+ axis2_msg_sender_get_msg_info_headers;
msg_sender_impl->msg_sender.ops->free = axis2_msg_sender_free;
return &(msg_sender_impl->msg_sender);
@@ -152,126 +152,126 @@
axis2_status_t AXIS2_CALL
axis2_msg_sender_send(axis2_msg_sender_t *msg_sender, const axis2_env_t *env,
- axis2_op_t *op,
- axis2_msg_ctx_t *msg_ctx)
+ axis2_op_t *op,
+ axis2_msg_ctx_t *msg_ctx)
{
axis2_msg_sender_impl_t *msg_sender_impl = NULL;
axis2_status_t status = AXIS2_SUCCESS;
axis2_svc_ctx_t *svc_ctx = NULL;
axis2_char_t *message_id = NULL;
- axis2_conf_ctx_t *sys_context = NULL;
- axis2_engine_t *engine = NULL;
-
+ axis2_conf_ctx_t *sys_context = NULL;
+ axis2_engine_t *engine = NULL;
+
AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
msg_sender_impl = AXIS2_INTF_TO_IMPL(msg_sender);
status = AXIS2_MEP_CLIENT_PREPARE_INVOCATION(msg_sender_impl->base, env,
- op, msg_ctx);
+ op, msg_ctx);
if (status != AXIS2_SUCCESS)
return AXIS2_FAILURE;
- AXIS2_MSG_CTX_SET_MSG_INFO_HEADERS(msg_ctx, env,
- msg_sender_impl->msg_info_headers);
- message_id = axis2_uuid_gen(env);
+ AXIS2_MSG_CTX_SET_MSG_INFO_HEADERS(msg_ctx, env,
+ msg_sender_impl->msg_info_headers);
+ message_id = axis2_uuid_gen(env);
AXIS2_MSG_CTX_SET_MESSAGE_ID(msg_ctx, env, message_id);
-
+
svc_ctx = AXIS2_MEP_CLIENT_GET_SVC_CTX(msg_sender_impl->base, env);
if (NULL == svc_ctx)
return AXIS2_FAILURE;
-
- if(NULL == msg_sender_impl->sender_transport)
- {
- msg_sender_impl->sender_transport = AXIS2_MEP_CLIENT_INFER_TRANSPORT(
- msg_sender_impl->base, env,
- AXIS2_MSG_INFO_HEADERS_GET_TO(
- msg_sender_impl->msg_info_headers, env));
- }
- AXIS2_MSG_CTX_SET_TRANSPORT_OUT_DESC(msg_ctx, env,
- msg_sender_impl->sender_transport);
-
- sys_context = AXIS2_SVC_CTX_GET_CONF_CTX(svc_ctx, env);
- if(NULL == sys_context)
- return AXIS2_FAILURE;
- AXIS2_MSG_CTX_SET_OP_CTX(msg_ctx, env, AXIS2_OP_FIND_OP_CTX(op, env,
- msg_ctx, svc_ctx));
- engine = axis2_engine_create(env, sys_context);
- if(NULL == engine)
- return AXIS2_FAILURE;
- return AXIS2_ENGINE_SEND(engine, env, msg_ctx);
+
+ if(NULL == msg_sender_impl->sender_transport)
+ {
+ msg_sender_impl->sender_transport = AXIS2_MEP_CLIENT_INFER_TRANSPORT(
+ msg_sender_impl->base, env,
+ AXIS2_MSG_INFO_HEADERS_GET_TO(
+ msg_sender_impl->msg_info_headers, env));
+ }
+ AXIS2_MSG_CTX_SET_TRANSPORT_OUT_DESC(msg_ctx, env,
+ msg_sender_impl->sender_transport);
+
+ sys_context = AXIS2_SVC_CTX_GET_CONF_CTX(svc_ctx, env);
+ if(NULL == sys_context)
+ return AXIS2_FAILURE;
+ AXIS2_MSG_CTX_SET_OP_CTX(msg_ctx, env, AXIS2_OP_FIND_OP_CTX(op, env,
+ msg_ctx, svc_ctx));
+ engine = axis2_engine_create(env, sys_context);
+ if(NULL == engine)
+ return AXIS2_FAILURE;
+ return AXIS2_ENGINE_SEND(engine, env, msg_ctx);
}
axis2_status_t AXIS2_CALL
axis2_msg_sender_set_transport_info(axis2_msg_sender_t *msg_sender,
- const axis2_env_t *env,
- axis2_char_t *sender_transport)
+ const axis2_env_t *env,
+ axis2_char_t *sender_transport)
{
axis2_msg_sender_impl_t *msg_sender_impl = NULL;
axis2_conf_ctx_t *conf_ctx = NULL;
axis2_conf_t *conf = NULL;
axis2_qname_t *qname = NULL;
- axis2_svc_ctx_t *svc_ctx = NULL;
+ axis2_svc_ctx_t *svc_ctx = NULL;
AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
msg_sender_impl = AXIS2_INTF_TO_IMPL(msg_sender);
- svc_ctx = AXIS2_MEP_CLIENT_GET_SVC_CTX(msg_sender_impl->base, env);
+ svc_ctx = AXIS2_MEP_CLIENT_GET_SVC_CTX(msg_sender_impl->base, env);
conf_ctx = AXIS2_SVC_CTX_GET_CONF_CTX(svc_ctx, env);
if (NULL == conf_ctx)
{
return AXIS2_FAILURE;
- }
- conf = AXIS2_CONF_CTX_GET_CONF(conf_ctx, env);
- if (NULL == conf)
- {
- return AXIS2_FAILURE;
- }
- qname = axis2_qname_create(env, sender_transport, NULL, NULL);
- if (NULL == qname)
- return AXIS2_FAILURE;
- msg_sender_impl->sender_transport = AXIS2_CONF_GET_TRANSPORT_OUT(
- conf, env, qname);
- AXIS2_QNAME_FREE(qname, env);
- if(NULL == msg_sender_impl->sender_transport)
- {
- AXIS2_ERROR_SET(env->error, AXIS2_ERROR_UNKNOWN_TRANSPORT,
- AXIS2_FAILURE);
- return AXIS2_FAILURE;
- }
- return AXIS2_SUCCESS;
+ }
+ conf = AXIS2_CONF_CTX_GET_CONF(conf_ctx, env);
+ if (NULL == conf)
+ {
+ return AXIS2_FAILURE;
+ }
+ qname = axis2_qname_create(env, sender_transport, NULL, NULL);
+ if (NULL == qname)
+ return AXIS2_FAILURE;
+ msg_sender_impl->sender_transport = AXIS2_CONF_GET_TRANSPORT_OUT(
+ conf, env, qname);
+ AXIS2_QNAME_FREE(qname, env);
+ if(NULL == msg_sender_impl->sender_transport)
+ {
+ AXIS2_ERROR_SET(env->error, AXIS2_ERROR_UNKNOWN_TRANSPORT,
+ AXIS2_FAILURE);
+ return AXIS2_FAILURE;
+ }
+ return AXIS2_SUCCESS;
}
axis2_status_t AXIS2_CALL
axis2_msg_sender_send_with_om(struct axis2_msg_sender *msg_sender,
- const axis2_env_t *env,
- axis2_char_t *op_name,
- axis2_om_node_t *om_node_to_send)
+ const axis2_env_t *env,
+ axis2_char_t *op_name,
+ axis2_om_node_t *om_node_to_send)
{
axis2_msg_sender_impl_t *msg_sender_impl = NULL;
axis2_soap_envelope_t *soap_envelope = NULL;
- axis2_status_t status = AXIS2_FAILURE;
-
+ axis2_status_t status = AXIS2_FAILURE;
+
AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
- AXIS2_PARAM_CHECK(env->error, op_name, AXIS2_FAILURE);
+ AXIS2_PARAM_CHECK(env->error, op_name, AXIS2_FAILURE);
AXIS2_PARAM_CHECK(env->error, om_node_to_send, AXIS2_FAILURE);
-
+
msg_sender_impl = AXIS2_INTF_TO_IMPL(msg_sender);
- soap_envelope = AXIS2_MEP_CLIENT_CREATE_DEFAULT_SOAP_ENVELOPE(
- msg_sender_impl->base, env);
- /* TODO AXIS2_SOAP_BODY_ADD_CHILD(AXIS2_SOAP_ENVELOPE_GET_BODY(soap_envelope, env),
- env, om_node_to_send); */
-
- status = axis2_msg_sender_send_with_soap(msg_sender, env, op_name,
- soap_envelope);
- AXIS2_SOAP_ENVELOPE_FREE(soap_envelope, env);
- return status;
+ soap_envelope = AXIS2_MEP_CLIENT_CREATE_DEFAULT_SOAP_ENVELOPE(
+ msg_sender_impl->base, env);
+ /* TODO AXIS2_SOAP_BODY_ADD_CHILD(AXIS2_SOAP_ENVELOPE_GET_BODY(soap_envelope, env),
+ env, om_node_to_send); */
+
+ status = axis2_msg_sender_send_with_soap(msg_sender, env, op_name,
+ soap_envelope);
+ AXIS2_SOAP_ENVELOPE_FREE(soap_envelope, env);
+ return status;
}
axis2_status_t AXIS2_CALL
axis2_msg_sender_send_with_soap(axis2_msg_sender_t *msg_sender,
- const axis2_env_t *env,
- axis2_char_t *op_name,
- axis2_soap_envelope_t *envelope)
+ const axis2_env_t *env,
+ axis2_char_t *op_name,
+ axis2_soap_envelope_t *envelope)
{
axis2_msg_sender_impl_t *msg_sender_impl = NULL;
axis2_qname_t *op_qname = NULL;
@@ -279,59 +279,59 @@
axis2_op_t *op = NULL;
axis2_msg_ctx_t *msg_ctx = NULL;
axis2_conf_ctx_t *conf_ctx = NULL;
- axis2_svc_ctx_t *svc_ctx = NULL;
- axis2_status_t status = AXIS2_FAILURE;
+ axis2_svc_ctx_t *svc_ctx = NULL;
+ axis2_status_t status = AXIS2_FAILURE;
AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
- AXIS2_PARAM_CHECK(env->error, op_name, AXIS2_FAILURE);
- AXIS2_PARAM_CHECK(env->error, envelope, AXIS2_FAILURE);
+ AXIS2_PARAM_CHECK(env->error, op_name, AXIS2_FAILURE);
+ AXIS2_PARAM_CHECK(env->error, envelope, AXIS2_FAILURE);
msg_sender_impl = AXIS2_INTF_TO_IMPL(msg_sender);
- svc_ctx = AXIS2_MEP_CLIENT_GET_SVC_CTX(msg_sender_impl->base, env);
+ svc_ctx = AXIS2_MEP_CLIENT_GET_SVC_CTX(msg_sender_impl->base, env);
op_qname = axis2_qname_create(env, op_name, NULL, NULL);
-
- if(NULL == op_qname)
- {
- return AXIS2_FAILURE;
- }
- op = AXIS2_SVC_GET_OP_WITH_QNAME(svc, env, op_qname);
- if(NULL == op)
- {
- op = axis2_op_create_with_qname(env, op_qname);
- if(NULL == op)
- {
- return AXIS2_FAILURE;
- }
- AXIS2_OP_SET_REMAINING_PHASES_INFLOW(op, env,
- AXIS2_OP_GET_REMAINING_PHASES_INFLOW(
- msg_sender_impl->op_template, env));
- AXIS2_OP_SET_PHASES_OUTFLOW(op, env, AXIS2_OP_GET_PHASES_OUTFLOW(
- msg_sender_impl->op_template, env));
- AXIS2_OP_SET_PHASES_IN_FAULT_FLOW(op, env,
- AXIS2_OP_GET_PHASES_IN_FAULT_FLOW(
- msg_sender_impl->op_template, env));
- AXIS2_OP_SET_PHASES_OUT_FAULT_FLOW(op, env,
- AXIS2_OP_GET_PHASES_OUT_FAULT_FLOW(
- msg_sender_impl->op_template, env));
- AXIS2_SVC_ADD_OP(AXIS2_SVC_CTX_GET_SVC(svc_ctx, env), env, op);
-
- }
- conf_ctx = AXIS2_SVC_CTX_GET_CONF_CTX(svc_ctx, env);
- msg_ctx = axis2_msg_ctx_create(env, conf_ctx, NULL, NULL);
- AXIS2_MSG_CTX_SET_SOAP_ENVELOPE(msg_ctx, env, envelope);
- status = axis2_msg_sender_send(msg_sender, env, op, msg_ctx);
-
- AXIS2_MSG_CTX_FREE(msg_ctx, env);
- msg_ctx = NULL;
-
- return status;
+
+ if(NULL == op_qname)
+ {
+ return AXIS2_FAILURE;
+ }
+ op = AXIS2_SVC_GET_OP_WITH_QNAME(svc, env, op_qname);
+ if(NULL == op)
+ {
+ op = axis2_op_create_with_qname(env, op_qname);
+ if(NULL == op)
+ {
+ return AXIS2_FAILURE;
+ }
+ AXIS2_OP_SET_REMAINING_PHASES_INFLOW(op, env,
+ AXIS2_OP_GET_REMAINING_PHASES_INFLOW(
+ msg_sender_impl->op_template, env));
+ AXIS2_OP_SET_PHASES_OUTFLOW(op, env, AXIS2_OP_GET_PHASES_OUTFLOW(
+ msg_sender_impl->op_template, env));
+ AXIS2_OP_SET_PHASES_IN_FAULT_FLOW(op, env,
+ AXIS2_OP_GET_PHASES_IN_FAULT_FLOW(
+ msg_sender_impl->op_template, env));
+ AXIS2_OP_SET_PHASES_OUT_FAULT_FLOW(op, env,
+ AXIS2_OP_GET_PHASES_OUT_FAULT_FLOW(
+ msg_sender_impl->op_template, env));
+ AXIS2_SVC_ADD_OP(AXIS2_SVC_CTX_GET_SVC(svc_ctx, env), env, op);
+
+ }
+ conf_ctx = AXIS2_SVC_CTX_GET_CONF_CTX(svc_ctx, env);
+ msg_ctx = axis2_msg_ctx_create(env, conf_ctx, NULL, NULL);
+ AXIS2_MSG_CTX_SET_SOAP_ENVELOPE(msg_ctx, env, envelope);
+ status = axis2_msg_sender_send(msg_sender, env, op, msg_ctx);
+
+ AXIS2_MSG_CTX_FREE(msg_ctx, env);
+ msg_ctx = NULL;
+
+ return status;
}
axis2_msg_info_headers_t* AXIS2_CALL
axis2_msg_sender_get_msg_info_headers(axis2_msg_sender_t *msg_sender,
- const axis2_env_t *env)
+ const axis2_env_t *env)
{
- AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
- return AXIS2_INTF_TO_IMPL(msg_sender)->msg_info_headers;
+ AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
+ return AXIS2_INTF_TO_IMPL(msg_sender)->msg_info_headers;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org