You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by da...@apache.org on 2006/03/17 06:02:26 UTC

svn commit: r386538 - /webservices/axis2/trunk/c/include/

Author: damitha
Date: Thu Mar 16 21:02:24 2006
New Revision: 386538

URL: http://svn.apache.org/viewcvs?rev=386538&view=rev
Log:
Added wsdl parser api files

Added:
    webservices/axis2/trunk/c/include/axis2_wsdl4c_constraint.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_part.h
    webservices/axis2/trunk/c/include/axis2_wsdl4c_qname.h
Modified:
    webservices/axis2/trunk/c/include/axis2_wsdl4c_binding.h
    webservices/axis2/trunk/c/include/axis2_wsdl4c_parser.h
    webservices/axis2/trunk/c/include/axis2_wsdl4c_port_type.h
    webservices/axis2/trunk/c/include/axis2_wsdl4c_service.h

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=386538&r1=386537&r2=386538&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_wsdl4c_binding.h (original)
+++ webservices/axis2/trunk/c/include/axis2_wsdl4c_binding.h Thu Mar 16 21:02:24 2006
@@ -35,7 +35,128 @@
  * @ingroup axis2_wsdl4c_binding 
  * @{
  */
+    void *
+    axis2_wsdl4c_binding_create(void* parser);
 
+    void
+    axis2_wsdl4c_binding_destroy(void *binding);
+
+    /**
+    * axis2_wsdl4c_binding_get_binding_info
+    * @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
+    */
+    int
+    axis2_wsdl4c_binding_get_binding_info(void *binding);
+
+    /**
+    * axis2_wsdl4c_binding_get_port_type
+    * @return the wsdl port type associated with this binding
+    */
+    const void *
+    axis2_wsdl4c_binding_get_port_type(void *binding);
+
+    /**
+    * axis2_wsdl4c_binding_get_service_ext_id
+    * @return the id of the service element assocaited with this binding
+    */
+    int
+    axis2_wsdl4c_binding_get_service_ext_id(void *binding);
+
+    /**
+    * axis2_wsdl4c_binding_num_ops
+    * @return number of operations in this binding
+    */
+    int
+    axis2_wsdl4c_binding_num_ops(void *binding);
+
+    /**
+    * axis2_wsdl4c_binding_get_operation
+    * @param the index of the operation (index ranges from 0 to Ops_.size()-1)
+    * @return pointer to the  operation
+    */
+    const void *
+    axis2_wsdl4c_binding_get_operation(void *binding, 
+                                        int index);
+
+    /**
+    * axis2_wsdl4c_binding_get_binding_method
+    * @param void
+    * @return The namespace of the binding protocol 
+    *         example "http://schemas.xmlsoap.org/wsdl/soap/"
+    */
+    const char *
+    axis2_wsdl4c_binding_get_binding_method(void *binding);
+
+    /**
+    * axis2_wsdl4c_binding_get_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
+    */
+    int
+    axis2_wsdl4c_binding_get_op_binding(void *binding, 
+                                        int index, 
+                                        int *&bindings);
+
+    int
+    axis2_wsdl4c_binding_get_output_binding(void *binding, 
+                                                int index, 
+                                                int *& bindings);
+
+    int
+    axis2_wsdl4c_binding_get_input_binding(void *binding, 
+                                            int index, 
+                                            int *& bindings);
+
+    int
+    axis2_wsdl4c_binding_get_fault_binding(void *binding, 
+                                            int index, 
+                                            int *& bindings);
+
+    void
+    axis2_wsdl4c_binding_set_port_type(void *binding, 
+                                        void *port_type);
+
+    void
+    axis2_wsdl4c_binding_set_binding_info(void *binding, 
+                                            int id);
+
+    void
+    axis2_wsdl4c_binding_set_method(void *binding, 
+                                    char *ns);
+
+    void
+    axis2_wsdl4c_binding_set_service_ext_id(void *binding, 
+                                            int id);
+
+    /**
+    * Add an operation to the binding .The index returned is to be used
+    * to add more bindings to the operation
+    */
+    int
+    axis2_wsdl4c_binding_add_operation(void *binding, 
+                                        void *operation);
+ 
+    void
+    axis2_wsdl4c_binding_add_op_binding(void *binding, 
+                                        int index, 
+                                        int oBn);
+     void
+    axis2_wsdl4c_binding_add_output_binding(void *binding, 
+                                        int index, 
+                                        int opBn);
+
+    void
+    axis2_wsdl4c_binding_add_input_binding(void *binding, 
+                                    int index, 
+                                    int ipBn);
+
+    void
+    axis2_wsdl4c_binding_add_fault_binding(void *binding, 
+                                    int index, 
+                                    int fBn); 
+    
 
 /** @} */
 

Added: webservices/axis2/trunk/c/include/axis2_wsdl4c_constraint.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_wsdl4c_constraint.h?rev=386538&view=auto
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_wsdl4c_constraint.h (added)
+++ webservices/axis2/trunk/c/include/axis2_wsdl4c_constraint.h Thu Mar 16 21:02:24 2006
@@ -0,0 +1,86 @@
+/*
+ * 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_CONSTRAINT_H
+ #define AXIS2_WSDL4C_CONSTRAINT_H
+ 
+ /**
+ * @file axis2_wsdl4c_constraint.h
+ * @brief defines WSDL4C_CONSTRAINT 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_constraint constants
+ * @ingroup axis2_wsdl4c_constraint 
+ * @{
+ */
+    enum axis2_wsdl4c_constraints
+    {
+        Key,
+        Keyref,
+        Unique
+    };
+	
+    typedef enum axis2_wsdl4c_constraints axis2_wsdl4c_constraints_t;
+
+    void *
+    axis2_wsdl4c_constraint_create(axis2_wsdl4c_constraints_t constraints);
+
+    const char *
+    axis2_wsdl4c_constraint_get_name(void *constraint);
+
+    void
+    axis2_wsdl4c_constraint_set_name(void *constraint, 
+                                        char *name);
+
+    /*axis2_wsdl4c_constraints_t *
+    axis2_wsdl4c_constraint_get_constraint_type(void *constraint);
+    */
+
+    void
+    axis2_wsdl4c_constraint_set_selector(void *constraint, 
+                                            char *xpath); 
+
+    void
+    axis2_wsdl4c_constraint_add_field(void *constraint, 
+                                        char *xpath);
+
+    const char *
+    axis2_wsdl4c_constraint_selector(void *constraint); 
+
+
+    axis2_array_list_t *
+    axis2_wsdl4c_constraint_fields(void *constraint);
+
+
+    void
+    axis2_wsdl4c_constraint_set_annotation(void *constraint, 
+                                            char *s);
+ 
+/** @} */
+
+#ifdef __cplusplus
+}
+#endif
+#endif  /* AXIS2_WSDL4C_CONSTRAINT_H */

