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 na...@apache.org on 2006/09/01 14:46:04 UTC
svn commit: r439295 [4/15] - in /webservices/axis2/trunk/c: tools/
tools/codegen/ tools/codegen/include/ tools/codegen/samples/
tools/codegen/samples/client/ tools/codegen/samples/client/calculator/
tools/codegen/samples/client/interop_test_svc/ tools/...
Added: webservices/axis2/trunk/c/tools/codegen/samples/client/calculator/axis2_stub_calculator.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/tools/codegen/samples/client/calculator/axis2_stub_calculator.h?rev=439295&view=auto
==============================================================================
--- webservices/axis2/trunk/c/tools/codegen/samples/client/calculator/axis2_stub_calculator.h (added)
+++ webservices/axis2/trunk/c/tools/codegen/samples/client/calculator/axis2_stub_calculator.h Fri Sep 1 05:45:57 2006
@@ -0,0 +1,133 @@
+
+
+/**
+* axis2_stub_calculator.h
+*
+* This file was auto-generated from WSDL for "Calculator|http://localhost/axis/Calculator" service
+* by the Apache Axis2/C version: #axisVersion# #today#
+*/
+
+#include <stdio.h>
+#include <axiom.h>
+#include <axis2_util.h>
+#include <axiom_soap.h>
+#include <axis2_client.h>
+#include <axis2_stub.h>
+
+
+/* function prototypes - for header file*/
+/**
+ * axis2_stub_calculator_create
+ * create and return the stub with services populated
+ * params - env : environment ( mandatory)
+ * - client_home : Axis2/C home ( mandatory )
+ * - endpoint_uri : service endpoint uri( optional ) - if NULL default picked from wsdl used
+ */
+axis2_stub_t*
+axis2_stub_calculator_create (const axis2_env_t *env,
+ axis2_char_t *client_home,
+ axis2_char_t *endpoint_uri);
+/**
+ * axis2_stub_calculator_populate_services
+ * populate the svc in stub with the service and operations
+ */
+void axis2_stub_calculator_populate_services( axis2_stub_t *stub, const axis2_env_t *env);
+/**
+ * axis2_stub_calculator_get_endpoint_uri_from_wsdl
+ * return the endpoint URI picked from wsdl
+ */
+axis2_char_t *axis2_stub_calculator_get_endpoint_uri_from_wsdl ( const axis2_env_t *env );
+
+
+/**
+ * auto generated function declaration
+ * for "add|http://localhost/axis/Calculator" operation.
+ * @param content0
+ */
+
+axiom_node_t* axis2_stub_calculator_add( axis2_stub_t *stub, const axis2_env_t *env ,
+ axiom_node_t* content0);
+
+/**
+ * auto generated function declaration
+ * for "sub|http://localhost/axis/Calculator" operation.
+ * @param content2
+ */
+
+axiom_node_t* axis2_stub_calculator_sub( axis2_stub_t *stub, const axis2_env_t *env ,
+ axiom_node_t* content2);
+
+/**
+ * auto generated function declaration
+ * for "mul|http://localhost/axis/Calculator" operation.
+ * @param content4
+ */
+
+axiom_node_t* axis2_stub_calculator_mul( axis2_stub_t *stub, const axis2_env_t *env ,
+ axiom_node_t* content4);
+
+/**
+ * auto generated function declaration
+ * for "div|http://localhost/axis/Calculator" operation.
+ * @param content6
+ */
+
+axiom_node_t* axis2_stub_calculator_div( axis2_stub_t *stub, const axis2_env_t *env ,
+ axiom_node_t* content6);
+
+/**
+ * auto generated function declaration
+ * for "add|http://localhost/axis/Calculator" operation.
+ * @param content0
+ * @param on_complete callback to handle on complete
+ * @param on_error callback to handle on error
+ */
+
+
+void axis2_stub_calculator_add_start( axis2_stub_t *stub, const axis2_env_t *env, axiom_node_t* content0,
+ axis2_status_t ( AXIS2_CALL *on_complete ) (struct axis2_callback *, const axis2_env_t* ) ,
+ axis2_status_t ( AXIS2_CALL *on_error ) (struct axis2_callback *, const axis2_env_t*, int ) );
+
+
+/**
+ * auto generated function declaration
+ * for "sub|http://localhost/axis/Calculator" operation.
+ * @param content2
+ * @param on_complete callback to handle on complete
+ * @param on_error callback to handle on error
+ */
+
+
+void axis2_stub_calculator_sub_start( axis2_stub_t *stub, const axis2_env_t *env, axiom_node_t* content2,
+ axis2_status_t ( AXIS2_CALL *on_complete ) (struct axis2_callback *, const axis2_env_t* ) ,
+ axis2_status_t ( AXIS2_CALL *on_error ) (struct axis2_callback *, const axis2_env_t*, int ) );
+
+
+/**
+ * auto generated function declaration
+ * for "mul|http://localhost/axis/Calculator" operation.
+ * @param content4
+ * @param on_complete callback to handle on complete
+ * @param on_error callback to handle on error
+ */
+
+
+void axis2_stub_calculator_mul_start( axis2_stub_t *stub, const axis2_env_t *env, axiom_node_t* content4,
+ axis2_status_t ( AXIS2_CALL *on_complete ) (struct axis2_callback *, const axis2_env_t* ) ,
+ axis2_status_t ( AXIS2_CALL *on_error ) (struct axis2_callback *, const axis2_env_t*, int ) );
+
+
+/**
+ * auto generated function declaration
+ * for "div|http://localhost/axis/Calculator" operation.
+ * @param content6
+ * @param on_complete callback to handle on complete
+ * @param on_error callback to handle on error
+ */
+
+
+void axis2_stub_calculator_div_start( axis2_stub_t *stub, const axis2_env_t *env, axiom_node_t* content6,
+ axis2_status_t ( AXIS2_CALL *on_complete ) (struct axis2_callback *, const axis2_env_t* ) ,
+ axis2_status_t ( AXIS2_CALL *on_error ) (struct axis2_callback *, const axis2_env_t*, int ) );
+
+
Added: webservices/axis2/trunk/c/tools/codegen/samples/client/calculator/readme
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/tools/codegen/samples/client/calculator/readme?rev=439295&view=auto
==============================================================================
--- webservices/axis2/trunk/c/tools/codegen/samples/client/calculator/readme (added)
+++ webservices/axis2/trunk/c/tools/codegen/samples/client/calculator/readme Fri Sep 1 05:45:57 2006
@@ -0,0 +1,9 @@
+This is a sample generated from Axis2/C Codegen tool.
+
+sample source test_calcultor.c
+wsdl $AXIS2C_SRC/test/resources/wsdl/CalculatorDoc.wsdl
+
+Command to execute the code generation:
+( with converting names(cn) and indenting code(id) )
+
+w2c -uri $AXIS2C_SRC/test/resources/wsdl/CalculatorDoc.wsdl -cn -id
Propchange: webservices/axis2/trunk/c/tools/codegen/samples/client/calculator/readme
------------------------------------------------------------------------------
svn:executable = *
Added: webservices/axis2/trunk/c/tools/codegen/samples/client/calculator/test_calculator.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/tools/codegen/samples/client/calculator/test_calculator.c?rev=439295&view=auto
==============================================================================
--- webservices/axis2/trunk/c/tools/codegen/samples/client/calculator/test_calculator.c (added)
+++ webservices/axis2/trunk/c/tools/codegen/samples/client/calculator/test_calculator.c Fri Sep 1 05:45:57 2006
@@ -0,0 +1,92 @@
+#include "axis2_stub_calculator.h"
+
+axiom_node_t* generate_request_xml (const axis2_env_t* env );
+void handle_respone_xml ( const axis2_env_t* env, axiom_node_t* res );
+
+int main(int argc, char** argv)
+{
+ axis2_env_t* env = NULL;
+ axis2_char_t* client_home = NULL;
+
+ axis2_char_t* endpoint_uri =NULL;
+
+ axis2_stub_t* stub= NULL;
+
+ axiom_node_t* req = NULL;
+ axiom_node_t* res = NULL;
+
+ endpoint_uri = "http://localhost:9090/axis2/services/calculator";
+
+ env = axis2_env_create_all( "w2c_test.log", AXIS2_LOG_LEVEL_TRACE);
+
+ /* Set up deploy folder.*/
+ client_home = AXIS2_GETENV("AXIS2C_HOME");
+ if (!client_home)
+ client_home = "../../../deploy";
+
+ stub = axis2_stub_calculator_create( env, client_home , endpoint_uri);
+
+ req = generate_request_xml (env );
+
+ /* invoke the web service method*/
+ res = axis2_stub_calculator_add( stub, env, req );
+
+ handle_respone_xml ( env , res );
+
+ return 0;
+}
+
+axiom_node_t* generate_request_xml (const axis2_env_t* env )
+{
+ axiom_node_t *op_node = NULL;
+ axiom_element_t* op_ele = NULL;
+ axiom_node_t* value_node = NULL;
+ axiom_element_t * value_ele = NULL;
+ axiom_namespace_t *ns1 = NULL;
+ axis2_char_t *om_str = NULL;
+
+ int value1 = 13;
+ int value2 = 7;
+ char value_str[64];
+
+ ns1 = axiom_namespace_create (env, "http://localhost/axis/Calculator", "ns1");
+ op_ele = axiom_element_create(env, NULL, "add", ns1, &op_node);
+
+ value_ele = axiom_element_create(env, op_node, "in1", NULL, &value_node);
+ sprintf ( value_str, "%d", value1 );
+ AXIOM_ELEMENT_SET_TEXT(value_ele, env, value_str , value_node);
+
+ value_ele = axiom_element_create(env, op_node, "in2", NULL, &value_node);
+ sprintf ( value_str, "%d", value2 );
+ AXIOM_ELEMENT_SET_TEXT(value_ele, env, value_str , value_node);
+
+ printf ("requesting %d + %d \n", value1, value2 );
+ om_str = AXIOM_NODE_TO_STRING(op_node, env);
+ if (om_str)
+ printf("\nSending OM : %s\n", om_str);
+
+ return op_node;
+
+}
+
+void handle_respone_xml ( const axis2_env_t* env, axiom_node_t* res )
+{
+ axiom_node_t* node = NULL;
+ axiom_element_t* ele = NULL;
+ axis2_char_t* text = NULL;
+
+ if ( NULL ==res)
+ {
+ printf ("response null\n" );
+ return;
+ }
+ node = AXIOM_NODE_GET_FIRST_CHILD ( res, env );
+ if ( node )
+ {
+ ele = AXIOM_NODE_GET_DATA_ELEMENT (node, env );
+ text = AXIOM_ELEMENT_GET_TEXT ( ele,env, node );
+
+ printf ( "answer = %s\n", text );
+ }
+
+}
Propchange: webservices/axis2/trunk/c/tools/codegen/samples/client/calculator/test_calculator.c
------------------------------------------------------------------------------
svn:executable = *
Added: webservices/axis2/trunk/c/tools/codegen/samples/client/interop_test_svc/Makefile.am
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/tools/codegen/samples/client/interop_test_svc/Makefile.am?rev=439295&view=auto
==============================================================================
--- webservices/axis2/trunk/c/tools/codegen/samples/client/interop_test_svc/Makefile.am (added)
+++ webservices/axis2/trunk/c/tools/codegen/samples/client/interop_test_svc/Makefile.am Fri Sep 1 05:45:57 2006
@@ -0,0 +1,27 @@
+prgbindir=$(prefix)/bin/samples
+prgbin_PROGRAMS = stub_interop_test_port_type_doc_service
+samplesdir=$(prefix)/samples/client/stub_interop_test_port_type_doc_service
+
+stub_interop_test_port_type_doc_service_SOURCES = \
+ test_svc.c \
+ axis2_stub_interop_test_port_type_doc_service.c
+
+
+stub_interop_test_port_type_doc_service_LDADD = $(LDFLAGS) \
+ -L$(AXIS2C_HOME)/lib \
+ -laxis2_util \
+ -laxis2_axiom \
+ -laxis2_wsdl \
+ -laxis2_engine \
+ -laxis2_parser \
+ -lpthread \
+ -laxis2_http_sender \
+ -laxis2_http_receiver \
+ -lwoden \
+ -laxis2_xml_schema \
+ $(GUTHTHILA_LIBS) \
+ $(LIBXML2_LIBS)
+
+INCLUDES = -I$(AXIS2C_HOME)/include \
+ @UTILINC@ \
+ @AXIOMINC@
Propchange: webservices/axis2/trunk/c/tools/codegen/samples/client/interop_test_svc/Makefile.am
------------------------------------------------------------------------------
svn:executable = *
Added: webservices/axis2/trunk/c/tools/codegen/samples/client/interop_test_svc/axis2_stub_interop_test_port_type_doc_service.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/tools/codegen/samples/client/interop_test_svc/axis2_stub_interop_test_port_type_doc_service.c?rev=439295&view=auto
==============================================================================
--- webservices/axis2/trunk/c/tools/codegen/samples/client/interop_test_svc/axis2_stub_interop_test_port_type_doc_service.c (added)
+++ webservices/axis2/trunk/c/tools/codegen/samples/client/interop_test_svc/axis2_stub_interop_test_port_type_doc_service.c Fri Sep 1 05:45:57 2006
@@ -0,0 +1,1696 @@
+
+
+/**
+ * axis2_stub_interop_test_port_type_doc_service.c
+ *
+ * This file was auto-generated from WSDL for "InteropTestPortTypeDocService|http://soapinterop.org" service
+ * by the Apache Axis2/C version: #axisVersion# #today#
+ */
+
+#include "axis2_stub_interop_test_port_type_doc_service.h"
+
+/**
+ * axis2_stub_interop_test_port_type_doc_service C implementation
+ */
+
+axis2_stub_t*
+axis2_stub_interop_test_port_type_doc_service_create (const axis2_env_t *env,
+ axis2_char_t *client_home,
+ axis2_char_t *endpoint_uri)
+{
+ axis2_stub_t *stub = NULL;
+ axis2_endpoint_ref_t *endpoint_ref = NULL;
+ AXIS2_FUNC_PARAM_CHECK ( client_home, env, NULL)
+
+ if (NULL == endpoint_uri )
+ {
+ endpoint_uri = axis2_stub_interop_test_port_type_doc_service_get_endpoint_uri_from_wsdl( env );
+ }
+
+ endpoint_ref = axis2_endpoint_ref_create(env, endpoint_uri);
+
+ stub = axis2_stub_create_with_endpoint_ref_and_client_home ( env, endpoint_ref, client_home );
+ axis2_stub_interop_test_port_type_doc_service_populate_services( stub, env );
+ return stub;
+}
+
+
+void axis2_stub_interop_test_port_type_doc_service_populate_services( axis2_stub_t *stub, const axis2_env_t *env)
+{
+ axis2_svc_client_t *svc_client = NULL;
+ axis2_qname_t *svc_qname = NULL;
+ axis2_qname_t *op_qname = NULL;
+ axis2_svc_t *svc = NULL;
+ axis2_op_t *op = NULL;
+
+ /* Modifying the Service */
+ svc_client = AXIS2_STUB_GET_SVC_CLIENT (stub, env );
+ svc = (axis2_svc_t*)AXIS2_SVC_CLIENT_GET_AXIS_SERVICE ( svc_client, env );
+ axis2_qname_create(env,"InteropTestPortTypeDocService" ,NULL, NULL);
+ AXIS2_SVC_SET_QNAME (svc, env, svc_qname);
+
+ /* creating the operations*/
+
+
+
+ op_qname = axis2_qname_create(env,
+ "echoString" ,
+ "http://soapinterop.org",
+ NULL);
+ op = axis2_op_create_with_qname(env, op_qname);
+
+ AXIS2_OP_SET_MSG_EXCHANGE_PATTERN(op, env, AXIS2_MEP_URI_OUT_IN);
+
+ AXIS2_SVC_ADD_OP(svc, env, op);
+
+
+
+ op_qname = axis2_qname_create(env,
+ "echoStringArray" ,
+ "http://soapinterop.org",
+ NULL);
+ op = axis2_op_create_with_qname(env, op_qname);
+
+ AXIS2_OP_SET_MSG_EXCHANGE_PATTERN(op, env, AXIS2_MEP_URI_OUT_IN);
+
+ AXIS2_SVC_ADD_OP(svc, env, op);
+
+
+
+ op_qname = axis2_qname_create(env,
+ "echoInteger" ,
+ "http://soapinterop.org",
+ NULL);
+ op = axis2_op_create_with_qname(env, op_qname);
+
+ AXIS2_OP_SET_MSG_EXCHANGE_PATTERN(op, env, AXIS2_MEP_URI_OUT_IN);
+
+ AXIS2_SVC_ADD_OP(svc, env, op);
+
+
+
+ op_qname = axis2_qname_create(env,
+ "echoIntegerArray" ,
+ "http://soapinterop.org",
+ NULL);
+ op = axis2_op_create_with_qname(env, op_qname);
+
+ AXIS2_OP_SET_MSG_EXCHANGE_PATTERN(op, env, AXIS2_MEP_URI_OUT_IN);
+
+ AXIS2_SVC_ADD_OP(svc, env, op);
+
+
+
+ op_qname = axis2_qname_create(env,
+ "echoFloat" ,
+ "http://soapinterop.org",
+ NULL);
+ op = axis2_op_create_with_qname(env, op_qname);
+
+ AXIS2_OP_SET_MSG_EXCHANGE_PATTERN(op, env, AXIS2_MEP_URI_OUT_IN);
+
+ AXIS2_SVC_ADD_OP(svc, env, op);
+
+
+
+ op_qname = axis2_qname_create(env,
+ "echoFloatArray" ,
+ "http://soapinterop.org",
+ NULL);
+ op = axis2_op_create_with_qname(env, op_qname);
+
+ AXIS2_OP_SET_MSG_EXCHANGE_PATTERN(op, env, AXIS2_MEP_URI_OUT_IN);
+
+ AXIS2_SVC_ADD_OP(svc, env, op);
+
+
+
+ op_qname = axis2_qname_create(env,
+ "echoStruct" ,
+ "http://soapinterop.org",
+ NULL);
+ op = axis2_op_create_with_qname(env, op_qname);
+
+ AXIS2_OP_SET_MSG_EXCHANGE_PATTERN(op, env, AXIS2_MEP_URI_OUT_IN);
+
+ AXIS2_SVC_ADD_OP(svc, env, op);
+
+
+
+ op_qname = axis2_qname_create(env,
+ "echoStructArray" ,
+ "http://soapinterop.org",
+ NULL);
+ op = axis2_op_create_with_qname(env, op_qname);
+
+ AXIS2_OP_SET_MSG_EXCHANGE_PATTERN(op, env, AXIS2_MEP_URI_OUT_IN);
+
+ AXIS2_SVC_ADD_OP(svc, env, op);
+
+
+
+ op_qname = axis2_qname_create(env,
+ "echoVoid" ,
+ "http://soapinterop.org",
+ NULL);
+ op = axis2_op_create_with_qname(env, op_qname);
+
+ AXIS2_OP_SET_MSG_EXCHANGE_PATTERN(op, env, AXIS2_MEP_URI_OUT_IN);
+
+ AXIS2_SVC_ADD_OP(svc, env, op);
+
+
+
+ op_qname = axis2_qname_create(env,
+ "echoBase64" ,
+ "http://soapinterop.org",
+ NULL);
+ op = axis2_op_create_with_qname(env, op_qname);
+
+ AXIS2_OP_SET_MSG_EXCHANGE_PATTERN(op, env, AXIS2_MEP_URI_OUT_IN);
+
+ AXIS2_SVC_ADD_OP(svc, env, op);
+
+
+
+ op_qname = axis2_qname_create(env,
+ "echoDate" ,
+ "http://soapinterop.org",
+ NULL);
+ op = axis2_op_create_with_qname(env, op_qname);
+
+ AXIS2_OP_SET_MSG_EXCHANGE_PATTERN(op, env, AXIS2_MEP_URI_OUT_IN);
+
+ AXIS2_SVC_ADD_OP(svc, env, op);
+
+
+
+ op_qname = axis2_qname_create(env,
+ "echoHexBinary" ,
+ "http://soapinterop.org",
+ NULL);
+ op = axis2_op_create_with_qname(env, op_qname);
+
+ AXIS2_OP_SET_MSG_EXCHANGE_PATTERN(op, env, AXIS2_MEP_URI_OUT_IN);
+
+ AXIS2_SVC_ADD_OP(svc, env, op);
+
+
+
+ op_qname = axis2_qname_create(env,
+ "echoDecimal" ,
+ "http://soapinterop.org",
+ NULL);
+ op = axis2_op_create_with_qname(env, op_qname);
+
+ AXIS2_OP_SET_MSG_EXCHANGE_PATTERN(op, env, AXIS2_MEP_URI_OUT_IN);
+
+ AXIS2_SVC_ADD_OP(svc, env, op);
+
+
+
+ op_qname = axis2_qname_create(env,
+ "echoBoolean" ,
+ "http://soapinterop.org",
+ NULL);
+ op = axis2_op_create_with_qname(env, op_qname);
+
+ AXIS2_OP_SET_MSG_EXCHANGE_PATTERN(op, env, AXIS2_MEP_URI_OUT_IN);
+
+ AXIS2_SVC_ADD_OP(svc, env, op);
+
+
+}
+
+/**
+ *return end point picked from wsdl
+ */
+axis2_char_t*
+axis2_stub_interop_test_port_type_doc_service_get_endpoint_uri_from_wsdl ( const axis2_env_t *env )
+{
+ axis2_char_t *endpoint_uri = NULL;
+ /* set the address from here */
+
+ endpoint_uri = "http://localhost/axis/InteropBaseDoc";
+
+ return endpoint_uri;
+}
+
+
+
+/**
+ * auto generated method signature
+ * for "echoString|http://soapinterop.org" operation.
+ * @param content0
+ */
+axiom_node_t* axis2_stub_interop_test_port_type_doc_service_echo_string( axis2_stub_t *stub, const axis2_env_t *env ,
+ axiom_node_t* content0)
+{
+ axis2_svc_client_t *svc_client = NULL;
+ axis2_options_t *options = NULL;
+ axiom_node_t *ret_node = NULL;
+
+ const axis2_char_t *soap_action = NULL;
+ axis2_qname_t *op_qname = NULL;
+ axiom_node_t *payload = NULL;
+
+ payload = content0;
+
+
+ options = AXIS2_STUB_GET_OPTIONS( stub, env);
+ if ( NULL == options )
+ {
+ AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "options is null in stub: Error code:"
+ " %d :: %s", env->error->error_number,
+ AXIS2_ERROR_GET_MESSAGE(env->error));
+ return NULL;
+ }
+ svc_client = AXIS2_STUB_GET_SVC_CLIENT (stub, env );
+ soap_action = AXIS2_OPTIONS_GET_ACTION ( options, env );
+ if ( NULL == soap_action )
+ {
+ soap_action = "";
+ AXIS2_OPTIONS_SET_ACTION( options, env, soap_action );
+ }
+
+ AXIS2_OPTIONS_SET_SOAP_VERSION(options, env, AXIOM_SOAP11 );
+
+ op_qname = axis2_qname_create(env,
+ "echoString" ,
+ "http://soapinterop.org",
+ NULL);
+ ret_node = AXIS2_SVC_CLIENT_SEND_RECEIVE_WITH_OP_QNAME( svc_client, env, op_qname, payload);
+
+
+
+ return ret_node;
+
+}
+
+/**
+ * auto generated method signature for asynchronous invocations
+ * for "echoString|http://soapinterop.org" operation.
+ * @param content0
+ * @param on_complete callback to handle on complete
+ * @param on_error callback to handle on error
+ */
+
+ void axis2_stub_interop_test_port_type_doc_service_echo_string_start( axis2_stub_t *stub, const axis2_env_t *env, axiom_node_t* content0,
+ axis2_status_t ( AXIS2_CALL *on_complete ) (struct axis2_callback *, const axis2_env_t *) ,
+ axis2_status_t ( AXIS2_CALL *on_error ) (struct axis2_callback *, const axis2_env_t *, int ) )
+{
+
+ axis2_callback_t *callback = NULL;
+
+ axis2_svc_client_t *svc_client = NULL;
+ axis2_options_t *options = NULL;
+
+ const axis2_char_t *soap_action = NULL;
+ axiom_node_t *payload = NULL;
+
+
+ payload = content0;
+
+
+ options = AXIS2_STUB_GET_OPTIONS( stub, env);
+ if ( NULL == options )
+ {
+ AXIS2_LOG_ERROR( env->log, AXIS2_LOG_SI, "options is null in stub: Error code:"
+ " %d :: %s", env->error->error_number,
+ AXIS2_ERROR_GET_MESSAGE(env->error));
+ return;
+ }
+ svc_client = AXIS2_STUB_GET_SVC_CLIENT (stub, env );
+ soap_action = AXIS2_OPTIONS_GET_ACTION ( options, env );
+ if ( NULL == soap_action )
+ {
+ soap_action = "";
+ AXIS2_OPTIONS_SET_ACTION( options, env, soap_action );
+ }
+
+ AXIS2_OPTIONS_SET_SOAP_VERSION(options, env, AXIOM_SOAP11 );
+
+
+ callback = axis2_callback_create(env);
+ /* Set our on_complete fucntion pointer to the callback object */
+ AXIS2_CALLBACK_SET_ON_COMPLETE(callback, on_complete);
+ /* Set our on_error function pointer to the callback object */
+ AXIS2_CALLBACK_SET_ON_ERROR(callback, on_error);
+
+ /* Send request */
+ AXIS2_SVC_CLIENT_SEND_RECEIVE_NON_BLOCKING(svc_client, env, payload, callback);
+}
+
+
+/**
+ * auto generated method signature
+ * for "echoStringArray|http://soapinterop.org" operation.
+ * @param content2
+ */
+axiom_node_t* axis2_stub_interop_test_port_type_doc_service_echo_string_array( axis2_stub_t *stub, const axis2_env_t *env ,
+ axiom_node_t* content2)
+{
+ axis2_svc_client_t *svc_client = NULL;
+ axis2_options_t *options = NULL;
+ axiom_node_t *ret_node = NULL;
+
+ const axis2_char_t *soap_action = NULL;
+ axis2_qname_t *op_qname = NULL;
+ axiom_node_t *payload = NULL;
+
+ payload = content2;
+
+
+ options = AXIS2_STUB_GET_OPTIONS( stub, env);
+ if ( NULL == options )
+ {
+ AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "options is null in stub: Error code:"
+ " %d :: %s", env->error->error_number,
+ AXIS2_ERROR_GET_MESSAGE(env->error));
+ return NULL;
+ }
+ svc_client = AXIS2_STUB_GET_SVC_CLIENT (stub, env );
+ soap_action = AXIS2_OPTIONS_GET_ACTION ( options, env );
+ if ( NULL == soap_action )
+ {
+ soap_action = "";
+ AXIS2_OPTIONS_SET_ACTION( options, env, soap_action );
+ }
+
+ AXIS2_OPTIONS_SET_SOAP_VERSION(options, env, AXIOM_SOAP11 );
+
+ op_qname = axis2_qname_create(env,
+ "echoStringArray" ,
+ "http://soapinterop.org",
+ NULL);
+ ret_node = AXIS2_SVC_CLIENT_SEND_RECEIVE_WITH_OP_QNAME( svc_client, env, op_qname, payload);
+
+
+
+ return ret_node;
+
+}
+
+/**
+ * auto generated method signature for asynchronous invocations
+ * for "echoStringArray|http://soapinterop.org" operation.
+ * @param content2
+ * @param on_complete callback to handle on complete
+ * @param on_error callback to handle on error
+ */
+
+ void axis2_stub_interop_test_port_type_doc_service_echo_string_array_start( axis2_stub_t *stub, const axis2_env_t *env, axiom_node_t* content2,
+ axis2_status_t ( AXIS2_CALL *on_complete ) (struct axis2_callback *, const axis2_env_t *) ,
+ axis2_status_t ( AXIS2_CALL *on_error ) (struct axis2_callback *, const axis2_env_t *, int ) )
+{
+
+ axis2_callback_t *callback = NULL;
+
+ axis2_svc_client_t *svc_client = NULL;
+ axis2_options_t *options = NULL;
+
+ const axis2_char_t *soap_action = NULL;
+ axiom_node_t *payload = NULL;
+
+
+ payload = content2;
+
+
+ options = AXIS2_STUB_GET_OPTIONS( stub, env);
+ if ( NULL == options )
+ {
+ AXIS2_LOG_ERROR( env->log, AXIS2_LOG_SI, "options is null in stub: Error code:"
+ " %d :: %s", env->error->error_number,
+ AXIS2_ERROR_GET_MESSAGE(env->error));
+ return;
+ }
+ svc_client = AXIS2_STUB_GET_SVC_CLIENT (stub, env );
+ soap_action = AXIS2_OPTIONS_GET_ACTION ( options, env );
+ if ( NULL == soap_action )
+ {
+ soap_action = "";
+ AXIS2_OPTIONS_SET_ACTION( options, env, soap_action );
+ }
+
+ AXIS2_OPTIONS_SET_SOAP_VERSION(options, env, AXIOM_SOAP11 );
+
+
+ callback = axis2_callback_create(env);
+ /* Set our on_complete fucntion pointer to the callback object */
+ AXIS2_CALLBACK_SET_ON_COMPLETE(callback, on_complete);
+ /* Set our on_error function pointer to the callback object */
+ AXIS2_CALLBACK_SET_ON_ERROR(callback, on_error);
+
+ /* Send request */
+ AXIS2_SVC_CLIENT_SEND_RECEIVE_NON_BLOCKING(svc_client, env, payload, callback);
+}
+
+
+/**
+ * auto generated method signature
+ * for "echoInteger|http://soapinterop.org" operation.
+ * @param content4
+ */
+axiom_node_t* axis2_stub_interop_test_port_type_doc_service_echo_integer( axis2_stub_t *stub, const axis2_env_t *env ,
+ axiom_node_t* content4)
+{
+ axis2_svc_client_t *svc_client = NULL;
+ axis2_options_t *options = NULL;
+ axiom_node_t *ret_node = NULL;
+
+ const axis2_char_t *soap_action = NULL;
+ axis2_qname_t *op_qname = NULL;
+ axiom_node_t *payload = NULL;
+
+ payload = content4;
+
+
+ options = AXIS2_STUB_GET_OPTIONS( stub, env);
+ if ( NULL == options )
+ {
+ AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "options is null in stub: Error code:"
+ " %d :: %s", env->error->error_number,
+ AXIS2_ERROR_GET_MESSAGE(env->error));
+ return NULL;
+ }
+ svc_client = AXIS2_STUB_GET_SVC_CLIENT (stub, env );
+ soap_action = AXIS2_OPTIONS_GET_ACTION ( options, env );
+ if ( NULL == soap_action )
+ {
+ soap_action = "";
+ AXIS2_OPTIONS_SET_ACTION( options, env, soap_action );
+ }
+
+ AXIS2_OPTIONS_SET_SOAP_VERSION(options, env, AXIOM_SOAP11 );
+
+ op_qname = axis2_qname_create(env,
+ "echoInteger" ,
+ "http://soapinterop.org",
+ NULL);
+ ret_node = AXIS2_SVC_CLIENT_SEND_RECEIVE_WITH_OP_QNAME( svc_client, env, op_qname, payload);
+
+
+
+ return ret_node;
+
+}
+
+/**
+ * auto generated method signature for asynchronous invocations
+ * for "echoInteger|http://soapinterop.org" operation.
+ * @param content4
+ * @param on_complete callback to handle on complete
+ * @param on_error callback to handle on error
+ */
+
+ void axis2_stub_interop_test_port_type_doc_service_echo_integer_start( axis2_stub_t *stub, const axis2_env_t *env, axiom_node_t* content4,
+ axis2_status_t ( AXIS2_CALL *on_complete ) (struct axis2_callback *, const axis2_env_t *) ,
+ axis2_status_t ( AXIS2_CALL *on_error ) (struct axis2_callback *, const axis2_env_t *, int ) )
+{
+
+ axis2_callback_t *callback = NULL;
+
+ axis2_svc_client_t *svc_client = NULL;
+ axis2_options_t *options = NULL;
+
+ const axis2_char_t *soap_action = NULL;
+ axiom_node_t *payload = NULL;
+
+
+ payload = content4;
+
+
+ options = AXIS2_STUB_GET_OPTIONS( stub, env);
+ if ( NULL == options )
+ {
+ AXIS2_LOG_ERROR( env->log, AXIS2_LOG_SI, "options is null in stub: Error code:"
+ " %d :: %s", env->error->error_number,
+ AXIS2_ERROR_GET_MESSAGE(env->error));
+ return;
+ }
+ svc_client = AXIS2_STUB_GET_SVC_CLIENT (stub, env );
+ soap_action = AXIS2_OPTIONS_GET_ACTION ( options, env );
+ if ( NULL == soap_action )
+ {
+ soap_action = "";
+ AXIS2_OPTIONS_SET_ACTION( options, env, soap_action );
+ }
+
+ AXIS2_OPTIONS_SET_SOAP_VERSION(options, env, AXIOM_SOAP11 );
+
+
+ callback = axis2_callback_create(env);
+ /* Set our on_complete fucntion pointer to the callback object */
+ AXIS2_CALLBACK_SET_ON_COMPLETE(callback, on_complete);
+ /* Set our on_error function pointer to the callback object */
+ AXIS2_CALLBACK_SET_ON_ERROR(callback, on_error);
+
+ /* Send request */
+ AXIS2_SVC_CLIENT_SEND_RECEIVE_NON_BLOCKING(svc_client, env, payload, callback);
+}
+
+
+/**
+ * auto generated method signature
+ * for "echoIntegerArray|http://soapinterop.org" operation.
+ * @param content6
+ */
+axiom_node_t* axis2_stub_interop_test_port_type_doc_service_echo_integer_array( axis2_stub_t *stub, const axis2_env_t *env ,
+ axiom_node_t* content6)
+{
+ axis2_svc_client_t *svc_client = NULL;
+ axis2_options_t *options = NULL;
+ axiom_node_t *ret_node = NULL;
+
+ const axis2_char_t *soap_action = NULL;
+ axis2_qname_t *op_qname = NULL;
+ axiom_node_t *payload = NULL;
+
+ payload = content6;
+
+
+ options = AXIS2_STUB_GET_OPTIONS( stub, env);
+ if ( NULL == options )
+ {
+ AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "options is null in stub: Error code:"
+ " %d :: %s", env->error->error_number,
+ AXIS2_ERROR_GET_MESSAGE(env->error));
+ return NULL;
+ }
+ svc_client = AXIS2_STUB_GET_SVC_CLIENT (stub, env );
+ soap_action = AXIS2_OPTIONS_GET_ACTION ( options, env );
+ if ( NULL == soap_action )
+ {
+ soap_action = "";
+ AXIS2_OPTIONS_SET_ACTION( options, env, soap_action );
+ }
+
+ AXIS2_OPTIONS_SET_SOAP_VERSION(options, env, AXIOM_SOAP11 );
+
+ op_qname = axis2_qname_create(env,
+ "echoIntegerArray" ,
+ "http://soapinterop.org",
+ NULL);
+ ret_node = AXIS2_SVC_CLIENT_SEND_RECEIVE_WITH_OP_QNAME( svc_client, env, op_qname, payload);
+
+
+
+ return ret_node;
+
+}
+
+/**
+ * auto generated method signature for asynchronous invocations
+ * for "echoIntegerArray|http://soapinterop.org" operation.
+ * @param content6
+ * @param on_complete callback to handle on complete
+ * @param on_error callback to handle on error
+ */
+
+ void axis2_stub_interop_test_port_type_doc_service_echo_integer_array_start( axis2_stub_t *stub, const axis2_env_t *env, axiom_node_t* content6,
+ axis2_status_t ( AXIS2_CALL *on_complete ) (struct axis2_callback *, const axis2_env_t *) ,
+ axis2_status_t ( AXIS2_CALL *on_error ) (struct axis2_callback *, const axis2_env_t *, int ) )
+{
+
+ axis2_callback_t *callback = NULL;
+
+ axis2_svc_client_t *svc_client = NULL;
+ axis2_options_t *options = NULL;
+
+ const axis2_char_t *soap_action = NULL;
+ axiom_node_t *payload = NULL;
+
+
+ payload = content6;
+
+
+ options = AXIS2_STUB_GET_OPTIONS( stub, env);
+ if ( NULL == options )
+ {
+ AXIS2_LOG_ERROR( env->log, AXIS2_LOG_SI, "options is null in stub: Error code:"
+ " %d :: %s", env->error->error_number,
+ AXIS2_ERROR_GET_MESSAGE(env->error));
+ return;
+ }
+ svc_client = AXIS2_STUB_GET_SVC_CLIENT (stub, env );
+ soap_action = AXIS2_OPTIONS_GET_ACTION ( options, env );
+ if ( NULL == soap_action )
+ {
+ soap_action = "";
+ AXIS2_OPTIONS_SET_ACTION( options, env, soap_action );
+ }
+
+ AXIS2_OPTIONS_SET_SOAP_VERSION(options, env, AXIOM_SOAP11 );
+
+
+ callback = axis2_callback_create(env);
+ /* Set our on_complete fucntion pointer to the callback object */
+ AXIS2_CALLBACK_SET_ON_COMPLETE(callback, on_complete);
+ /* Set our on_error function pointer to the callback object */
+ AXIS2_CALLBACK_SET_ON_ERROR(callback, on_error);
+
+ /* Send request */
+ AXIS2_SVC_CLIENT_SEND_RECEIVE_NON_BLOCKING(svc_client, env, payload, callback);
+}
+
+
+/**
+ * auto generated method signature
+ * for "echoFloat|http://soapinterop.org" operation.
+ * @param content8
+ */
+axiom_node_t* axis2_stub_interop_test_port_type_doc_service_echo_float( axis2_stub_t *stub, const axis2_env_t *env ,
+ axiom_node_t* content8)
+{
+ axis2_svc_client_t *svc_client = NULL;
+ axis2_options_t *options = NULL;
+ axiom_node_t *ret_node = NULL;
+
+ const axis2_char_t *soap_action = NULL;
+ axis2_qname_t *op_qname = NULL;
+ axiom_node_t *payload = NULL;
+
+ payload = content8;
+
+
+ options = AXIS2_STUB_GET_OPTIONS( stub, env);
+ if ( NULL == options )
+ {
+ AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "options is null in stub: Error code:"
+ " %d :: %s", env->error->error_number,
+ AXIS2_ERROR_GET_MESSAGE(env->error));
+ return NULL;
+ }
+ svc_client = AXIS2_STUB_GET_SVC_CLIENT (stub, env );
+ soap_action = AXIS2_OPTIONS_GET_ACTION ( options, env );
+ if ( NULL == soap_action )
+ {
+ soap_action = "";
+ AXIS2_OPTIONS_SET_ACTION( options, env, soap_action );
+ }
+
+ AXIS2_OPTIONS_SET_SOAP_VERSION(options, env, AXIOM_SOAP11 );
+
+ op_qname = axis2_qname_create(env,
+ "echoFloat" ,
+ "http://soapinterop.org",
+ NULL);
+ ret_node = AXIS2_SVC_CLIENT_SEND_RECEIVE_WITH_OP_QNAME( svc_client, env, op_qname, payload);
+
+
+
+ return ret_node;
+
+}
+
+/**
+ * auto generated method signature for asynchronous invocations
+ * for "echoFloat|http://soapinterop.org" operation.
+ * @param content8
+ * @param on_complete callback to handle on complete
+ * @param on_error callback to handle on error
+ */
+
+ void axis2_stub_interop_test_port_type_doc_service_echo_float_start( axis2_stub_t *stub, const axis2_env_t *env, axiom_node_t* content8,
+ axis2_status_t ( AXIS2_CALL *on_complete ) (struct axis2_callback *, const axis2_env_t *) ,
+ axis2_status_t ( AXIS2_CALL *on_error ) (struct axis2_callback *, const axis2_env_t *, int ) )
+{
+
+ axis2_callback_t *callback = NULL;
+
+ axis2_svc_client_t *svc_client = NULL;
+ axis2_options_t *options = NULL;
+
+ const axis2_char_t *soap_action = NULL;
+ axiom_node_t *payload = NULL;
+
+
+ payload = content8;
+
+
+ options = AXIS2_STUB_GET_OPTIONS( stub, env);
+ if ( NULL == options )
+ {
+ AXIS2_LOG_ERROR( env->log, AXIS2_LOG_SI, "options is null in stub: Error code:"
+ " %d :: %s", env->error->error_number,
+ AXIS2_ERROR_GET_MESSAGE(env->error));
+ return;
+ }
+ svc_client = AXIS2_STUB_GET_SVC_CLIENT (stub, env );
+ soap_action = AXIS2_OPTIONS_GET_ACTION ( options, env );
+ if ( NULL == soap_action )
+ {
+ soap_action = "";
+ AXIS2_OPTIONS_SET_ACTION( options, env, soap_action );
+ }
+
+ AXIS2_OPTIONS_SET_SOAP_VERSION(options, env, AXIOM_SOAP11 );
+
+
+ callback = axis2_callback_create(env);
+ /* Set our on_complete fucntion pointer to the callback object */
+ AXIS2_CALLBACK_SET_ON_COMPLETE(callback, on_complete);
+ /* Set our on_error function pointer to the callback object */
+ AXIS2_CALLBACK_SET_ON_ERROR(callback, on_error);
+
+ /* Send request */
+ AXIS2_SVC_CLIENT_SEND_RECEIVE_NON_BLOCKING(svc_client, env, payload, callback);
+}
+
+
+/**
+ * auto generated method signature
+ * for "echoFloatArray|http://soapinterop.org" operation.
+ * @param content10
+ */
+axiom_node_t* axis2_stub_interop_test_port_type_doc_service_echo_float_array( axis2_stub_t *stub, const axis2_env_t *env ,
+ axiom_node_t* content10)
+{
+ axis2_svc_client_t *svc_client = NULL;
+ axis2_options_t *options = NULL;
+ axiom_node_t *ret_node = NULL;
+
+ const axis2_char_t *soap_action = NULL;
+ axis2_qname_t *op_qname = NULL;
+ axiom_node_t *payload = NULL;
+
+ payload = content10;
+
+
+ options = AXIS2_STUB_GET_OPTIONS( stub, env);
+ if ( NULL == options )
+ {
+ AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "options is null in stub: Error code:"
+ " %d :: %s", env->error->error_number,
+ AXIS2_ERROR_GET_MESSAGE(env->error));
+ return NULL;
+ }
+ svc_client = AXIS2_STUB_GET_SVC_CLIENT (stub, env );
+ soap_action = AXIS2_OPTIONS_GET_ACTION ( options, env );
+ if ( NULL == soap_action )
+ {
+ soap_action = "";
+ AXIS2_OPTIONS_SET_ACTION( options, env, soap_action );
+ }
+
+ AXIS2_OPTIONS_SET_SOAP_VERSION(options, env, AXIOM_SOAP11 );
+
+ op_qname = axis2_qname_create(env,
+ "echoFloatArray" ,
+ "http://soapinterop.org",
+ NULL);
+ ret_node = AXIS2_SVC_CLIENT_SEND_RECEIVE_WITH_OP_QNAME( svc_client, env, op_qname, payload);
+
+
+
+ return ret_node;
+
+}
+
+/**
+ * auto generated method signature for asynchronous invocations
+ * for "echoFloatArray|http://soapinterop.org" operation.
+ * @param content10
+ * @param on_complete callback to handle on complete
+ * @param on_error callback to handle on error
+ */
+
+ void axis2_stub_interop_test_port_type_doc_service_echo_float_array_start( axis2_stub_t *stub, const axis2_env_t *env, axiom_node_t* content10,
+ axis2_status_t ( AXIS2_CALL *on_complete ) (struct axis2_callback *, const axis2_env_t *) ,
+ axis2_status_t ( AXIS2_CALL *on_error ) (struct axis2_callback *, const axis2_env_t *, int ) )
+{
+
+ axis2_callback_t *callback = NULL;
+
+ axis2_svc_client_t *svc_client = NULL;
+ axis2_options_t *options = NULL;
+
+ const axis2_char_t *soap_action = NULL;
+ axiom_node_t *payload = NULL;
+
+
+ payload = content10;
+
+
+ options = AXIS2_STUB_GET_OPTIONS( stub, env);
+ if ( NULL == options )
+ {
+ AXIS2_LOG_ERROR( env->log, AXIS2_LOG_SI, "options is null in stub: Error code:"
+ " %d :: %s", env->error->error_number,
+ AXIS2_ERROR_GET_MESSAGE(env->error));
+ return;
+ }
+ svc_client = AXIS2_STUB_GET_SVC_CLIENT (stub, env );
+ soap_action = AXIS2_OPTIONS_GET_ACTION ( options, env );
+ if ( NULL == soap_action )
+ {
+ soap_action = "";
+ AXIS2_OPTIONS_SET_ACTION( options, env, soap_action );
+ }
+
+ AXIS2_OPTIONS_SET_SOAP_VERSION(options, env, AXIOM_SOAP11 );
+
+
+ callback = axis2_callback_create(env);
+ /* Set our on_complete fucntion pointer to the callback object */
+ AXIS2_CALLBACK_SET_ON_COMPLETE(callback, on_complete);
+ /* Set our on_error function pointer to the callback object */
+ AXIS2_CALLBACK_SET_ON_ERROR(callback, on_error);
+
+ /* Send request */
+ AXIS2_SVC_CLIENT_SEND_RECEIVE_NON_BLOCKING(svc_client, env, payload, callback);
+}
+
+
+/**
+ * auto generated method signature
+ * for "echoStruct|http://soapinterop.org" operation.
+ * @param content12
+ */
+axiom_node_t* axis2_stub_interop_test_port_type_doc_service_echo_struct( axis2_stub_t *stub, const axis2_env_t *env ,
+ axiom_node_t* content12)
+{
+ axis2_svc_client_t *svc_client = NULL;
+ axis2_options_t *options = NULL;
+ axiom_node_t *ret_node = NULL;
+
+ const axis2_char_t *soap_action = NULL;
+ axis2_qname_t *op_qname = NULL;
+ axiom_node_t *payload = NULL;
+
+ payload = content12;
+
+
+ options = AXIS2_STUB_GET_OPTIONS( stub, env);
+ if ( NULL == options )
+ {
+ AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "options is null in stub: Error code:"
+ " %d :: %s", env->error->error_number,
+ AXIS2_ERROR_GET_MESSAGE(env->error));
+ return NULL;
+ }
+ svc_client = AXIS2_STUB_GET_SVC_CLIENT (stub, env );
+ soap_action = AXIS2_OPTIONS_GET_ACTION ( options, env );
+ if ( NULL == soap_action )
+ {
+ soap_action = "";
+ AXIS2_OPTIONS_SET_ACTION( options, env, soap_action );
+ }
+
+ AXIS2_OPTIONS_SET_SOAP_VERSION(options, env, AXIOM_SOAP11 );
+
+ op_qname = axis2_qname_create(env,
+ "echoStruct" ,
+ "http://soapinterop.org",
+ NULL);
+ ret_node = AXIS2_SVC_CLIENT_SEND_RECEIVE_WITH_OP_QNAME( svc_client, env, op_qname, payload);
+
+
+
+ return ret_node;
+
+}
+
+/**
+ * auto generated method signature for asynchronous invocations
+ * for "echoStruct|http://soapinterop.org" operation.
+ * @param content12
+ * @param on_complete callback to handle on complete
+ * @param on_error callback to handle on error
+ */
+
+ void axis2_stub_interop_test_port_type_doc_service_echo_struct_start( axis2_stub_t *stub, const axis2_env_t *env, axiom_node_t* content12,
+ axis2_status_t ( AXIS2_CALL *on_complete ) (struct axis2_callback *, const axis2_env_t *) ,
+ axis2_status_t ( AXIS2_CALL *on_error ) (struct axis2_callback *, const axis2_env_t *, int ) )
+{
+
+ axis2_callback_t *callback = NULL;
+
+ axis2_svc_client_t *svc_client = NULL;
+ axis2_options_t *options = NULL;
+
+ const axis2_char_t *soap_action = NULL;
+ axiom_node_t *payload = NULL;
+
+
+ payload = content12;
+
+
+ options = AXIS2_STUB_GET_OPTIONS( stub, env);
+ if ( NULL == options )
+ {
+ AXIS2_LOG_ERROR( env->log, AXIS2_LOG_SI, "options is null in stub: Error code:"
+ " %d :: %s", env->error->error_number,
+ AXIS2_ERROR_GET_MESSAGE(env->error));
+ return;
+ }
+ svc_client = AXIS2_STUB_GET_SVC_CLIENT (stub, env );
+ soap_action = AXIS2_OPTIONS_GET_ACTION ( options, env );
+ if ( NULL == soap_action )
+ {
+ soap_action = "";
+ AXIS2_OPTIONS_SET_ACTION( options, env, soap_action );
+ }
+
+ AXIS2_OPTIONS_SET_SOAP_VERSION(options, env, AXIOM_SOAP11 );
+
+
+ callback = axis2_callback_create(env);
+ /* Set our on_complete fucntion pointer to the callback object */
+ AXIS2_CALLBACK_SET_ON_COMPLETE(callback, on_complete);
+ /* Set our on_error function pointer to the callback object */
+ AXIS2_CALLBACK_SET_ON_ERROR(callback, on_error);
+
+ /* Send request */
+ AXIS2_SVC_CLIENT_SEND_RECEIVE_NON_BLOCKING(svc_client, env, payload, callback);
+}
+
+
+/**
+ * auto generated method signature
+ * for "echoStructArray|http://soapinterop.org" operation.
+ * @param content14
+ */
+axiom_node_t* axis2_stub_interop_test_port_type_doc_service_echo_struct_array( axis2_stub_t *stub, const axis2_env_t *env ,
+ axiom_node_t* content14)
+{
+ axis2_svc_client_t *svc_client = NULL;
+ axis2_options_t *options = NULL;
+ axiom_node_t *ret_node = NULL;
+
+ const axis2_char_t *soap_action = NULL;
+ axis2_qname_t *op_qname = NULL;
+ axiom_node_t *payload = NULL;
+
+ payload = content14;
+
+
+ options = AXIS2_STUB_GET_OPTIONS( stub, env);
+ if ( NULL == options )
+ {
+ AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "options is null in stub: Error code:"
+ " %d :: %s", env->error->error_number,
+ AXIS2_ERROR_GET_MESSAGE(env->error));
+ return NULL;
+ }
+ svc_client = AXIS2_STUB_GET_SVC_CLIENT (stub, env );
+ soap_action = AXIS2_OPTIONS_GET_ACTION ( options, env );
+ if ( NULL == soap_action )
+ {
+ soap_action = "";
+ AXIS2_OPTIONS_SET_ACTION( options, env, soap_action );
+ }
+
+ AXIS2_OPTIONS_SET_SOAP_VERSION(options, env, AXIOM_SOAP11 );
+
+ op_qname = axis2_qname_create(env,
+ "echoStructArray" ,
+ "http://soapinterop.org",
+ NULL);
+ ret_node = AXIS2_SVC_CLIENT_SEND_RECEIVE_WITH_OP_QNAME( svc_client, env, op_qname, payload);
+
+
+
+ return ret_node;
+
+}
+
+/**
+ * auto generated method signature for asynchronous invocations
+ * for "echoStructArray|http://soapinterop.org" operation.
+ * @param content14
+ * @param on_complete callback to handle on complete
+ * @param on_error callback to handle on error
+ */
+
+ void axis2_stub_interop_test_port_type_doc_service_echo_struct_array_start( axis2_stub_t *stub, const axis2_env_t *env, axiom_node_t* content14,
+ axis2_status_t ( AXIS2_CALL *on_complete ) (struct axis2_callback *, const axis2_env_t *) ,
+ axis2_status_t ( AXIS2_CALL *on_error ) (struct axis2_callback *, const axis2_env_t *, int ) )
+{
+
+ axis2_callback_t *callback = NULL;
+
+ axis2_svc_client_t *svc_client = NULL;
+ axis2_options_t *options = NULL;
+
+ const axis2_char_t *soap_action = NULL;
+ axiom_node_t *payload = NULL;
+
+
+ payload = content14;
+
+
+ options = AXIS2_STUB_GET_OPTIONS( stub, env);
+ if ( NULL == options )
+ {
+ AXIS2_LOG_ERROR( env->log, AXIS2_LOG_SI, "options is null in stub: Error code:"
+ " %d :: %s", env->error->error_number,
+ AXIS2_ERROR_GET_MESSAGE(env->error));
+ return;
+ }
+ svc_client = AXIS2_STUB_GET_SVC_CLIENT (stub, env );
+ soap_action = AXIS2_OPTIONS_GET_ACTION ( options, env );
+ if ( NULL == soap_action )
+ {
+ soap_action = "";
+ AXIS2_OPTIONS_SET_ACTION( options, env, soap_action );
+ }
+
+ AXIS2_OPTIONS_SET_SOAP_VERSION(options, env, AXIOM_SOAP11 );
+
+
+ callback = axis2_callback_create(env);
+ /* Set our on_complete fucntion pointer to the callback object */
+ AXIS2_CALLBACK_SET_ON_COMPLETE(callback, on_complete);
+ /* Set our on_error function pointer to the callback object */
+ AXIS2_CALLBACK_SET_ON_ERROR(callback, on_error);
+
+ /* Send request */
+ AXIS2_SVC_CLIENT_SEND_RECEIVE_NON_BLOCKING(svc_client, env, payload, callback);
+}
+
+
+/**
+ * auto generated method signature
+ * for "echoVoid|http://soapinterop.org" operation.
+ * @param content16
+ */
+axiom_node_t* axis2_stub_interop_test_port_type_doc_service_echo_void( axis2_stub_t *stub, const axis2_env_t *env ,
+ axiom_node_t* content16)
+{
+ axis2_svc_client_t *svc_client = NULL;
+ axis2_options_t *options = NULL;
+ axiom_node_t *ret_node = NULL;
+
+ const axis2_char_t *soap_action = NULL;
+ axis2_qname_t *op_qname = NULL;
+ axiom_node_t *payload = NULL;
+
+ payload = content16;
+
+
+ options = AXIS2_STUB_GET_OPTIONS( stub, env);
+ if ( NULL == options )
+ {
+ AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "options is null in stub: Error code:"
+ " %d :: %s", env->error->error_number,
+ AXIS2_ERROR_GET_MESSAGE(env->error));
+ return NULL;
+ }
+ svc_client = AXIS2_STUB_GET_SVC_CLIENT (stub, env );
+ soap_action = AXIS2_OPTIONS_GET_ACTION ( options, env );
+ if ( NULL == soap_action )
+ {
+ soap_action = "";
+ AXIS2_OPTIONS_SET_ACTION( options, env, soap_action );
+ }
+
+ AXIS2_OPTIONS_SET_SOAP_VERSION(options, env, AXIOM_SOAP11 );
+
+ op_qname = axis2_qname_create(env,
+ "echoVoid" ,
+ "http://soapinterop.org",
+ NULL);
+ ret_node = AXIS2_SVC_CLIENT_SEND_RECEIVE_WITH_OP_QNAME( svc_client, env, op_qname, payload);
+
+
+
+ return ret_node;
+
+}
+
+/**
+ * auto generated method signature for asynchronous invocations
+ * for "echoVoid|http://soapinterop.org" operation.
+ * @param content16
+ * @param on_complete callback to handle on complete
+ * @param on_error callback to handle on error
+ */
+
+ void axis2_stub_interop_test_port_type_doc_service_echo_void_start( axis2_stub_t *stub, const axis2_env_t *env, axiom_node_t* content16,
+ axis2_status_t ( AXIS2_CALL *on_complete ) (struct axis2_callback *, const axis2_env_t *) ,
+ axis2_status_t ( AXIS2_CALL *on_error ) (struct axis2_callback *, const axis2_env_t *, int ) )
+{
+
+ axis2_callback_t *callback = NULL;
+
+ axis2_svc_client_t *svc_client = NULL;
+ axis2_options_t *options = NULL;
+
+ const axis2_char_t *soap_action = NULL;
+ axiom_node_t *payload = NULL;
+
+
+ payload = content16;
+
+
+ options = AXIS2_STUB_GET_OPTIONS( stub, env);
+ if ( NULL == options )
+ {
+ AXIS2_LOG_ERROR( env->log, AXIS2_LOG_SI, "options is null in stub: Error code:"
+ " %d :: %s", env->error->error_number,
+ AXIS2_ERROR_GET_MESSAGE(env->error));
+ return;
+ }
+ svc_client = AXIS2_STUB_GET_SVC_CLIENT (stub, env );
+ soap_action = AXIS2_OPTIONS_GET_ACTION ( options, env );
+ if ( NULL == soap_action )
+ {
+ soap_action = "";
+ AXIS2_OPTIONS_SET_ACTION( options, env, soap_action );
+ }
+
+ AXIS2_OPTIONS_SET_SOAP_VERSION(options, env, AXIOM_SOAP11 );
+
+
+ callback = axis2_callback_create(env);
+ /* Set our on_complete fucntion pointer to the callback object */
+ AXIS2_CALLBACK_SET_ON_COMPLETE(callback, on_complete);
+ /* Set our on_error function pointer to the callback object */
+ AXIS2_CALLBACK_SET_ON_ERROR(callback, on_error);
+
+ /* Send request */
+ AXIS2_SVC_CLIENT_SEND_RECEIVE_NON_BLOCKING(svc_client, env, payload, callback);
+}
+
+
+/**
+ * auto generated method signature
+ * for "echoBase64|http://soapinterop.org" operation.
+ * @param content18
+ */
+axiom_node_t* axis2_stub_interop_test_port_type_doc_service_echo_base64( axis2_stub_t *stub, const axis2_env_t *env ,
+ axiom_node_t* content18)
+{
+ axis2_svc_client_t *svc_client = NULL;
+ axis2_options_t *options = NULL;
+ axiom_node_t *ret_node = NULL;
+
+ const axis2_char_t *soap_action = NULL;
+ axis2_qname_t *op_qname = NULL;
+ axiom_node_t *payload = NULL;
+
+ payload = content18;
+
+
+ options = AXIS2_STUB_GET_OPTIONS( stub, env);
+ if ( NULL == options )
+ {
+ AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "options is null in stub: Error code:"
+ " %d :: %s", env->error->error_number,
+ AXIS2_ERROR_GET_MESSAGE(env->error));
+ return NULL;
+ }
+ svc_client = AXIS2_STUB_GET_SVC_CLIENT (stub, env );
+ soap_action = AXIS2_OPTIONS_GET_ACTION ( options, env );
+ if ( NULL == soap_action )
+ {
+ soap_action = "";
+ AXIS2_OPTIONS_SET_ACTION( options, env, soap_action );
+ }
+
+ AXIS2_OPTIONS_SET_SOAP_VERSION(options, env, AXIOM_SOAP11 );
+
+ op_qname = axis2_qname_create(env,
+ "echoBase64" ,
+ "http://soapinterop.org",
+ NULL);
+ ret_node = AXIS2_SVC_CLIENT_SEND_RECEIVE_WITH_OP_QNAME( svc_client, env, op_qname, payload);
+
+
+
+ return ret_node;
+
+}
+
+/**
+ * auto generated method signature for asynchronous invocations
+ * for "echoBase64|http://soapinterop.org" operation.
+ * @param content18
+ * @param on_complete callback to handle on complete
+ * @param on_error callback to handle on error
+ */
+
+ void axis2_stub_interop_test_port_type_doc_service_echo_base64_start( axis2_stub_t *stub, const axis2_env_t *env, axiom_node_t* content18,
+ axis2_status_t ( AXIS2_CALL *on_complete ) (struct axis2_callback *, const axis2_env_t *) ,
+ axis2_status_t ( AXIS2_CALL *on_error ) (struct axis2_callback *, const axis2_env_t *, int ) )
+{
+
+ axis2_callback_t *callback = NULL;
+
+ axis2_svc_client_t *svc_client = NULL;
+ axis2_options_t *options = NULL;
+
+ const axis2_char_t *soap_action = NULL;
+ axiom_node_t *payload = NULL;
+
+
+ payload = content18;
+
+
+ options = AXIS2_STUB_GET_OPTIONS( stub, env);
+ if ( NULL == options )
+ {
+ AXIS2_LOG_ERROR( env->log, AXIS2_LOG_SI, "options is null in stub: Error code:"
+ " %d :: %s", env->error->error_number,
+ AXIS2_ERROR_GET_MESSAGE(env->error));
+ return;
+ }
+ svc_client = AXIS2_STUB_GET_SVC_CLIENT (stub, env );
+ soap_action = AXIS2_OPTIONS_GET_ACTION ( options, env );
+ if ( NULL == soap_action )
+ {
+ soap_action = "";
+ AXIS2_OPTIONS_SET_ACTION( options, env, soap_action );
+ }
+
+ AXIS2_OPTIONS_SET_SOAP_VERSION(options, env, AXIOM_SOAP11 );
+
+
+ callback = axis2_callback_create(env);
+ /* Set our on_complete fucntion pointer to the callback object */
+ AXIS2_CALLBACK_SET_ON_COMPLETE(callback, on_complete);
+ /* Set our on_error function pointer to the callback object */
+ AXIS2_CALLBACK_SET_ON_ERROR(callback, on_error);
+
+ /* Send request */
+ AXIS2_SVC_CLIENT_SEND_RECEIVE_NON_BLOCKING(svc_client, env, payload, callback);
+}
+
+
+/**
+ * auto generated method signature
+ * for "echoDate|http://soapinterop.org" operation.
+ * @param content20
+ */
+axiom_node_t* axis2_stub_interop_test_port_type_doc_service_echo_date( axis2_stub_t *stub, const axis2_env_t *env ,
+ axiom_node_t* content20)
+{
+ axis2_svc_client_t *svc_client = NULL;
+ axis2_options_t *options = NULL;
+ axiom_node_t *ret_node = NULL;
+
+ const axis2_char_t *soap_action = NULL;
+ axis2_qname_t *op_qname = NULL;
+ axiom_node_t *payload = NULL;
+
+ payload = content20;
+
+
+ options = AXIS2_STUB_GET_OPTIONS( stub, env);
+ if ( NULL == options )
+ {
+ AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "options is null in stub: Error code:"
+ " %d :: %s", env->error->error_number,
+ AXIS2_ERROR_GET_MESSAGE(env->error));
+ return NULL;
+ }
+ svc_client = AXIS2_STUB_GET_SVC_CLIENT (stub, env );
+ soap_action = AXIS2_OPTIONS_GET_ACTION ( options, env );
+ if ( NULL == soap_action )
+ {
+ soap_action = "";
+ AXIS2_OPTIONS_SET_ACTION( options, env, soap_action );
+ }
+
+ AXIS2_OPTIONS_SET_SOAP_VERSION(options, env, AXIOM_SOAP11 );
+
+ op_qname = axis2_qname_create(env,
+ "echoDate" ,
+ "http://soapinterop.org",
+ NULL);
+ ret_node = AXIS2_SVC_CLIENT_SEND_RECEIVE_WITH_OP_QNAME( svc_client, env, op_qname, payload);
+
+
+
+ return ret_node;
+
+}
+
+/**
+ * auto generated method signature for asynchronous invocations
+ * for "echoDate|http://soapinterop.org" operation.
+ * @param content20
+ * @param on_complete callback to handle on complete
+ * @param on_error callback to handle on error
+ */
+
+ void axis2_stub_interop_test_port_type_doc_service_echo_date_start( axis2_stub_t *stub, const axis2_env_t *env, axiom_node_t* content20,
+ axis2_status_t ( AXIS2_CALL *on_complete ) (struct axis2_callback *, const axis2_env_t *) ,
+ axis2_status_t ( AXIS2_CALL *on_error ) (struct axis2_callback *, const axis2_env_t *, int ) )
+{
+
+ axis2_callback_t *callback = NULL;
+
+ axis2_svc_client_t *svc_client = NULL;
+ axis2_options_t *options = NULL;
+
+ const axis2_char_t *soap_action = NULL;
+ axiom_node_t *payload = NULL;
+
+
+ payload = content20;
+
+
+ options = AXIS2_STUB_GET_OPTIONS( stub, env);
+ if ( NULL == options )
+ {
+ AXIS2_LOG_ERROR( env->log, AXIS2_LOG_SI, "options is null in stub: Error code:"
+ " %d :: %s", env->error->error_number,
+ AXIS2_ERROR_GET_MESSAGE(env->error));
+ return;
+ }
+ svc_client = AXIS2_STUB_GET_SVC_CLIENT (stub, env );
+ soap_action = AXIS2_OPTIONS_GET_ACTION ( options, env );
+ if ( NULL == soap_action )
+ {
+ soap_action = "";
+ AXIS2_OPTIONS_SET_ACTION( options, env, soap_action );
+ }
+
+ AXIS2_OPTIONS_SET_SOAP_VERSION(options, env, AXIOM_SOAP11 );
+
+
+ callback = axis2_callback_create(env);
+ /* Set our on_complete fucntion pointer to the callback object */
+ AXIS2_CALLBACK_SET_ON_COMPLETE(callback, on_complete);
+ /* Set our on_error function pointer to the callback object */
+ AXIS2_CALLBACK_SET_ON_ERROR(callback, on_error);
+
+ /* Send request */
+ AXIS2_SVC_CLIENT_SEND_RECEIVE_NON_BLOCKING(svc_client, env, payload, callback);
+}
+
+
+/**
+ * auto generated method signature
+ * for "echoHexBinary|http://soapinterop.org" operation.
+ * @param content22
+ */
+axiom_node_t* axis2_stub_interop_test_port_type_doc_service_echo_hex_binary( axis2_stub_t *stub, const axis2_env_t *env ,
+ axiom_node_t* content22)
+{
+ axis2_svc_client_t *svc_client = NULL;
+ axis2_options_t *options = NULL;
+ axiom_node_t *ret_node = NULL;
+
+ const axis2_char_t *soap_action = NULL;
+ axis2_qname_t *op_qname = NULL;
+ axiom_node_t *payload = NULL;
+
+ payload = content22;
+
+
+ options = AXIS2_STUB_GET_OPTIONS( stub, env);
+ if ( NULL == options )
+ {
+ AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "options is null in stub: Error code:"
+ " %d :: %s", env->error->error_number,
+ AXIS2_ERROR_GET_MESSAGE(env->error));
+ return NULL;
+ }
+ svc_client = AXIS2_STUB_GET_SVC_CLIENT (stub, env );
+ soap_action = AXIS2_OPTIONS_GET_ACTION ( options, env );
+ if ( NULL == soap_action )
+ {
+ soap_action = "";
+ AXIS2_OPTIONS_SET_ACTION( options, env, soap_action );
+ }
+
+ AXIS2_OPTIONS_SET_SOAP_VERSION(options, env, AXIOM_SOAP11 );
+
+ op_qname = axis2_qname_create(env,
+ "echoHexBinary" ,
+ "http://soapinterop.org",
+ NULL);
+ ret_node = AXIS2_SVC_CLIENT_SEND_RECEIVE_WITH_OP_QNAME( svc_client, env, op_qname, payload);
+
+
+
+ return ret_node;
+
+}
+
+/**
+ * auto generated method signature for asynchronous invocations
+ * for "echoHexBinary|http://soapinterop.org" operation.
+ * @param content22
+ * @param on_complete callback to handle on complete
+ * @param on_error callback to handle on error
+ */
+
+ void axis2_stub_interop_test_port_type_doc_service_echo_hex_binary_start( axis2_stub_t *stub, const axis2_env_t *env, axiom_node_t* content22,
+ axis2_status_t ( AXIS2_CALL *on_complete ) (struct axis2_callback *, const axis2_env_t *) ,
+ axis2_status_t ( AXIS2_CALL *on_error ) (struct axis2_callback *, const axis2_env_t *, int ) )
+{
+
+ axis2_callback_t *callback = NULL;
+
+ axis2_svc_client_t *svc_client = NULL;
+ axis2_options_t *options = NULL;
+
+ const axis2_char_t *soap_action = NULL;
+ axiom_node_t *payload = NULL;
+
+
+ payload = content22;
+
+
+ options = AXIS2_STUB_GET_OPTIONS( stub, env);
+ if ( NULL == options )
+ {
+ AXIS2_LOG_ERROR( env->log, AXIS2_LOG_SI, "options is null in stub: Error code:"
+ " %d :: %s", env->error->error_number,
+ AXIS2_ERROR_GET_MESSAGE(env->error));
+ return;
+ }
+ svc_client = AXIS2_STUB_GET_SVC_CLIENT (stub, env );
+ soap_action = AXIS2_OPTIONS_GET_ACTION ( options, env );
+ if ( NULL == soap_action )
+ {
+ soap_action = "";
+ AXIS2_OPTIONS_SET_ACTION( options, env, soap_action );
+ }
+
+ AXIS2_OPTIONS_SET_SOAP_VERSION(options, env, AXIOM_SOAP11 );
+
+
+ callback = axis2_callback_create(env);
+ /* Set our on_complete fucntion pointer to the callback object */
+ AXIS2_CALLBACK_SET_ON_COMPLETE(callback, on_complete);
+ /* Set our on_error function pointer to the callback object */
+ AXIS2_CALLBACK_SET_ON_ERROR(callback, on_error);
+
+ /* Send request */
+ AXIS2_SVC_CLIENT_SEND_RECEIVE_NON_BLOCKING(svc_client, env, payload, callback);
+}
+
+
+/**
+ * auto generated method signature
+ * for "echoDecimal|http://soapinterop.org" operation.
+ * @param content24
+ */
+axiom_node_t* axis2_stub_interop_test_port_type_doc_service_echo_decimal( axis2_stub_t *stub, const axis2_env_t *env ,
+ axiom_node_t* content24)
+{
+ axis2_svc_client_t *svc_client = NULL;
+ axis2_options_t *options = NULL;
+ axiom_node_t *ret_node = NULL;
+
+ const axis2_char_t *soap_action = NULL;
+ axis2_qname_t *op_qname = NULL;
+ axiom_node_t *payload = NULL;
+
+ payload = content24;
+
+
+ options = AXIS2_STUB_GET_OPTIONS( stub, env);
+ if ( NULL == options )
+ {
+ AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "options is null in stub: Error code:"
+ " %d :: %s", env->error->error_number,
+ AXIS2_ERROR_GET_MESSAGE(env->error));
+ return NULL;
+ }
+ svc_client = AXIS2_STUB_GET_SVC_CLIENT (stub, env );
+ soap_action = AXIS2_OPTIONS_GET_ACTION ( options, env );
+ if ( NULL == soap_action )
+ {
+ soap_action = "";
+ AXIS2_OPTIONS_SET_ACTION( options, env, soap_action );
+ }
+
+ AXIS2_OPTIONS_SET_SOAP_VERSION(options, env, AXIOM_SOAP11 );
+
+ op_qname = axis2_qname_create(env,
+ "echoDecimal" ,
+ "http://soapinterop.org",
+ NULL);
+ ret_node = AXIS2_SVC_CLIENT_SEND_RECEIVE_WITH_OP_QNAME( svc_client, env, op_qname, payload);
+
+
+
+ return ret_node;
+
+}
+
+/**
+ * auto generated method signature for asynchronous invocations
+ * for "echoDecimal|http://soapinterop.org" operation.
+ * @param content24
+ * @param on_complete callback to handle on complete
+ * @param on_error callback to handle on error
+ */
+
+ void axis2_stub_interop_test_port_type_doc_service_echo_decimal_start( axis2_stub_t *stub, const axis2_env_t *env, axiom_node_t* content24,
+ axis2_status_t ( AXIS2_CALL *on_complete ) (struct axis2_callback *, const axis2_env_t *) ,
+ axis2_status_t ( AXIS2_CALL *on_error ) (struct axis2_callback *, const axis2_env_t *, int ) )
+{
+
+ axis2_callback_t *callback = NULL;
+
+ axis2_svc_client_t *svc_client = NULL;
+ axis2_options_t *options = NULL;
+
+ const axis2_char_t *soap_action = NULL;
+ axiom_node_t *payload = NULL;
+
+
+ payload = content24;
+
+
+ options = AXIS2_STUB_GET_OPTIONS( stub, env);
+ if ( NULL == options )
+ {
+ AXIS2_LOG_ERROR( env->log, AXIS2_LOG_SI, "options is null in stub: Error code:"
+ " %d :: %s", env->error->error_number,
+ AXIS2_ERROR_GET_MESSAGE(env->error));
+ return;
+ }
+ svc_client = AXIS2_STUB_GET_SVC_CLIENT (stub, env );
+ soap_action = AXIS2_OPTIONS_GET_ACTION ( options, env );
+ if ( NULL == soap_action )
+ {
+ soap_action = "";
+ AXIS2_OPTIONS_SET_ACTION( options, env, soap_action );
+ }
+
+ AXIS2_OPTIONS_SET_SOAP_VERSION(options, env, AXIOM_SOAP11 );
+
+
+ callback = axis2_callback_create(env);
+ /* Set our on_complete fucntion pointer to the callback object */
+ AXIS2_CALLBACK_SET_ON_COMPLETE(callback, on_complete);
+ /* Set our on_error function pointer to the callback object */
+ AXIS2_CALLBACK_SET_ON_ERROR(callback, on_error);
+
+ /* Send request */
+ AXIS2_SVC_CLIENT_SEND_RECEIVE_NON_BLOCKING(svc_client, env, payload, callback);
+}
+
+
+/**
+ * auto generated method signature
+ * for "echoBoolean|http://soapinterop.org" operation.
+ * @param content26
+ */
+axiom_node_t* axis2_stub_interop_test_port_type_doc_service_echo_boolean( axis2_stub_t *stub, const axis2_env_t *env ,
+ axiom_node_t* content26)
+{
+ axis2_svc_client_t *svc_client = NULL;
+ axis2_options_t *options = NULL;
+ axiom_node_t *ret_node = NULL;
+
+ const axis2_char_t *soap_action = NULL;
+ axis2_qname_t *op_qname = NULL;
+ axiom_node_t *payload = NULL;
+
+ payload = content26;
+
+
+ options = AXIS2_STUB_GET_OPTIONS( stub, env);
+ if ( NULL == options )
+ {
+ AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "options is null in stub: Error code:"
+ " %d :: %s", env->error->error_number,
+ AXIS2_ERROR_GET_MESSAGE(env->error));
+ return NULL;
+ }
+ svc_client = AXIS2_STUB_GET_SVC_CLIENT (stub, env );
+ soap_action = AXIS2_OPTIONS_GET_ACTION ( options, env );
+ if ( NULL == soap_action )
+ {
+ soap_action = "";
+ AXIS2_OPTIONS_SET_ACTION( options, env, soap_action );
+ }
+
+ AXIS2_OPTIONS_SET_SOAP_VERSION(options, env, AXIOM_SOAP11 );
+
+ op_qname = axis2_qname_create(env,
+ "echoBoolean" ,
+ "http://soapinterop.org",
+ NULL);
+ ret_node = AXIS2_SVC_CLIENT_SEND_RECEIVE_WITH_OP_QNAME( svc_client, env, op_qname, payload);
+
+
+
+ return ret_node;
+
+}
+
+/**
+ * auto generated method signature for asynchronous invocations
+ * for "echoBoolean|http://soapinterop.org" operation.
+ * @param content26
+ * @param on_complete callback to handle on complete
+ * @param on_error callback to handle on error
+ */
+
+ void axis2_stub_interop_test_port_type_doc_service_echo_boolean_start( axis2_stub_t *stub, const axis2_env_t *env, axiom_node_t* content26,
+ axis2_status_t ( AXIS2_CALL *on_complete ) (struct axis2_callback *, const axis2_env_t *) ,
+ axis2_status_t ( AXIS2_CALL *on_error ) (struct axis2_callback *, const axis2_env_t *, int ) )
+{
+
+ axis2_callback_t *callback = NULL;
+
+ axis2_svc_client_t *svc_client = NULL;
+ axis2_options_t *options = NULL;
+
+ const axis2_char_t *soap_action = NULL;
+ axiom_node_t *payload = NULL;
+
+
+ payload = content26;
+
+
+ options = AXIS2_STUB_GET_OPTIONS( stub, env);
+ if ( NULL == options )
+ {
+ AXIS2_LOG_ERROR( env->log, AXIS2_LOG_SI, "options is null in stub: Error code:"
+ " %d :: %s", env->error->error_number,
+ AXIS2_ERROR_GET_MESSAGE(env->error));
+ return;
+ }
+ svc_client = AXIS2_STUB_GET_SVC_CLIENT (stub, env );
+ soap_action = AXIS2_OPTIONS_GET_ACTION ( options, env );
+ if ( NULL == soap_action )
+ {
+ soap_action = "";
+ AXIS2_OPTIONS_SET_ACTION( options, env, soap_action );
+ }
+
+ AXIS2_OPTIONS_SET_SOAP_VERSION(options, env, AXIOM_SOAP11 );
+
+
+ callback = axis2_callback_create(env);
+ /* Set our on_complete fucntion pointer to the callback object */
+ AXIS2_CALLBACK_SET_ON_COMPLETE(callback, on_complete);
+ /* Set our on_error function pointer to the callback object */
+ AXIS2_CALLBACK_SET_ON_ERROR(callback, on_error);
+
+ /* Send request */
+ AXIS2_SVC_CLIENT_SEND_RECEIVE_NON_BLOCKING(svc_client, env, payload, callback);
+}
+
+
Added: webservices/axis2/trunk/c/tools/codegen/samples/client/interop_test_svc/axis2_stub_interop_test_port_type_doc_service.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/tools/codegen/samples/client/interop_test_svc/axis2_stub_interop_test_port_type_doc_service.h?rev=439295&view=auto
==============================================================================
--- webservices/axis2/trunk/c/tools/codegen/samples/client/interop_test_svc/axis2_stub_interop_test_port_type_doc_service.h (added)
+++ webservices/axis2/trunk/c/tools/codegen/samples/client/interop_test_svc/axis2_stub_interop_test_port_type_doc_service.h Fri Sep 1 05:45:57 2006
@@ -0,0 +1,363 @@
+
+
+/**
+* axis2_stub_interop_test_port_type_doc_service.h
+*
+* This file was auto-generated from WSDL for "InteropTestPortTypeDocService|http://soapinterop.org" service
+* by the Apache Axis2/C version: #axisVersion# #today#
+*/
+
+#include <stdio.h>
+#include <axiom.h>
+#include <axis2_util.h>
+#include <axiom_soap.h>
+#include <axis2_client.h>
+#include <axis2_stub.h>
+
+
+/* function prototypes - for header file*/
+/**
+ * axis2_stub_interop_test_port_type_doc_service_create
+ * create and return the stub with services populated
+ * params - env : environment ( mandatory)
+ * - client_home : Axis2/C home ( mandatory )
+ * - endpoint_uri : service endpoint uri( optional ) - if NULL default picked from wsdl used
+ */
+axis2_stub_t*
+axis2_stub_interop_test_port_type_doc_service_create (const axis2_env_t *env,
+ axis2_char_t *client_home,
+ axis2_char_t *endpoint_uri);
+/**
+ * axis2_stub_interop_test_port_type_doc_service_populate_services
+ * populate the svc in stub with the service and operations
+ */
+void axis2_stub_interop_test_port_type_doc_service_populate_services( axis2_stub_t *stub, const axis2_env_t *env);
+/**
+ * axis2_stub_interop_test_port_type_doc_service_get_endpoint_uri_from_wsdl
+ * return the endpoint URI picked from wsdl
+ */
+axis2_char_t *axis2_stub_interop_test_port_type_doc_service_get_endpoint_uri_from_wsdl ( const axis2_env_t *env );
+
+
+/**
+ * auto generated function declaration
+ * for "echoString|http://soapinterop.org" operation.
+ * @param content0
+ */
+
+axiom_node_t* axis2_stub_interop_test_port_type_doc_service_echo_string( axis2_stub_t *stub, const axis2_env_t *env ,
+ axiom_node_t* content0);
+
+/**
+ * auto generated function declaration
+ * for "echoStringArray|http://soapinterop.org" operation.
+ * @param content2
+ */
+
+axiom_node_t* axis2_stub_interop_test_port_type_doc_service_echo_string_array( axis2_stub_t *stub, const axis2_env_t *env ,
+ axiom_node_t* content2);
+
+/**
+ * auto generated function declaration
+ * for "echoInteger|http://soapinterop.org" operation.
+ * @param content4
+ */
+
+axiom_node_t* axis2_stub_interop_test_port_type_doc_service_echo_integer( axis2_stub_t *stub, const axis2_env_t *env ,
+ axiom_node_t* content4);
+
+/**
+ * auto generated function declaration
+ * for "echoIntegerArray|http://soapinterop.org" operation.
+ * @param content6
+ */
+
+axiom_node_t* axis2_stub_interop_test_port_type_doc_service_echo_integer_array( axis2_stub_t *stub, const axis2_env_t *env ,
+ axiom_node_t* content6);
+
+/**
+ * auto generated function declaration
+ * for "echoFloat|http://soapinterop.org" operation.
+ * @param content8
+ */
+
+axiom_node_t* axis2_stub_interop_test_port_type_doc_service_echo_float( axis2_stub_t *stub, const axis2_env_t *env ,
+ axiom_node_t* content8);
+
+/**
+ * auto generated function declaration
+ * for "echoFloatArray|http://soapinterop.org" operation.
+ * @param content10
+ */
+
+axiom_node_t* axis2_stub_interop_test_port_type_doc_service_echo_float_array( axis2_stub_t *stub, const axis2_env_t *env ,
+ axiom_node_t* content10);
+
+/**
+ * auto generated function declaration
+ * for "echoStruct|http://soapinterop.org" operation.
+ * @param content12
+ */
+
+axiom_node_t* axis2_stub_interop_test_port_type_doc_service_echo_struct( axis2_stub_t *stub, const axis2_env_t *env ,
+ axiom_node_t* content12);
+
+/**
+ * auto generated function declaration
+ * for "echoStructArray|http://soapinterop.org" operation.
+ * @param content14
+ */
+
+axiom_node_t* axis2_stub_interop_test_port_type_doc_service_echo_struct_array( axis2_stub_t *stub, const axis2_env_t *env ,
+ axiom_node_t* content14);
+
+/**
+ * auto generated function declaration
+ * for "echoVoid|http://soapinterop.org" operation.
+ * @param content16
+ */
+
+axiom_node_t* axis2_stub_interop_test_port_type_doc_service_echo_void( axis2_stub_t *stub, const axis2_env_t *env ,
+ axiom_node_t* content16);
+
+/**
+ * auto generated function declaration
+ * for "echoBase64|http://soapinterop.org" operation.
+ * @param content18
+ */
+
+axiom_node_t* axis2_stub_interop_test_port_type_doc_service_echo_base64( axis2_stub_t *stub, const axis2_env_t *env ,
+ axiom_node_t* content18);
+
+/**
+ * auto generated function declaration
+ * for "echoDate|http://soapinterop.org" operation.
+ * @param content20
+ */
+
+axiom_node_t* axis2_stub_interop_test_port_type_doc_service_echo_date( axis2_stub_t *stub, const axis2_env_t *env ,
+ axiom_node_t* content20);
+
+/**
+ * auto generated function declaration
+ * for "echoHexBinary|http://soapinterop.org" operation.
+ * @param content22
+ */
+
+axiom_node_t* axis2_stub_interop_test_port_type_doc_service_echo_hex_binary( axis2_stub_t *stub, const axis2_env_t *env ,
+ axiom_node_t* content22);
+
+/**
+ * auto generated function declaration
+ * for "echoDecimal|http://soapinterop.org" operation.
+ * @param content24
+ */
+
+axiom_node_t* axis2_stub_interop_test_port_type_doc_service_echo_decimal( axis2_stub_t *stub, const axis2_env_t *env ,
+ axiom_node_t* content24);
+
+/**
+ * auto generated function declaration
+ * for "echoBoolean|http://soapinterop.org" operation.
+ * @param content26
+ */
+
+axiom_node_t* axis2_stub_interop_test_port_type_doc_service_echo_boolean( axis2_stub_t *stub, const axis2_env_t *env ,
+ axiom_node_t* content26);
+
+/**
+ * auto generated function declaration
+ * for "echoString|http://soapinterop.org" operation.
+ * @param content0
+ * @param on_complete callback to handle on complete
+ * @param on_error callback to handle on error
+ */
+
+
+void axis2_stub_interop_test_port_type_doc_service_echo_string_start( axis2_stub_t *stub, const axis2_env_t *env, axiom_node_t* content0,
+ axis2_status_t ( AXIS2_CALL *on_complete ) (struct axis2_callback *, const axis2_env_t* ) ,
+ axis2_status_t ( AXIS2_CALL *on_error ) (struct axis2_callback *, const axis2_env_t*, int ) );
+
+
+/**
+ * auto generated function declaration
+ * for "echoStringArray|http://soapinterop.org" operation.
+ * @param content2
+ * @param on_complete callback to handle on complete
+ * @param on_error callback to handle on error
+ */
+
+
+void axis2_stub_interop_test_port_type_doc_service_echo_string_array_start( axis2_stub_t *stub, const axis2_env_t *env, axiom_node_t* content2,
+ axis2_status_t ( AXIS2_CALL *on_complete ) (struct axis2_callback *, const axis2_env_t* ) ,
+ axis2_status_t ( AXIS2_CALL *on_error ) (struct axis2_callback *, const axis2_env_t*, int ) );
+
+
+/**
+ * auto generated function declaration
+ * for "echoInteger|http://soapinterop.org" operation.
+ * @param content4
+ * @param on_complete callback to handle on complete
+ * @param on_error callback to handle on error
+ */
+
+
+void axis2_stub_interop_test_port_type_doc_service_echo_integer_start( axis2_stub_t *stub, const axis2_env_t *env, axiom_node_t* content4,
+ axis2_status_t ( AXIS2_CALL *on_complete ) (struct axis2_callback *, const axis2_env_t* ) ,
+ axis2_status_t ( AXIS2_CALL *on_error ) (struct axis2_callback *, const axis2_env_t*, int ) );
+
+
+/**
+ * auto generated function declaration
+ * for "echoIntegerArray|http://soapinterop.org" operation.
+ * @param content6
+ * @param on_complete callback to handle on complete
+ * @param on_error callback to handle on error
+ */
+
+
+void axis2_stub_interop_test_port_type_doc_service_echo_integer_array_start( axis2_stub_t *stub, const axis2_env_t *env, axiom_node_t* content6,
+ axis2_status_t ( AXIS2_CALL *on_complete ) (struct axis2_callback *, const axis2_env_t* ) ,
+ axis2_status_t ( AXIS2_CALL *on_error ) (struct axis2_callback *, const axis2_env_t*, int ) );
+
+
+/**
+ * auto generated function declaration
+ * for "echoFloat|http://soapinterop.org" operation.
+ * @param content8
+ * @param on_complete callback to handle on complete
+ * @param on_error callback to handle on error
+ */
+
+
+void axis2_stub_interop_test_port_type_doc_service_echo_float_start( axis2_stub_t *stub, const axis2_env_t *env, axiom_node_t* content8,
+ axis2_status_t ( AXIS2_CALL *on_complete ) (struct axis2_callback *, const axis2_env_t* ) ,
+ axis2_status_t ( AXIS2_CALL *on_error ) (struct axis2_callback *, const axis2_env_t*, int ) );
+
+
+/**
+ * auto generated function declaration
+ * for "echoFloatArray|http://soapinterop.org" operation.
+ * @param content10
+ * @param on_complete callback to handle on complete
+ * @param on_error callback to handle on error
+ */
+
+
+void axis2_stub_interop_test_port_type_doc_service_echo_float_array_start( axis2_stub_t *stub, const axis2_env_t *env, axiom_node_t* content10,
+ axis2_status_t ( AXIS2_CALL *on_complete ) (struct axis2_callback *, const axis2_env_t* ) ,
+ axis2_status_t ( AXIS2_CALL *on_error ) (struct axis2_callback *, const axis2_env_t*, int ) );
+
+
+/**
+ * auto generated function declaration
+ * for "echoStruct|http://soapinterop.org" operation.
+ * @param content12
+ * @param on_complete callback to handle on complete
+ * @param on_error callback to handle on error
+ */
+
+
+void axis2_stub_interop_test_port_type_doc_service_echo_struct_start( axis2_stub_t *stub, const axis2_env_t *env, axiom_node_t* content12,
+ axis2_status_t ( AXIS2_CALL *on_complete ) (struct axis2_callback *, const axis2_env_t* ) ,
+ axis2_status_t ( AXIS2_CALL *on_error ) (struct axis2_callback *, const axis2_env_t*, int ) );
+
+
+/**
+ * auto generated function declaration
+ * for "echoStructArray|http://soapinterop.org" operation.
+ * @param content14
+ * @param on_complete callback to handle on complete
+ * @param on_error callback to handle on error
+ */
+
+
+void axis2_stub_interop_test_port_type_doc_service_echo_struct_array_start( axis2_stub_t *stub, const axis2_env_t *env, axiom_node_t* content14,
+ axis2_status_t ( AXIS2_CALL *on_complete ) (struct axis2_callback *, const axis2_env_t* ) ,
+ axis2_status_t ( AXIS2_CALL *on_error ) (struct axis2_callback *, const axis2_env_t*, int ) );
+
+
+/**
+ * auto generated function declaration
+ * for "echoVoid|http://soapinterop.org" operation.
+ * @param content16
+ * @param on_complete callback to handle on complete
+ * @param on_error callback to handle on error
+ */
+
+
+void axis2_stub_interop_test_port_type_doc_service_echo_void_start( axis2_stub_t *stub, const axis2_env_t *env, axiom_node_t* content16,
+ axis2_status_t ( AXIS2_CALL *on_complete ) (struct axis2_callback *, const axis2_env_t* ) ,
+ axis2_status_t ( AXIS2_CALL *on_error ) (struct axis2_callback *, const axis2_env_t*, int ) );
+
+
+/**
+ * auto generated function declaration
+ * for "echoBase64|http://soapinterop.org" operation.
+ * @param content18
+ * @param on_complete callback to handle on complete
+ * @param on_error callback to handle on error
+ */
+
+
+void axis2_stub_interop_test_port_type_doc_service_echo_base64_start( axis2_stub_t *stub, const axis2_env_t *env, axiom_node_t* content18,
+ axis2_status_t ( AXIS2_CALL *on_complete ) (struct axis2_callback *, const axis2_env_t* ) ,
+ axis2_status_t ( AXIS2_CALL *on_error ) (struct axis2_callback *, const axis2_env_t*, int ) );
+
+
+/**
+ * auto generated function declaration
+ * for "echoDate|http://soapinterop.org" operation.
+ * @param content20
+ * @param on_complete callback to handle on complete
+ * @param on_error callback to handle on error
+ */
+
+
+void axis2_stub_interop_test_port_type_doc_service_echo_date_start( axis2_stub_t *stub, const axis2_env_t *env, axiom_node_t* content20,
+ axis2_status_t ( AXIS2_CALL *on_complete ) (struct axis2_callback *, const axis2_env_t* ) ,
+ axis2_status_t ( AXIS2_CALL *on_error ) (struct axis2_callback *, const axis2_env_t*, int ) );
+
+
+/**
+ * auto generated function declaration
+ * for "echoHexBinary|http://soapinterop.org" operation.
+ * @param content22
+ * @param on_complete callback to handle on complete
+ * @param on_error callback to handle on error
+ */
+
+
+void axis2_stub_interop_test_port_type_doc_service_echo_hex_binary_start( axis2_stub_t *stub, const axis2_env_t *env, axiom_node_t* content22,
+ axis2_status_t ( AXIS2_CALL *on_complete ) (struct axis2_callback *, const axis2_env_t* ) ,
+ axis2_status_t ( AXIS2_CALL *on_error ) (struct axis2_callback *, const axis2_env_t*, int ) );
+
+
+/**
+ * auto generated function declaration
+ * for "echoDecimal|http://soapinterop.org" operation.
+ * @param content24
+ * @param on_complete callback to handle on complete
+ * @param on_error callback to handle on error
+ */
+
+
+void axis2_stub_interop_test_port_type_doc_service_echo_decimal_start( axis2_stub_t *stub, const axis2_env_t *env, axiom_node_t* content24,
+ axis2_status_t ( AXIS2_CALL *on_complete ) (struct axis2_callback *, const axis2_env_t* ) ,
+ axis2_status_t ( AXIS2_CALL *on_error ) (struct axis2_callback *, const axis2_env_t*, int ) );
+
+
+/**
+ * auto generated function declaration
+ * for "echoBoolean|http://soapinterop.org" operation.
+ * @param content26
+ * @param on_complete callback to handle on complete
+ * @param on_error callback to handle on error
+ */
+
+
+void axis2_stub_interop_test_port_type_doc_service_echo_boolean_start( axis2_stub_t *stub, const axis2_env_t *env, axiom_node_t* content26,
+ axis2_status_t ( AXIS2_CALL *on_complete ) (struct axis2_callback *, const axis2_env_t* ) ,
+ axis2_status_t ( AXIS2_CALL *on_error ) (struct axis2_callback *, const axis2_env_t*, int ) );
+
+
Added: webservices/axis2/trunk/c/tools/codegen/samples/client/interop_test_svc/readme
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/tools/codegen/samples/client/interop_test_svc/readme?rev=439295&view=auto
==============================================================================
--- webservices/axis2/trunk/c/tools/codegen/samples/client/interop_test_svc/readme (added)
+++ webservices/axis2/trunk/c/tools/codegen/samples/client/interop_test_svc/readme Fri Sep 1 05:45:57 2006
@@ -0,0 +1,9 @@
+This is a sample generated from Axis2/C Codegen tool.
+
+sample source test_calcultor.c
+wsdl $AXIS2C_SRC/test/resources/wsdl/InteropTestRound1Doc.wsdl
+
+Command to execute the code generation:
+( with converting names(cn) and indenting code(id) )
+
+w2c -uri $AXIS2C_SRC/test/resources/wsdl/InteropTestRound1Doc.wsdl -cn -id
Propchange: webservices/axis2/trunk/c/tools/codegen/samples/client/interop_test_svc/readme
------------------------------------------------------------------------------
svn:executable = *
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org