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 da...@apache.org on 2006/03/28 07:40:51 UTC
svn commit: r389403 [1/3] - in /webservices/axis2/trunk/c: ./ include/
modules/util/ modules/wsdl/ modules/wsdl/builder/ samples/ samples/client/
samples/client/dynamic_invocation/ test/resources/wsdl/
test/wsdl/builder/print/
Author: damitha
Date: Mon Mar 27 21:40:46 2006
New Revision: 389403
URL: http://svn.apache.org/viewcvs?rev=389403&view=rev
Log:
Initial coding of WOM model is done. Also added an dynamic invocation
client to test this. Yet no testing is done
Added:
webservices/axis2/trunk/c/include/axis2_wsdl4c_soap.h
webservices/axis2/trunk/c/include/axis2_wsdl_ext_soap_address.h
webservices/axis2/trunk/c/include/axis2_wsdl_ext_soap_binding.h
webservices/axis2/trunk/c/include/axis2_wsdl_ext_soap_op.h
webservices/axis2/trunk/c/include/axis2_wsdl_pump.h
- copied, changed from r389393, webservices/axis2/trunk/c/modules/wsdl/builder/axis2_wsdl_pump.h
webservices/axis2/trunk/c/modules/wsdl/wsdl_ext_default_element.c
webservices/axis2/trunk/c/modules/wsdl/wsdl_ext_soap_address.c
webservices/axis2/trunk/c/modules/wsdl/wsdl_ext_soap_binding.c
webservices/axis2/trunk/c/modules/wsdl/wsdl_ext_soap_op.c
webservices/axis2/trunk/c/samples/client/dynamic_invocation/
webservices/axis2/trunk/c/samples/client/dynamic_invocation/Makefile.am
webservices/axis2/trunk/c/samples/client/dynamic_invocation/README
webservices/axis2/trunk/c/samples/client/dynamic_invocation/di_client.c
Removed:
webservices/axis2/trunk/c/modules/wsdl/builder/axis2_wsdl1_to_wom_builder.h
webservices/axis2/trunk/c/modules/wsdl/builder/axis2_wsdl_pump.h
webservices/axis2/trunk/c/modules/wsdl/builder/wsdl1_to_wom_builder.c
webservices/axis2/trunk/c/modules/wsdl/builder/wsdl_version_wrapper.c
Modified:
webservices/axis2/trunk/c/build.sh
webservices/axis2/trunk/c/include/axis2_error.h
webservices/axis2/trunk/c/include/axis2_wsdl4c_binding.h
webservices/axis2/trunk/c/include/axis2_wsdl4c_element.h
webservices/axis2/trunk/c/include/axis2_wsdl4c_message.h
webservices/axis2/trunk/c/include/axis2_wsdl4c_operation.h
webservices/axis2/trunk/c/include/axis2_wsdl4c_parser.h
webservices/axis2/trunk/c/include/axis2_wsdl4c_part.h
webservices/axis2/trunk/c/include/axis2_wsdl4c_port_type.h
webservices/axis2/trunk/c/include/axis2_wsdl4c_service.h
webservices/axis2/trunk/c/include/axis2_wsdl_binding.h
webservices/axis2/trunk/c/include/axis2_wsdl_binding_msg_ref.h
webservices/axis2/trunk/c/include/axis2_wsdl_binding_op.h
webservices/axis2/trunk/c/include/axis2_wsdl_desc.h
webservices/axis2/trunk/c/include/axis2_wsdl_ext_soap_body.h
webservices/axis2/trunk/c/include/axis2_wsdl_ext_soap_header.h
webservices/axis2/trunk/c/include/axis2_wsdl_msg_ref.h
webservices/axis2/trunk/c/include/axis2_wsdl_svc.h
webservices/axis2/trunk/c/modules/util/error.c
webservices/axis2/trunk/c/modules/wsdl/Makefile.am
webservices/axis2/trunk/c/modules/wsdl/builder/Makefile.am
webservices/axis2/trunk/c/modules/wsdl/builder/wsdl11_mep_finder.c
webservices/axis2/trunk/c/modules/wsdl/builder/wsdl_pump.c
webservices/axis2/trunk/c/modules/wsdl/wsdl_binding.c
webservices/axis2/trunk/c/modules/wsdl/wsdl_binding_fault.c
webservices/axis2/trunk/c/modules/wsdl/wsdl_binding_msg_ref.c
webservices/axis2/trunk/c/modules/wsdl/wsdl_binding_op.c
webservices/axis2/trunk/c/modules/wsdl/wsdl_endpoint.c
webservices/axis2/trunk/c/modules/wsdl/wsdl_fault_ref.c
webservices/axis2/trunk/c/modules/wsdl/wsdl_feature.c
webservices/axis2/trunk/c/modules/wsdl/wsdl_import.c
webservices/axis2/trunk/c/modules/wsdl/wsdl_include.c
webservices/axis2/trunk/c/modules/wsdl/wsdl_interface.c
webservices/axis2/trunk/c/modules/wsdl/wsdl_msg_ref.c
webservices/axis2/trunk/c/modules/wsdl/wsdl_op.c
webservices/axis2/trunk/c/modules/wsdl/wsdl_property.c
webservices/axis2/trunk/c/modules/wsdl/wsdl_soap_op.c
webservices/axis2/trunk/c/modules/wsdl/wsdl_svc.c
webservices/axis2/trunk/c/samples/client/Makefile.am
webservices/axis2/trunk/c/samples/configure.ac
webservices/axis2/trunk/c/test/resources/wsdl/StockQuotes.wsdl
webservices/axis2/trunk/c/test/wsdl/builder/print/test_print.c
Modified: webservices/axis2/trunk/c/build.sh
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/build.sh?rev=389403&r1=389402&r2=389403&view=diff
==============================================================================
--- webservices/axis2/trunk/c/build.sh (original)
+++ webservices/axis2/trunk/c/build.sh Mon Mar 27 21:40:46 2006
@@ -4,6 +4,3 @@
./configure --prefix=${AXIS2C_HOME} --enable-tests=yes --enable-trace=yes --with-apache2=/usr/include/apache2 --with-apr=/usr/include/apr-0
make
make install
-cd samples
-sh build.sh
-cd ..
Modified: webservices/axis2/trunk/c/include/axis2_error.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_error.h?rev=389403&r1=389402&r2=389403&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_error.h (original)
+++ webservices/axis2/trunk/c/include/axis2_error.h Mon Mar 27 21:40:46 2006
@@ -421,6 +421,8 @@
AXIS2_ERROR_WSDL_PARSER_INVALID_STATE,
/* Interface or Port Type not found for the binding */
AXIS2_ERROR_INTERFACE_OR_PORT_TYPE_NOT_FOUND_FOR_THE_BINDING,
+ /* Interfaces or Ports not found for the partially built WOM */
+ AXIS2_ERROR_INTERFACES_OR_PORTS_NOT_FOUND_FOR_PARTIALLY_BUILT_WOM,
/* Error occured in transport */
AXIS2_ERROR_HTTP_CLIENT_TRANSPORT_ERROR,
/** The following has to be the last error value all the time.
Modified: webservices/axis2/trunk/c/include/axis2_wsdl4c_binding.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_wsdl4c_binding.h?rev=389403&r1=389402&r2=389403&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_wsdl4c_binding.h (original)
+++ webservices/axis2/trunk/c/include/axis2_wsdl4c_binding.h Mon Mar 27 21:40:46 2006
@@ -89,30 +89,30 @@
axis2_wsdl4c_binding_get_binding_method(void *binding);
/**
- * axis2_wsdl4c_binding_get_binding
+ * axis2_wsdl4c_binding_get_op_binding
* @return The number of binding extensibility elements assocated with each
- * message of the operation whose index is given
- * returns a pointer to a list of extensibility binding ids
+ * message of the operation whose index is given
+ * returns a pointer to a list of extensibility binding ids
*/
int
axis2_wsdl4c_binding_get_op_binding(void *binding,
int index,
- int *&bindings);
+ int **bindings);
int
axis2_wsdl4c_binding_get_output_binding(void *binding,
int index,
- int *& bindings);
+ int ** bindings);
int
axis2_wsdl4c_binding_get_input_binding(void *binding,
int index,
- int *& bindings);
+ int ** bindings);
int
axis2_wsdl4c_binding_get_fault_binding(void *binding,
int index,
- int *& bindings);
+ int ** bindings);
void
axis2_wsdl4c_binding_set_port_type(void *binding,
@@ -161,14 +161,14 @@
* get_name
* @return name of the Wsdl Element
*/
- const char *
+ char *
axis2_wsdl4c_binding_get_name(void *binding);
/**
* get_documentation
*
*/
- const char *
+ char *
axis2_wsdl4c_binding_get_documentation(void *binding);
/**
Modified: webservices/axis2/trunk/c/include/axis2_wsdl4c_element.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_wsdl4c_element.h?rev=389403&r1=389402&r2=389403&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_wsdl4c_element.h (original)
+++ webservices/axis2/trunk/c/include/axis2_wsdl4c_element.h Mon Mar 27 21:40:46 2006
@@ -45,7 +45,7 @@
axis2_wsdl4c_element_set_type(void *element,
int id);
- const char *
+ char *
axis2_wsdl4c_element_get_name(void *element);
int
Modified: webservices/axis2/trunk/c/include/axis2_wsdl4c_message.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_wsdl4c_message.h?rev=389403&r1=389402&r2=389403&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_wsdl4c_message.h (original)
+++ webservices/axis2/trunk/c/include/axis2_wsdl4c_message.h Mon Mar 27 21:40:46 2006
@@ -119,7 +119,7 @@
char *name);
- const char *
+ char *
axis2_wsdl4c_msg_get_part_name(void *message,
int index);
@@ -144,14 +144,14 @@
* get_name
* @return name of the Wsdl Element
*/
- const char *
+ char *
axis2_wsdl4c_msg_get_name(void *message);
/**
* get_documentation
*
*/
- const char *
+ char *
axis2_wsdl4c_msg_get_documentation(void *message);
/**
Modified: webservices/axis2/trunk/c/include/axis2_wsdl4c_operation.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_wsdl4c_operation.h?rev=389403&r1=389402&r2=389403&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_wsdl4c_operation.h (original)
+++ webservices/axis2/trunk/c/include/axis2_wsdl4c_operation.h Mon Mar 27 21:40:46 2006
@@ -65,7 +65,7 @@
/**
* axis2_wsdl4c_operation_get_message
- * @param mesage type ,Input,Output or Fault
+ * @param mesage type , WSDL4C_INPUT, WSDL4C_OUTPUT or WSDL4C_FAULT
* @return pointer to the message
*/
const void *
@@ -98,14 +98,14 @@
* get_name
* @return name of the Wsdl Element
*/
- const char *
+ char *
axis2_wsdl4c_operation_get_name(void *operation);
/**
* get_documentation
*
*/
- const char *
+ char *
axis2_wsdl4c_operation_get_documentation(void *operation);
/**
Modified: webservices/axis2/trunk/c/include/axis2_wsdl4c_parser.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_wsdl4c_parser.h?rev=389403&r1=389402&r2=389403&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_wsdl4c_parser.h (original)
+++ webservices/axis2/trunk/c/include/axis2_wsdl4c_parser.h Mon Mar 27 21:40:46 2006
@@ -146,16 +146,27 @@
axis2_wsdl4c_parser_get_bindings(void *parser);
/**
+ * get_services
+ * @return iterator to a list of service elements
+ */
+ axis2_array_list_t *
+ axis2_wsdl4c_parser_get_services(void *parser);
+
+ /**
* get_service .This method must be called after
* <code>getEventType</code> returns SERVICE
* @return reference to the Binding element just parsed.
*/
- /*const void *
- axis2_wsdl4c_parser_get_svc(void *parser)
- {
- WsdlParser *wp = (WsdlParser *) parser;
- return wp->getService();
- }*/
+ const void *
+ axis2_wsdl4c_parser_get_service(void *parser);
+
+ /**
+ * get_service.
+ * @param Qname refering to the service element
+ * @return reference to the Service element
+ */
+ const void *
+ axis2_wsdl4c_parser_get_service_a_q(void *parser, void *q);
/**
* get_port_type .This method must be called after
@@ -267,7 +278,7 @@
* WsdlParser only stores ids for the extensibilit elements.
*/
void *
- axis2_wsdl4c_parser_get_extensibility_handler_a_extId(void *parser, int extId);
+ axis2_wsdl4c_parser_get_extensibility_handler_a_ext_id(void *parser, int ext_id);
/**
* set_feature enables one of the features of the parser
Modified: webservices/axis2/trunk/c/include/axis2_wsdl4c_part.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_wsdl4c_part.h?rev=389403&r1=389402&r2=389403&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_wsdl4c_part.h (original)
+++ webservices/axis2/trunk/c/include/axis2_wsdl4c_part.h Mon Mar 27 21:40:46 2006
@@ -53,12 +53,12 @@
/**
* @name axis2_wsdl4c_part_ref_type
- * @return number of parts in the message
+ * @return number of part ref type
*/
axis2_wsdl4c_part_ref_type_t
axis2_wsdl4c_part_ref_type(void *part);
- const char *
+ char *
axis2_wsdl4c_part_name(void *part);
int
Modified: webservices/axis2/trunk/c/include/axis2_wsdl4c_port_type.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_wsdl4c_port_type.h?rev=389403&r1=389402&r2=389403&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_wsdl4c_port_type.h (original)
+++ webservices/axis2/trunk/c/include/axis2_wsdl4c_port_type.h Mon Mar 27 21:40:46 2006
@@ -96,14 +96,14 @@
* get_name
* @return name of the Wsdl Element
*/
- const char *
+ char *
axis2_wsdl4c_port_type_get_name(void *port_type);
/**
* get_documentation
*
*/
- const char *
+ char *
axis2_wsdl4c_port_type_get_documentation(void *port_type);
/**
Modified: webservices/axis2/trunk/c/include/axis2_wsdl4c_service.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_wsdl4c_service.h?rev=389403&r1=389402&r2=389403&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_wsdl4c_service.h (original)
+++ webservices/axis2/trunk/c/include/axis2_wsdl4c_service.h Mon Mar 27 21:40:46 2006
@@ -42,7 +42,7 @@
axis2_wsdl4c_service_destroy(void *service);
/**
- * axis2_wsdl4c_get_binding_info
+ * axis2_wsdl4c_service_add_port
* @return the extensibility element id of the main binding extension element.
* In case of soap it would be the id of the soap:binding element
*/
@@ -51,31 +51,42 @@
char *name,
void *binding,
int svc_ext_id);
-
+
+ /**
+ * @param name of the port
+ * @return service extension id of the port
+ */
int
axis2_wsdl4c_service_get_port_extention(void *service,
char *name);
-
+
+ /**
+ * Get the binding associated with the port
+ * @param port name
+ * @return binding associated with the port
+ */
const void *
axis2_wsdl4c_service_get_port_binding(void *service,
char *name);
+ /**
+ * return names of the ports associated with the service
+ */
axis2_array_list_t *
- axis2_wsdl4c_service_get_ports(void *service,
- char *name);
+ axis2_wsdl4c_service_get_ports(void *service);
/**
* get_name
* @return name of the Wsdl Element
*/
- const char *
+ char *
axis2_wsdl4c_service_get_name(void *service);
/**
* get_documentation
*
*/
- const char *
+ char *
axis2_wsdl4c_service_get_documentation(void *service);
/**
Added: webservices/axis2/trunk/c/include/axis2_wsdl4c_soap.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_wsdl4c_soap.h?rev=389403&view=auto
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_wsdl4c_soap.h (added)
+++ webservices/axis2/trunk/c/include/axis2_wsdl4c_soap.h Mon Mar 27 21:40:46 2006
@@ -0,0 +1,213 @@
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+ #ifndef AXIS2_WSDL4C_SOAP_H
+ #define AXIS2_WSDL4C_SOAP_H
+
+ /**
+ * @file axis2_wsdl4c_soap.h
+ * @brief defines WSDL4C_SOAP constants
+ */
+#include <axis2_array_list.h>
+#include <axis2_allocator.h>
+#include <axis2_env.h>
+#include <axis2_error.h>
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+/**
+ * @defgroup axis2 wsdl4c_soap constants
+ * @ingroup axis2_wsdl4c_soap
+ * @{
+ */
+#define AXIS2_WSDL4C_HTTP_TRANSPORT "http://schemas.xmlsoap.org/soap/http"
+#define AXIS2_WSDL4C_HTTP_BINDING "http://schemas.xmlsoap.org/wsdl/http/"
+#define AXIS2_WSDL4C_SOAP_ENC_URI "http://schemas.xmlsoap.org/soap/encoding/"
+#define AXIS2_WSDL4C_SOAP_ENV_URI "http://schemas.xmlsoap.org/soap/envelope/"
+#define AXIS2_WSDL4C_SOAP_BINDING_URI "http://schemas.xmlsoap.org/wsdl/soap/"
+ typedef enum
+ {
+ AXIS2_WSDL4C_LITERAL,
+ AXIS2_WSDL4C_ENCODED
+ } axis2_wsdl4c_encoding_t;
+
+ typedef enum
+ {
+ AXIS2_WSDL4C_RPC,
+ AXIS2_WSDL4C_DOC
+ } axis2_wsdl4c_style_t;
+
+ typedef enum
+ {
+ AXIS2_WSDL4C_NONE,
+ AXIS2_WSDL4C_HTTP,
+ AXIS2_WSDL4C_SMTP
+ } axis2_wsdl4c_transport_t;
+
+ void *
+ axis2_wsdl4c_soap_create(char *schema_path);
+
+ void
+ axis2_wsdl4c_soap_destroy(void *soap);
+
+ /**
+ * Set path to directory containing XML schemas.
+ */
+ void
+ axis2_wsdl4c_soap_set_schema_path(void *soap,
+ char *schema_path);
+
+ axis2_wsdl4c_transport_t
+ axis2_wsdl4c_soap_get_transport_method(void *soap);
+
+ axis2_wsdl4c_style_t
+ axis2_wsdl4c_soap_get_style(void *soap);
+
+ /*
+ Returns the namespace URI of the wsdl
+ extensibility elements that it can handle.
+ */
+ char *
+ axis2_wsdl4c_soap_get_namespace(void *soap);
+
+ void
+ axis2_wsdl4c_soap_set_namespace_prefix(void *soap,
+ char *prefix);
+
+ char *
+ axis2_wsdl4c_soap_get_namespace_prefix(void *soap);
+
+
+ axis2_bool_t
+ axis2_wsdl4c_soap_is_namespace_handler(void *soap,
+ char *ns);
+
+
+ char *
+ axis2_wsdl4c_soap_get_extensibility_schema(void *soap);
+
+
+ char *
+ axis2_wsdl4c_soap_get_encoding_schema(void *soap);
+
+
+ void
+ axis2_wsdl4c_soap_set_schema_parser(void *soap,
+ void *schema_parser);
+
+
+ /*
+ * parent is the Wsdl parent element type under which the extensibility
+ * element has come
+ */
+ int
+ axis2_wsdl4c_soap_handle_element(void *soap,
+ int parent,
+ void *xml_pull_parser);
+
+
+ /* att_name is the extensibility attribute */
+ int
+ axis2_wsdl4c_soap_handle_attribute(void *soap,
+ int parent,
+ char *att_name,
+ void *xml_pull_parser);
+
+ /* returns a valid extensibilty element */
+ int
+ axis2_wsdl4c_soap_get_element_name(void *soap,
+ int id);
+
+ int
+ axis2_wsdl4c_soap_get_elem_attribute(void *soap,
+ int id,
+ int att_num);
+
+ int
+ axis2_wsdl4c_soap_get_elem_attribute_value(void *soap,
+ int id,
+ int att_num);
+
+
+ /* returns a valid extensibility attribute */
+ int
+ axis2_wsdl4c_soap_get_attribute_name(void *soap, int id);
+
+
+ /*
+ * this is the start of all ids that must be used for elems/attributes
+ * in this namespace
+ */
+ void
+ axis2_wsdl4c_soap_set_start_id(void *soap,
+ int id);
+
+
+ int
+ axis2_wsdl4c_soap_get_start_id(void *soap);
+
+
+ void
+ axis2_wsdl4c_soap_set_wsdl_parser(void *soap,
+ void *wp);
+
+ void *
+ axis2_wsdl4c_soap_wsdl_parser(void *soap);
+
+ axis2_bool_t
+ axis2_wsdl4c_soap_was_used(void *soap);
+
+ void
+ axis2_wsdl4c_soap_get_operation_info(void *soap,
+ int elem_id,
+ char **soap_action,
+ axis2_wsdl4c_style_t *style);
+
+ void
+ axis2_wsdl4c_soap_get_body_info(void *soap,
+ int elem_id,
+ char **ns,
+ axis2_wsdl4c_encoding_t *use);
+
+ void
+ axis2_wsdl4c_soap_get_header_info(void *soap,
+ int elem_id,
+ int *part_id,
+ void **message);
+
+ axis2_bool_t
+ axis2_wsdl4c_soap_get_service_location(void *soap,
+ int elem_id,
+ char **location);
+
+ /* TODO add more methods like this */
+ axis2_bool_t
+ axis2_wsdl4c_soap_is_soap_body(void *soap,
+ int id);
+
+ axis2_bool_t
+ axis2_wsdl4c_soap_is_soap_header(void *soap,
+ int id);
+
+
+/** @} */
+
+#ifdef __cplusplus
+}
+#endif
+#endif /* AXIS2_WSDL4C_SOAP_H */
Modified: webservices/axis2/trunk/c/include/axis2_wsdl_binding.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_wsdl_binding.h?rev=389403&r1=389402&r2=389403&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_wsdl_binding.h (original)
+++ webservices/axis2/trunk/c/include/axis2_wsdl_binding.h Mon Mar 27 21:40:46 2006
@@ -149,9 +149,9 @@
axis2_hash_t *binding_ops);
/**
- * Method addBindingOperation
+ * Method add_binding_op
*
- * @param bindingOperation
+ * @param Binding Operation
*/
axis2_status_t (AXIS2_CALL *
add_binding_op) (
@@ -160,15 +160,15 @@
struct axis2_wsdl_binding_op *binding_op);
/**
- * Method getBindingOperation
+ * Method get_binding_op
*
* @param qName
- * @return WSDLBindingOperation
+ * @return WSDL Binding Operation
*/
struct axis2_wsdl_binding_op *(AXIS2_CALL *
get_binding_op) (axis2_wsdl_binding_t *binding,
axis2_env_t **env,
- axis2_qname_t *qName);
+ axis2_qname_t *qname);
/**
* Method addBindingFaults
@@ -243,8 +243,8 @@
#define AXIS2_WSDL_BINDING_ADD_BINDING_OP(wsdl_binding, env, op) \
((wsdl_binding)->ops->add_binding_op (wsdl_binding, env, op))
-#define AXIS2_WSDL_BINDING_GET_BINDING_OP(wsdl_binding, env) \
- ((wsdl_binding)->ops->get_binding_op (wsdl_binding, env))
+#define AXIS2_WSDL_BINDING_GET_BINDING_OP(wsdl_binding, env, qname) \
+ ((wsdl_binding)->ops->get_binding_op (wsdl_binding, env, qname))
#define AXIS2_WSDL_BINDING_ADD_BINDING_FAULT(wsdl_binding, env, op) \
((wsdl_binding)->ops->add_binding_fault (wsdl_binding, env, fault))
Modified: webservices/axis2/trunk/c/include/axis2_wsdl_binding_msg_ref.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_wsdl_binding_msg_ref.h?rev=389403&r1=389402&r2=389403&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_wsdl_binding_msg_ref.h (original)
+++ webservices/axis2/trunk/c/include/axis2_wsdl_binding_msg_ref.h Mon Mar 27 21:40:46 2006
@@ -120,7 +120,7 @@
#define AXIS2_WSDL_BINDING_MSG_REF_GET_DIRECTION(wsdl_binding_msg_ref, env) \
((wsdl_binding_msg_ref)->ops->get_direction (wsdl_binding_msg_ref, env))
-#define AXIS2_WSDL_BINDING_MSG_REF_SET_DIRECTION(wsdl_binding_msg_ref, env, ref) \
+#define AXIS2_WSDL_BINDING_MSG_REF_SET_DIRECTION(wsdl_binding_msg_ref, env, direction) \
((wsdl_binding_msg_ref)->ops->set_direction (wsdl_binding_msg_ref, env, direction))
#define AXIS2_WSDL_BINDING_MSG_REF_GET_MSG_LABEL(wsdl_binding_msg_ref, env) \
Modified: webservices/axis2/trunk/c/include/axis2_wsdl_binding_op.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_wsdl_binding_op.h?rev=389403&r1=389402&r2=389403&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_wsdl_binding_op.h (original)
+++ webservices/axis2/trunk/c/include/axis2_wsdl_binding_op.h Mon Mar 27 21:40:46 2006
@@ -65,8 +65,8 @@
*/
axis2_status_t (AXIS2_CALL *
set_input) (axis2_wsdl_binding_op_t *binding_op,
- axis2_env_t **env,
- struct axis2_wsdl_binding_msg_ref *input);
+ axis2_env_t **env,
+ struct axis2_wsdl_binding_msg_ref *input);
/**
* Method getOperation
@@ -186,18 +186,16 @@
#define AXIS2_WSDL_BINDING_OP_FREE(wsdl_binding_op, env) \
((wsdl_binding_op)->ops->free (wsdl_binding_op, env))
-#define AXIS2_WSDL_BINDING_OP_SET_INPUT(wsdl_binding_op, env, \
- inut) \
- ((wsdl_binding_op)->ops->set_input(wsdl_binding_op , env, \
- input)
+#define AXIS2_WSDL_BINDING_OP_SET_INPUT(wsdl_binding_op, env, input) \
+ ((wsdl_binding_op)->ops->set_input(wsdl_binding_op , env, input))
#define AXIS2_WSDL_BINDING_OP_GET_OP(wsdl_binding_op, env) \
((wsdl_binding_op)->ops->get_op(wsdl_binding_op, env))
#define AXIS2_WSDL_BINDING_OP_SET_OP(wsdl_binding_op, env, \
- key, op) \
+ op) \
((wsdl_binding_op)->ops->set_op(wsdl_binding_op, env,\
- key, op))
+ op))
#define AXIS2_WSDL_BINDING_OP_GET_OUTPUT(wsdl_binding_op, env) \
((wsdl_binding_op)->ops->get_output(wsdl_binding_op, env))
Modified: webservices/axis2/trunk/c/include/axis2_wsdl_desc.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_wsdl_desc.h?rev=389403&r1=389402&r2=389403&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_wsdl_desc.h (original)
+++ webservices/axis2/trunk/c/include/axis2_wsdl_desc.h Mon Mar 27 21:40:46 2006
@@ -164,7 +164,7 @@
/**
* Method get_svcs
*
- * @return
+ * @return map of axis2_wsdl_svc's
*/
axis2_hash_t *(AXIS2_CALL *
get_svcs)(axis2_wsdl_desc_t *wsdl_desc,
@@ -393,7 +393,7 @@
((wsdl_desc)->ops->get_binding (wsdl_desc, env, qname))
#define AXIS2_WSDL_DESC_ADD_INTERFACE(wsdl_desc, env, interface) \
- ((wsdl_desc)->ops->get_interface (wsdl_desc, env, interface))
+ ((wsdl_desc)->ops->add_interface (wsdl_desc, env, interface))
#define AXIS2_WSDL_DESC_GET_INTERFACE(wsdl_desc, env, qname) \
((wsdl_desc)->ops->get_interface (wsdl_desc, env, qname))
Added: webservices/axis2/trunk/c/include/axis2_wsdl_ext_soap_address.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_wsdl_ext_soap_address.h?rev=389403&view=auto
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_wsdl_ext_soap_address.h (added)
+++ webservices/axis2/trunk/c/include/axis2_wsdl_ext_soap_address.h Mon Mar 27 21:40:46 2006
@@ -0,0 +1,111 @@
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef AXIS2_WSDL_EXT_SOAP_ADDRESS_H
+#define AXIS2_WSDL_EXT_SOAP_ADDRESS_H
+
+/**
+ * @file axis2_wsdl_ext_soap_address.h
+ * @brief Axis2 Wsdl ext_soap_address interface
+ */
+
+#include <axis2.h>
+#include <axis2_error.h>
+#include <axis2_defines.h>
+#include <axis2_env.h>
+#include <axis2_allocator.h>
+#include <axis2_wsdl_component.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+struct axis2_wsdl_component;
+typedef struct axis2_wsdl_ext_soap_address axis2_wsdl_ext_soap_address_t;
+typedef struct axis2_wsdl_ext_soap_address_ops axis2_wsdl_ext_soap_address_ops_t;
+
+/** @defgroup axis2_wsdl_ext_soap_address Wsdl Ext Soap Address
+ * @ingroup axis2_wsdl
+ * @{
+ */
+
+/**
+ * @brief Wsdl Ext Soap Address ops struct
+ * Encapsulator struct for ops of axis2_wsdl_ext_soap_address
+ */
+AXIS2_DECLARE_DATA struct axis2_wsdl_ext_soap_address_ops
+{
+ /** De-allocate memory
+ * @return status code
+ */
+ axis2_status_t (AXIS2_CALL *
+ free)(axis2_wsdl_ext_soap_address_t *ext_soap_address,
+ axis2_env_t **env);
+
+ axis2_char_t *(AXIS2_CALL *
+ get_location_uri) (axis2_wsdl_ext_soap_address_t *ext_soap_address,
+ axis2_env_t **env);
+
+ /**
+ * Set the Endpoint Uri
+ */
+ axis2_status_t (AXIS2_CALL *
+ set_location_uri) (axis2_wsdl_ext_soap_address_t *ext_soap_address,
+ axis2_env_t **env,
+ axis2_char_t *location_uri);
+
+};
+
+/**
+ * @brief Wsdl container struct
+ * Property for params
+ * This Extensibility Element is extended to handle particularly the
+ * SOAP Adress or the Endpoint URL.
+ */
+AXIS2_DECLARE_DATA struct axis2_wsdl_ext_soap_address
+{
+ axis2_wsdl_ext_soap_address_ops_t *ops;
+ struct axis2_wsdl_extensible_element *ext_element;
+};
+
+/**
+ * Creates wsdl ext_soap_address struct
+ * @return pointer to newly created wsdl ext_soap_address
+ */
+AXIS2_DECLARE(axis2_wsdl_ext_soap_address_t *)
+axis2_wsdl_ext_soap_address_create (axis2_env_t **env,
+ axis2_qname_t *qtype);
+
+/*************************** Function macros **********************************/
+
+#define AXIS2_WSDL_EXT_SOAP_ADDRESS_FREE(ext_soap_address, env) \
+ ((ext_soap_address)->ops->free (ext_soap_address, env))
+
+#define AXIS2_WSDL_EXT_SOAP_ADDRESS_GET_LOCATION_URI(ext_soap_address, env) \
+ ((ext_soap_address)->ops->get_location_uri (ext_soap_address, env))
+
+#define AXIS2_WSDL_EXT_SOAP_ADDRESS_SET_LOCATION_URI(ext_soap_address, env, location_uri) \
+ ((ext_soap_address)->ops->set_location_uri (ext_soap_address, env, location_uri))
+
+/*************************** End of function macros ***************************/
+
+/** @} */
+
+#ifdef __cplusplus
+}
+#endif
+#endif /* AXIS2_WSDL_EXT_SOAP_ADDRESS_H */
Added: webservices/axis2/trunk/c/include/axis2_wsdl_ext_soap_binding.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_wsdl_ext_soap_binding.h?rev=389403&view=auto
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_wsdl_ext_soap_binding.h (added)
+++ webservices/axis2/trunk/c/include/axis2_wsdl_ext_soap_binding.h Mon Mar 27 21:40:46 2006
@@ -0,0 +1,121 @@
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef AXIS2_WSDL_EXT_SOAP_BINDING_H
+#define AXIS2_WSDL_EXT_SOAP_BINDING_H
+
+/**
+ * @file axis2_wsdl_ext_soap_binding.h
+ * @brief Axis2 Wsdl ext_soap_binding interface
+ */
+
+#include <axis2.h>
+#include <axis2_error.h>
+#include <axis2_defines.h>
+#include <axis2_env.h>
+#include <axis2_allocator.h>
+#include <axis2_wsdl_component.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+struct axis2_wsdl_component;
+typedef struct axis2_wsdl_ext_soap_binding axis2_wsdl_ext_soap_binding_t;
+typedef struct axis2_wsdl_ext_soap_binding_ops axis2_wsdl_ext_soap_binding_ops_t;
+
+/** @defgroup axis2_wsdl_ext_soap_binding Wsdl Ext Soap Binding
+ * @ingroup axis2_wsdl
+ * @{
+ */
+
+/**
+ * @brief Wsdl Ext Soap Binding ops struct
+ * Encapsulator struct for ops of axis2_wsdl_ext_soap_binding
+ */
+AXIS2_DECLARE_DATA struct axis2_wsdl_ext_soap_binding_ops
+{
+ /** De-allocate memory
+ * @return status code
+ */
+ axis2_status_t (AXIS2_CALL *
+ free)(axis2_wsdl_ext_soap_binding_t *ext_soap_binding,
+ axis2_env_t **env);
+
+ axis2_char_t *(AXIS2_CALL *
+ get_style) (axis2_wsdl_ext_soap_binding_t *ext_soap_binding,
+ axis2_env_t **env);
+
+ axis2_status_t (AXIS2_CALL *
+ set_style) (axis2_wsdl_ext_soap_binding_t *ext_soap_binding,
+ axis2_env_t **env,
+ axis2_char_t *style);
+
+ axis2_char_t *(AXIS2_CALL *
+ get_transport_uri) (axis2_wsdl_ext_soap_binding_t *ext_soap_binding,
+ axis2_env_t **env);
+
+ axis2_status_t (AXIS2_CALL *
+ set_transport_uri) (axis2_wsdl_ext_soap_binding_t *ext_soap_binding,
+ axis2_env_t **env,
+ axis2_char_t *transport_uri);
+
+};
+
+/**
+ * @brief Wsdl container struct
+ * Property for params
+ */
+AXIS2_DECLARE_DATA struct axis2_wsdl_ext_soap_binding
+{
+ axis2_wsdl_ext_soap_binding_ops_t *ops;
+ struct axis2_wsdl_extensible_element *ext_element;
+};
+
+/**
+ * Creates wsdl ext_soap_binding struct
+ * @return pointer to newly created wsdl ext_soap_binding
+ */
+AXIS2_DECLARE(axis2_wsdl_ext_soap_binding_t *)
+axis2_wsdl_ext_soap_binding_create (axis2_env_t **env,
+ axis2_qname_t *qtype);
+
+/*************************** Function macros **********************************/
+
+#define AXIS2_WSDL_EXT_SOAP_BINDING_FREE(ext_soap_binding, env) \
+ ((ext_soap_binding)->ops->free (ext_soap_binding, env))
+
+#define AXIS2_WSDL_EXT_SOAP_BINDING_GET_STYLE(ext_soap_binding, env) \
+ ((ext_soap_binding)->ops->get_style (ext_soap_binding, env))
+
+#define AXIS2_WSDL_EXT_SOAP_BINDING_SET_STYLE(ext_soap_binding, env, style) \
+ ((ext_soap_binding)->ops->set_style (ext_soap_binding, env, style))
+
+#define AXIS2_WSDL_EXT_SOAP_BINDING_GET_TRANSPORT_URI(ext_soap_binding, env) \
+ ((ext_soap_binding)->ops->get_transport_uri (ext_soap_binding, env))
+
+#define AXIS2_WSDL_EXT_SOAP_BINDING_SET_TRANSPORT_URI(ext_soap_binding, env, transport_uri) \
+ ((ext_soap_binding)->ops->set_transport_uri (wsdl_feature, env, transport_uri))
+
+/*************************** End of function macros ***************************/
+
+/** @} */
+
+#ifdef __cplusplus
+}
+#endif
+#endif /* AXIS2_WSDL_EXT_SOAP_BINDING_H */
Modified: webservices/axis2/trunk/c/include/axis2_wsdl_ext_soap_body.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_wsdl_ext_soap_body.h?rev=389403&r1=389402&r2=389403&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_wsdl_ext_soap_body.h (original)
+++ webservices/axis2/trunk/c/include/axis2_wsdl_ext_soap_body.h Mon Mar 27 21:40:46 2006
@@ -109,7 +109,7 @@
((ext_soap_body)->ops->get_namespc_uri (ext_soap_body, env))
#define AXIS2_WSDL_EXT_SOAP_BODY_SET_NAMESPC_URI(ext_soap_body, env, namespc_uri) \
- ((ext_soap_body)->ops->set_namespc_uri (wsdl_feature, env, namespc_uri))
+ ((ext_soap_body)->ops->set_namespc_uri (ext_soap_body, env, namespc_uri))
/*************************** End of function macros ***************************/
Modified: webservices/axis2/trunk/c/include/axis2_wsdl_ext_soap_header.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_wsdl_ext_soap_header.h?rev=389403&r1=389402&r2=389403&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_wsdl_ext_soap_header.h (original)
+++ webservices/axis2/trunk/c/include/axis2_wsdl_ext_soap_header.h Mon Mar 27 21:40:46 2006
@@ -118,13 +118,13 @@
((ext_soap_header)->ops->get_msg_qname (ext_soap_header, env))
#define AXIS2_WSDL_EXT_SOAP_HEADER_SET_MSG_QNAME(ext_soap_header, env, msg_qname) \
- ((ext_soap_header)->ops->set_msg_qname (wsdl_feature, env, msg_qname))
+ ((ext_soap_header)->ops->set_msg_qname (ext_soap_header, env, msg_qname))
#define AXIS2_WSDL_EXT_SOAP_HEADER_GET_QELEMENT(ext_soap_header, env) \
((ext_soap_header)->ops->get_qelement (ext_soap_header, env))
#define AXIS2_WSDL_EXT_SOAP_HEADER_SET_QELEMENT(ext_soap_header, env, qelement) \
- ((ext_soap_header)->ops->set_qelement (wsdl_feature, env, qelement))
+ ((ext_soap_header)->ops->set_qelement (ext_soap_header, env, qelement))
/*************************** End of function macros ***************************/
Added: webservices/axis2/trunk/c/include/axis2_wsdl_ext_soap_op.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_wsdl_ext_soap_op.h?rev=389403&view=auto
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_wsdl_ext_soap_op.h (added)
+++ webservices/axis2/trunk/c/include/axis2_wsdl_ext_soap_op.h Mon Mar 27 21:40:46 2006
@@ -0,0 +1,121 @@
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef AXIS2_WSDL_EXT_SOAP_OP_H
+#define AXIS2_WSDL_EXT_SOAP_OP_H
+
+/**
+ * @file axis2_wsdl_ext_soap_op.h
+ * @brief Axis2 Wsdl ext_soap_op interface
+ */
+
+#include <axis2.h>
+#include <axis2_error.h>
+#include <axis2_defines.h>
+#include <axis2_env.h>
+#include <axis2_allocator.h>
+#include <axis2_wsdl_component.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+struct axis2_wsdl_component;
+typedef struct axis2_wsdl_ext_soap_op axis2_wsdl_ext_soap_op_t;
+typedef struct axis2_wsdl_ext_soap_op_ops axis2_wsdl_ext_soap_op_ops_t;
+
+/** @defgroup axis2_wsdl_ext_soap_op Wsdl Ext Soap Operation
+ * @ingroup axis2_wsdl
+ * @{
+ */
+
+/**
+ * @brief Wsdl Ext Soap Operation ops struct
+ * Encapsulator struct for ops of axis2_wsdl_ext_soap_op
+ */
+AXIS2_DECLARE_DATA struct axis2_wsdl_ext_soap_op_ops
+{
+ /** De-allocate memory
+ * @return status code
+ */
+ axis2_status_t (AXIS2_CALL *
+ free)(axis2_wsdl_ext_soap_op_t *ext_soap_op,
+ axis2_env_t **env);
+
+ axis2_char_t *(AXIS2_CALL *
+ get_soap_action) (axis2_wsdl_ext_soap_op_t *ext_soap_op,
+ axis2_env_t **env);
+
+ axis2_status_t (AXIS2_CALL *
+ set_soap_action) (axis2_wsdl_ext_soap_op_t *ext_soap_op,
+ axis2_env_t **env,
+ axis2_char_t *soap_action);
+
+ axis2_char_t *(AXIS2_CALL *
+ get_style) (axis2_wsdl_ext_soap_op_t *ext_soap_op,
+ axis2_env_t **env);
+
+ axis2_status_t (AXIS2_CALL *
+ set_style) (axis2_wsdl_ext_soap_op_t *ext_soap_op,
+ axis2_env_t **env,
+ axis2_char_t *style);
+
+};
+
+/**
+ * @brief Wsdl container struct
+ * Property for params
+ */
+AXIS2_DECLARE_DATA struct axis2_wsdl_ext_soap_op
+{
+ axis2_wsdl_ext_soap_op_ops_t *ops;
+ struct axis2_wsdl_extensible_element *ext_element;
+};
+
+/**
+ * Creates wsdl ext_soap_op struct
+ * @return pointer to newly created wsdl ext_soap_op
+ */
+AXIS2_DECLARE(axis2_wsdl_ext_soap_op_t *)
+axis2_wsdl_ext_soap_op_create (axis2_env_t **env,
+ axis2_qname_t *qtype);
+
+/*************************** Function macros **********************************/
+
+#define AXIS2_WSDL_EXT_SOAP_OP_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))
+
+#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))
+
+#define AXIS2_WSDL_EXT_SOAP_OP_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))
+
+/*************************** End of function macros ***************************/
+
+/** @} */
+
+#ifdef __cplusplus
+}
+#endif
+#endif /* AXIS2_WSDL_EXT_SOAP_OP_H */
Modified: webservices/axis2/trunk/c/include/axis2_wsdl_msg_ref.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_wsdl_msg_ref.h?rev=389403&r1=389402&r2=389403&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_wsdl_msg_ref.h (original)
+++ webservices/axis2/trunk/c/include/axis2_wsdl_msg_ref.h Mon Mar 27 21:40:46 2006
@@ -50,10 +50,10 @@
*/
AXIS2_DECLARE_DATA struct axis2_wsdl_msg_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_msg_ref_t *wsdl_msg_ref,
axis2_env_t **env);
Copied: webservices/axis2/trunk/c/include/axis2_wsdl_pump.h (from r389393, webservices/axis2/trunk/c/modules/wsdl/builder/axis2_wsdl_pump.h)
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_wsdl_pump.h?p2=webservices/axis2/trunk/c/include/axis2_wsdl_pump.h&p1=webservices/axis2/trunk/c/modules/wsdl/builder/axis2_wsdl_pump.h&r1=389393&r2=389403&rev=389403&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/wsdl/builder/axis2_wsdl_pump.h (original)
+++ webservices/axis2/trunk/c/include/axis2_wsdl_pump.h Mon Mar 27 21:40:46 2006
@@ -14,8 +14,8 @@
* limitations under the License.
*/
-#ifndef AXIS2_TYPE_TABLE_H
-#define AXIS2_TYPE_TABLE_H
+#ifndef AXIS2_WSDL_PUMP_H
+#define AXIS2_WSDL_PUMP_H
/**
* @file axis2_wsdl_pump.h
@@ -37,7 +37,7 @@
typedef struct axis2_wsdl_pump_ops axis2_wsdl_pump_ops_t;
typedef struct axis2_wsdl_pump axis2_wsdl_pump_t;
-
+struct axis2_wsdl_desc;
/** @defgroup axis2_wsdl_pump Wsdl Pump
* @ingroup axis2_wsdl_pump
@@ -57,6 +57,10 @@
free) (axis2_wsdl_pump_t *wsdl_pump,
axis2_env_t **env);
+ axis2_status_t (AXIS2_CALL *
+ pump) (axis2_wsdl_pump_t *wsdl_pump,
+ axis2_env_t **env);
+
};
/**
@@ -73,20 +77,16 @@
* @return pointer to newly created wsdl_pump
*/
AXIS2_DECLARE(axis2_wsdl_pump_t *)
-axis2_wsdl_pump_create (axis2_env_t **env);
+axis2_wsdl_pump_create (axis2_env_t **env,
+ struct axis2_wsdl_desc *wom_def,
+ void *wsdl_parser);
/*************************** Function macros **********************************/
-#define AXIS2_TYPE_TABLE_FREE(wsdl_pump, env) ((wsdl_pump)->ops->free (wsdl_pump, env))
-
-#define AXIS2_TYPE_TABLE_ADD_HANDLER(wsdl_pump, env, handler) \
- ((wsdl_pump)->ops->add_handler (wsdl_pump, env, handler))
-
-#define AXIS2_TYPE_TABLE_GET_HANDLER(wsdl_pump, env, index) \
- ((wsdl_pump)->ops->get_handler (wsdl_pump, env, index))
+#define AXIS2_WSDL_PUMP_FREE(wsdl_pump, env) ((wsdl_pump)->ops->free (wsdl_pump, env))
-#define AXIS2_TYPE_TABLE_GET_HANDLER_COUNT(wsdl_pump, env) \
- ((wsdl_pump)->ops->get_handler_count (wsdl_pump, env))
+#define AXIS2_WSDL_PUMP_PUMP(wsdl_pump, env) \
+ ((wsdl_pump)->ops->pump (wsdl_pump, env))
/*************************** End of function macros ***************************/
@@ -95,4 +95,4 @@
#ifdef __cplusplus
}
#endif
-#endif /* AXIS2_TYPE_TABLE_H */
+#endif /* AXIS2_WSDL_PUMP_H */
Modified: webservices/axis2/trunk/c/include/axis2_wsdl_svc.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_wsdl_svc.h?rev=389403&r1=389402&r2=389403&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_wsdl_svc.h (original)
+++ webservices/axis2/trunk/c/include/axis2_wsdl_svc.h Mon Mar 27 21:40:46 2006
@@ -62,23 +62,26 @@
/** Deallocate memory
* @return status code
*/
- axis2_status_t (AXIS2_CALL *free) (axis2_wsdl_svc_t *wsdl_svc,
- axis2_env_t **env);
+ axis2_status_t (AXIS2_CALL *
+ free) (axis2_wsdl_svc_t *wsdl_svc,
+ axis2_env_t **env);
/**
* Get wsdl service name
* @return wsdl service name
*/
- axis2_qname_t * (AXIS2_CALL *get_qname)(axis2_wsdl_svc_t *wsdl_svc,
- axis2_env_t **env);
+ axis2_qname_t * (AXIS2_CALL *
+ get_qname)(axis2_wsdl_svc_t *wsdl_svc,
+ axis2_env_t **env);
/**
* Set wsdl serivce name
* @param set wsdl service name
*/
- axis2_status_t (AXIS2_CALL *set_qname) (axis2_wsdl_svc_t *wsdl_svc,
- axis2_env_t **env,
- axis2_qname_t *qname);
+ axis2_status_t (AXIS2_CALL *
+ set_qname) (axis2_wsdl_svc_t *wsdl_svc,
+ axis2_env_t **env,
+ axis2_qname_t *qname);
/**
* Method getEndpoints
@@ -87,7 +90,7 @@
*/
axis2_hash_t *(AXIS2_CALL *
get_endpoints) (axis2_wsdl_svc_t *wsdl_svc,
- axis2_env_t **env);
+ axis2_env_t **env);
/**
* Method setEndpoints
@@ -96,8 +99,8 @@
*/
axis2_status_t (AXIS2_CALL *
set_endpoints) (axis2_wsdl_svc_t *wsdl_svc,
- axis2_env_t **env,
- axis2_hash_t *endpoints);
+ axis2_env_t **env,
+ axis2_hash_t *endpoints);
/**
* Will add a WSDLEndpoint object to the WOM keyed with qname;
Modified: webservices/axis2/trunk/c/modules/util/error.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/util/error.c?rev=389403&r1=389402&r2=389403&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/util/error.c (original)
+++ webservices/axis2/trunk/c/modules/util/error.c Mon Mar 27 21:40:46 2006
@@ -425,6 +425,8 @@
"Wsdl parsing has resulted in an invalid state";
axis2_error_messages[AXIS2_ERROR_INTERFACE_OR_PORT_TYPE_NOT_FOUND_FOR_THE_BINDING] =
"Interface or Port Type not found for the binding";
+ axis2_error_messages[AXIS2_ERROR_INTERFACES_OR_PORTS_NOT_FOUND_FOR_PARTIALLY_BUILT_WOM] =
+ "Interfaces or Ports not found for the partially built WOM";
axis2_error_messages[AXIS2_ERROR_HTTP_CLIENT_TRANSPORT_ERROR] =
"Error occured in transport";
Modified: webservices/axis2/trunk/c/modules/wsdl/Makefile.am
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/wsdl/Makefile.am?rev=389403&r1=389402&r2=389403&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/wsdl/Makefile.am (original)
+++ webservices/axis2/trunk/c/modules/wsdl/Makefile.am Mon Mar 27 21:40:46 2006
@@ -21,7 +21,12 @@
wsdl_types.c \
wsdl_import.c \
wsdl_include.c \
- wsdl_desc.c
+ wsdl_desc.c \
+ wsdl_ext_soap_body.c \
+ wsdl_ext_soap_header.c \
+ wsdl_ext_soap_binding.c \
+ wsdl_ext_soap_address.c \
+ wsdl_ext_soap_op.c
INCLUDES = -I$(top_builddir)/include \
-I$(top_builddir)/modules/util \
Modified: webservices/axis2/trunk/c/modules/wsdl/builder/Makefile.am
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/wsdl/builder/Makefile.am?rev=389403&r1=389402&r2=389403&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/wsdl/builder/Makefile.am (original)
+++ webservices/axis2/trunk/c/modules/wsdl/builder/Makefile.am Mon Mar 27 21:40:46 2006
@@ -1,7 +1,8 @@
TESTS =
lib_LTLIBRARIES = libaxis2_wom.la
libaxis2_wom_la_SOURCES = \
- wsdl11_mep_finder.c
+ wsdl11_mep_finder.c \
+ wsdl_pump.c
INCLUDES = -I$(top_builddir)/include \
-I$(top_builddir)/modules/util \
Modified: webservices/axis2/trunk/c/modules/wsdl/builder/wsdl11_mep_finder.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/wsdl/builder/wsdl11_mep_finder.c?rev=389403&r1=389402&r2=389403&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/wsdl/builder/wsdl11_mep_finder.c (original)
+++ webservices/axis2/trunk/c/modules/wsdl/builder/wsdl11_mep_finder.c Mon Mar 27 21:40:46 2006
@@ -13,12 +13,13 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
+#include <axis2_wsdl11_mep_finder.h>
#include <axis2_wsdl4c_operation.h>
#include <axis2_wsdl.h>
axis2_char_t *AXIS2_CALL
-axis2_wom_builder_wsdl11_mep_finder_get_mep(void *op,
- axis2_env_t **env)
+axis2_wsdl11_mep_finder_get_mep(void *op,
+ axis2_env_t **env)
{
axis2_wsdl4c_optype_t op_type = axis2_wsdl4c_operation_get_type(op);