Added: 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=386538&view=auto
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_wsdl4c_element.h (added)
+++ webservices/axis2/trunk/c/include/axis2_wsdl4c_element.h Thu Mar 16 21:02:24 2006
@@ -0,0 +1,65 @@
+/*
+ * 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_ELEMENT_H
+ #define AXIS2_WSDL4C_ELEMENT_H
+ 
+ /**
+ * @file axis2_wsdl4c_element.h
+ * @brief defines WSDL4C_ELEMENT 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_element constants
+ * @ingroup axis2_wsdl4c_element 
+ * @{
+ */
+    void *
+    axis2_wsdl4c_element_create();
+
+    void
+    axis2_wsdl4c_element_destroy(void *element);
+
+    void
+    axis2_wsdl4c_element_set_type(void *element, 
+                                    int id);
+  
+    const char *
+    axis2_wsdl4c_element_get_name(void *element);
+
+    int
+    axis2_wsdl4c_element_get_type(void *element);
+
+    int
+    axis2_wsdl4c_element_get_max(void *element);
+
+    int
+    axis2_wsdl4c_element_get_min(void *element);
+
+/** @} */
+
+#ifdef __cplusplus
+}
+#endif
+#endif  /* AXIS2_WSDL4C_ELEMENT_H */

Added: 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=386538&view=auto
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_wsdl4c_message.h (added)
+++ webservices/axis2/trunk/c/include/axis2_wsdl4c_message.h Thu Mar 16 21:02:24 2006
@@ -0,0 +1,149 @@
+/*
+ * 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_MESSAGE_H
+ #define AXIS2_WSDL4C_MESSAGE_H
+ 
+ /**
+ * @file axis2_wsdl4c_message.h
+ * @brief defines WSDL4C_MESSAGE constants
+ */
+#include <axis2_array_list.h>
+#include <axis2_allocator.h>
+#include <axis2_env.h>
+#include <axis2_error.h>
+#include <axis2_wsdl4c_part.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+/**
+ * @defgroup axis2 wsdl4c_message constants
+ * @ingroup axis2_wsdl4c_message 
+ * @{
+ */
+    void *
+    axis2_wsdl4c_msg_create(void* parser);
+
+
+    void
+    axis2_wsdl4c_msg_destroy(void *message);
+ 
+
+    /**
+    * @name axis2_wsdl4c_msg_get_num_parts
+    * @return number of parts in the message
+    */
+    int
+    axis2_wsdl4c_msg_get_num_parts(void *message); 
+
+
+    /**
+    * @name axis2_wsdl4c_msg_get_part_index
+    * @param the name of the part
+    * @return index of the of the part whose name is passed
+    *         index:0..nParts-1
+    */
+    int
+    axis2_wsdl4c_msg_get_part_index(void *message, 
+                                    char *name);
+
+    /* @name axis2_wsdl4c_msg_get_part_type
+    * @param the index  of the part       index:0..nParts-1
+    * @return type id  of the part
+    *         for ex if we have <part name="one" type="xsd:int">
+    *         the id returned represents xsd:int,the schema type for integers
+    */
+    int
+    axis2_wsdl4c_msg_get_part_type_a_index(void *message, 
+                                            int index);
+
+
+    int
+    axis2_wsdl4c_msg_get_part_type_a_name(void *message, 
+                                            char *name); 
+
+
+    /* @name axis2_wsdl4c_msg_get_part_element
+    * @param the index  of the part  index:0..nParts-1
+    * @return pointer to the Element which the part uses
+    *         for ex if we have <part name="one" element="ns:elem">
+    *         a pointer to the Element representing ns:elem is returned
+    *        I the part's reftype is Type ,0 is returned
+    */
+    const void *
+    axis2_wsdl4c_msg_get_part_element(void *message, 
+                                        int index);
+
+
+    /* @name axis2_wsdl4c_msg_get_message_part
+    * @param the index  of the part,or the name
+    * @return pointer to the Part
+    */
+    const void*
+    axis2_wsdl4c_msg_get_message_part_a_index(void *message, 
+                                                size_t index); 
+
+
+    const void *
+    axis2_wsdl4c_msg_get_message_part_a_nam(void *message, 
+                                            char *nam);
+
+
+    /* @name axis2_wsdl4c_msg_get_part_content_schema_id
+    * @param the index  of the part,or the name
+    * @return schema id to which the part's type or element belongs to
+    */
+    int
+    axis2_wsdl4c_msg_get_part_content_schema_id_a_index(void *message, 
+                                                        int index);
+
+
+    int
+    axis2_wsdl4c_msg_get_part_content_schema_id_a_name(void *message, 
+                                                        char *name);
+
+
+    const char *
+    axis2_wsdl4c_msg_get_part_name(void *message, 
+                                    int index);
+
+
+    axis2_wsdl4c_part_ref_type_t
+    axis2_wsdl4c_msg_get_part_ref_type_a_nam(void *message, 
+                                                char *nam);
+
+
+    axis2_wsdl4c_part_ref_type_t
+    axis2_wsdl4c_msg_get_part_ref_type_a_index(void *message, 
+                                                int index);
+
+
+    void
+    axis2_wsdl4c_msg_add_part(void *message, char *pname, 
+                                axis2_wsdl4c_part_ref_type_t reftype, 
+                                void *d, 
+                                int schema_id);
+
+
+/** @} */
+
+#ifdef __cplusplus
+}
+#endif
+#endif  /* AXIS2_WSDL4C_MESSAGE_H */

Added: 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=386538&view=auto
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_wsdl4c_operation.h (added)
+++ webservices/axis2/trunk/c/include/axis2_wsdl4c_operation.h Thu Mar 16 21:02:24 2006
@@ -0,0 +1,102 @@
+/*
+ * 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_OPERATION_H
+ #define AXIS2_WSDL4C_OPERATION_H
+ 
+ /**
+ * @file axis2_wsdl4c_operation.h
+ * @brief defines WSDL4C_OPERATION 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_operation constants
+ * @ingroup axis2_wsdl4c_operation 
+ * @{
+ */
+
+    enum optype
+    {
+        OP_NONE,
+        OP_IN ,
+        OP_OUT,
+        OP_IN_OUT,
+        OP_OUT_IN
+    };
+
+    enum msg_type
+    {
+        Input,
+        Output,
+        Fault
+    };
+
+    typedef enum optype axis2_wsdl4c_optype_t;
+    typedef enum msg_type axis2_wsdl4c_msg_type_t;
+
+    void *
+    axis2_wsdl4c_operation_create(void* parser, 
+                                    void *port_type);
+
+    void
+    axis2_wsdl4c_operation_destroy(void *operation);
+
+    /**
+    * axis2_wsdl4c_operation_get_message
+    * @param mesage type ,Input,Output or Fault
+    * @return pointer to the message
+    */
+    const void *
+    axis2_wsdl4c_operation_get_message(void *operation, 
+                                        axis2_wsdl4c_msg_type_t type );
+
+    axis2_array_list_t *
+    axis2_wsdl4c_operation_get_faults(void *operation);
+
+    /**
+    * axis2_wsdl4c_operation_get_optype
+    * @return type of the operation in,in-out,out,out-in
+    */
+    axis2_wsdl4c_optype_t
+    axis2_wsdl4c_operation_get_type(void *operation);
+
+    /**
+    * axis2_wsdl4c_operation_port_type
+    * @return The porttype to which this operation belongs
+    */
+    const void *
+    axis2_wsdl4c_operation_port_type(void *operation);
+
+    void
+    axis2_wsdl4c_operation_set_message(void *operation, 
+                                        void *message, 
+                                        axis2_wsdl4c_msg_type_t type);
+
+/** @} */
+
+#ifdef __cplusplus
+}
+#endif
+#endif  /* AXIS2_WSDL4C_OPERATION_H */

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=386538&r1=386537&r2=386538&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_wsdl4c_parser.h (original)
+++ webservices/axis2/trunk/c/include/axis2_wsdl4c_parser.h Thu Mar 16 21:02:24 2006
@@ -44,10 +44,10 @@
    *
    */
     void *
-    axis2_wsdl4c_parser_create_wsdl_parser(char* wsdl_file);
+    axis2_wsdl4c_parser_create(char* wsdl_file);
 
-    void *
-    axis2_wsdl4c_parser_destroy_parser(void *parser);
+    void
+    axis2_wsdl4c_parser_destroy(void *parser);
 
    /**
     * set_schema_path

Added: 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=386538&view=auto
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_wsdl4c_part.h (added)
+++ webservices/axis2/trunk/c/include/axis2_wsdl4c_part.h Thu Mar 16 21:02:24 2006
@@ -0,0 +1,88 @@
+/*
+ * 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_PART_H
+ #define AXIS2_WSDL4C_PART_H
+ 
+ /**
+ * @file axis2_wsdl4c_part.h
+ * @brief defines WSDL4C_PART 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_part constants
+ * @ingroup axis2_wsdl4c_part 
+ * @{
+ */
+
+    enum axis2_part_ref_type
+    {
+        None,
+        Elem,
+        Type
+    };
+
+	typedef enum axis2_part_ref_type axis2_wsdl4c_part_ref_type_t;
+    
+    void *
+    axis2_wsdl4c_part_create(char* n);
+     
+    void
+    axis2_wsdl4c_part_destroy(void *part);
+
+    /**
+    * @name axis2_wsdl4c_part_ref_type
+    * @return number of parts in the message
+    */
+    axis2_wsdl4c_part_ref_type_t
+    axis2_wsdl4c_part_ref_type(void *part);
+
+    const char *
+    axis2_wsdl4c_part_name(void *part);
+
+    int
+    axis2_wsdl4c_part_type(void *part);
+ 
+    const void *
+    axis2_wsdl4c_part_element(void *part);
+ 
+    int
+    axis2_wsdl4c_part_schema_id(void *part);
+ 
+    void
+    axis2_wsdl4c_part_set_type(void *part, 
+                                int typeId, 
+                                int schema);
+
+    void
+    axis2_wsdl4c_part_set_element(void *part, 
+                                    void *element, 
+                                    int schema);
+
+/** @} */
+
+#ifdef __cplusplus
+}
+#endif
+#endif  /* AXIS2_WSDL4C_PART_H */

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=386538&r1=386537&r2=386538&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_wsdl4c_port_type.h (original)
+++ webservices/axis2/trunk/c/include/axis2_wsdl4c_port_type.h Thu Mar 16 21:02:24 2006
@@ -35,6 +35,62 @@
  * @ingroup axis2_wsdl4c_port_type 
  * @{
  */
+    void *
+    axis2_wsdl4c_port_type_create(void* parser);
+
+    void
+    axis2_wsdl4c_port_type_destroy(void *port_type);
+
+    int
+    axis2_wsdl4c_port_type_get_num_ops(void *port_type);
+
+    /**
+    * axis2_wsdl4c_port_type_get_operation
+    * @param index of the operation index:0..ops.size()-1
+    * @return pointer to  the Operation
+    */
+    const void *
+    axis2_wsdl4c_port_type_get_operation_a_index(void *port_type, 
+                                        int index);
+
+    /**
+    * axis2_wsdl4c_port_type_get_operation
+    * @param name of the operation
+    * @return pointer to  the Operation
+    */
+    const void *
+    axis2_wsdl4c_port_type_get_operation_a_qname(void *port_type, 
+                                        void *qname);
+
+    int
+    axis2_wsdl4c_port_type_get_operation_index(void *port_type, 
+                                        void *qname);
+
+    /**
+    * axis2_wsdl4c_port_type_get_operations
+    * @return axis2_array_list_t
+    * returns array list of operations 
+    */
+    axis2_array_list_t *
+    axis2_wsdl4c_port_type_get_operations(void *port_type);
+
+    /**
+    * @name   binding
+    * @return const Binding*
+    * returns Binding associated with the port type 
+    * which has a binding protocol specified by 'nsp'
+    */
+    const void *
+    axis2_wsdl4c_port_type_binding(void *port_type, 
+                            char *nsp);
+
+    void
+    axis2_wsdl4c_port_type_add_op(void *port_type, 
+                        void *op);
+    
+    void
+    axis2_wsdl4c_port_type_set_binding(void *port_type, 
+                                void *bn);
 
 
 /** @} */

Added: webservices/axis2/trunk/c/include/axis2_wsdl4c_qname.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_wsdl4c_qname.h?rev=386538&view=auto
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_wsdl4c_qname.h (added)
+++ webservices/axis2/trunk/c/include/axis2_wsdl4c_qname.h Thu Mar 16 21:02:24 2006
@@ -0,0 +1,72 @@
+/*
+ * 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_QNAME_H
+ #define AXIS2_WSDL4C_QNAME_H
+ 
+ /**
+ * @file axis2_wsdl4c_qname.h
+ * @brief defines WSDL4C_QNAME 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_qname constants
+ * @ingroup axis2_wsdl4c_qname 
+ * @{
+ */
+    void *
+    axis2_wsdl4c_qname_create_with_name(char* name);
+    
+    void *
+    axis2_wsdl4c_qname_create_with_qname(void* qn);
+    
+    void *
+    axis2_wsdl4c_qname_create();
+
+    void
+    axis2_wsdl4c_qname_destroy(void *qname);
+
+    /**
+    * @name axis2_wsdl4c_get_local_name
+    * @return
+    */
+    const char *
+    axis2_wsdl4c_part_get_local_name(void *qname);
+    
+    const char *
+    axis2_wsdl4c_part_get_prefix(void *qname);
+    
+    const char *
+    axis2_wsdl4c_part_get_namespace(void *qname);
+
+    void
+    axis2_wsdl4c_part_set_namespace(void *qname, 
+                                    char *uri);
+
+/** @} */
+
+#ifdef __cplusplus
+}
+#endif
+#endif  /* AXIS2_WSDL4C_QNAME_H */

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=386538&r1=386537&r2=386538&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_wsdl4c_service.h (original)
+++ webservices/axis2/trunk/c/include/axis2_wsdl4c_service.h Thu Mar 16 21:02:24 2006
@@ -35,6 +35,34 @@
  * @ingroup axis2_wsdl4c_service 
  * @{
  */
+    void *
+    axis2_wsdl4c_service_create(void* parser);
+
+    void
+    axis2_wsdl4c_service_destroy(void *service);
+
+    /**
+    * axis2_wsdl4c_get_binding_info
+    * @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
+    */
+    void
+    axis2_wsdl4c_service_add_port(void *service,
+                                    char *name,
+                                    void *binding,
+                                    int svc_ext_id);
+  
+    int
+    axis2_wsdl4c_service_get_port_extention(void *service,
+                                            char *name);
+  
+    const void *
+    axis2_wsdl4c_service_get_port_binding(void *service,
+                                            char *name);
+
+    axis2_array_list_t *
+    axis2_wsdl4c_service_get_ports(void *service,
+                                            char *name);
 
 
 /** @} */