Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 38138 invoked from network); 10 Jan 2006 06:17:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 10 Jan 2006 06:17:41 -0000 Received: (qmail 97187 invoked by uid 500); 10 Jan 2006 06:17:40 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 96957 invoked by uid 500); 10 Jan 2006 06:17:39 -0000 Mailing-List: contact axis-cvs-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-cvs@ws.apache.org Received: (qmail 96946 invoked by uid 500); 10 Jan 2006 06:17:39 -0000 Delivered-To: apmail-ws-axis2-cvs@ws.apache.org Received: (qmail 96943 invoked by uid 99); 10 Jan 2006 06:17:39 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Jan 2006 22:17:39 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 09 Jan 2006 22:17:38 -0800 Received: (qmail 37828 invoked by uid 65534); 10 Jan 2006 06:17:18 -0000 Message-ID: <20060110061718.37827.qmail@minotaur.apache.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r367503 - in /webservices/axis2/trunk/c/include: axis2_soap11_builder_helper.h axis2_soap12_builder_helper.h axis2_soap_message.h axis2_soap_model_builder.h Date: Tue, 10 Jan 2006 06:17:17 -0000 To: axis2-cvs@ws.apache.org From: nandika@apache.org X-Mailer: svnmailer-1.0.5 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: nandika Date: Mon Jan 9 22:17:03 2006 New Revision: 367503 URL: http://svn.apache.org/viewcvs?rev=367503&view=rev Log: (empty) Added: webservices/axis2/trunk/c/include/axis2_soap11_builder_helper.h webservices/axis2/trunk/c/include/axis2_soap12_builder_helper.h Modified: webservices/axis2/trunk/c/include/axis2_soap_message.h webservices/axis2/trunk/c/include/axis2_soap_model_builder.h Added: webservices/axis2/trunk/c/include/axis2_soap11_builder_helper.h URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_soap11_builder_helper.h?rev=367503&view=auto ============================================================================== --- webservices/axis2/trunk/c/include/axis2_soap11_builder_helper.h (added) +++ webservices/axis2/trunk/c/include/axis2_soap11_builder_helper.h Mon Jan 9 22:17:03 2006 @@ -0,0 +1,91 @@ +/* + * 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_SOAP11_BUILDER_HELPER_H +#define AXIS2_SOAP11_BUILDER_HELPER_H + + +/** + * @file axis2_soap_11_builder_helper.h + * @brief axis2_soap11_builder_helper + */ +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + + +typedef struct axis2_soap11_builder_helper axis2_soap11_builder_helper_t; +typedef struct axis2_soap11_builder_helper_ops axis2_soap11_builder_helper_ops_t; + +/** + * @defgroup axis2_soap11_builder_helper + * @ingroup axis2_soap + * @{ + */ + +/** + * \brief axis2_soap11_builder_helper operations ops struct + */ + + AXIS2_DECLARE_DATA struct axis2_soap11_builder_helper_ops + { + axis2_status_t (AXIS2_CALL *free_fn) + (axis2_soap11_builder_helper_t *builder_helper, + axis2_env_t **env); + + axis2_om_node_t* (AXIS2_CALL *handle_event) + (axis2_soap11_builder_helper_t *builder_helper, + axis2_env_t **env, + axis2_om_stax_builder_t *om_builder, + int element_level); + }; + + /** + * \brief soap_11_builder_helper struct + */ +struct axis2_soap11_builder_helper +{ + axis2_soap11_builder_helper_ops_t *ops; +}; + + /** + * creates a soap11_builder_helper_create + * @param env Environment. MUST NOT be NULL + */ +AXIS2_DECLARE(axis2_soap11_builder_helper_t*) +axis2_soap11_builder_helper_create(axis2_env_t **env, + axis2_soap_model_builder_t *soap_builder); + +/******************** Macros **************************************************/ + +/** free soap_body */ +#define AXIS2_SOAP11_BUILDER_HELPER_FREE(builder_helper, env) \ + ((builder_helper)->ops->free(builder_helper, env)) + +#define AXIS2_SOAP11_BUILDER_HELPER_HANDLE_EVENT(builder_helper, \ + env, element_level) \ + ((builder_helper)->ops->handle_event(builder_helper, \ + env, om_builder, element_level)) + +/** @} */ +#ifdef __cplusplus +} +#endif + +#endif /* AXIS2_SOAP11_BUILDER_HELPER_H */ Added: webservices/axis2/trunk/c/include/axis2_soap12_builder_helper.h URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_soap12_builder_helper.h?rev=367503&view=auto ============================================================================== --- webservices/axis2/trunk/c/include/axis2_soap12_builder_helper.h (added) +++ webservices/axis2/trunk/c/include/axis2_soap12_builder_helper.h Mon Jan 9 22:17:03 2006 @@ -0,0 +1,92 @@ +/* + * 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_SOAP12_BUILDER_HELPER_H +#define AXIS2_SOAP12_BUILDER_HELPER_H + + #include +/** + * @file axis2_soap_12_builder_helper.h + * @brief axis2_soap12_builder_helper + */ + +#ifdef __cplusplus +extern "C" +{ +#endif + + +typedef struct axis2_soap12_builder_helper axis2_soap12_builder_helper_t; +typedef struct axis2_soap12_builder_helper_ops axis2_soap12_builder_helper_ops_t; + +/** + * @defgroup axis2_soap12_builder_helper + * @ingroup axis2_soap + * @{ + */ + +/** + * \brief axis2_soap12_builder_helper operations ops struct + */ + + AXIS2_DECLARE_DATA struct axis2_soap12_builder_helper_ops + { + axis2_status_t (AXIS2_CALL *free_fn) + (axis2_soap12_builder_helper_t *builder_helper, + axis2_env_t **env); + + axis2_om_node_t* (AXIS2_CALL *handle_event) + (axis2_soap12_builder_helper_t *builder_helper, + axis2_env_t **env, + axis2_om_stax_builder_t *om_builder, + int element_level); + }; + + /** + * \brief soap_12_builder_helper struct + */ +struct axis2_soap12_builder_helper +{ + axis2_soap12_builder_helper_ops_t *ops; +}; + + /** + * creates a soap12_builder_helper_create + * @param env Environment. MUST NOT be NULL + */ +AXIS2_DECLARE(axis2_soap12_builder_helper_t*) +axis2_soap12_builder_helper_create(axis2_env_t **env, + axis2_soap_model_builder_t *soap_builder); + +/******************** Macros **************************************************/ + +/** free soap_body */ +#define AXIS2_SOAP12_BUILDER_HELPER_FREE(builder_helper, env) \ + ((builder_helper)->ops->free(builder_helper, env)) + +#define AXIS2_SOAP12_BUILDER_HELPER_HANDLE_EVENT(builder_helper, \ + env, element_level) \ + ((builder_helper)->ops->handle_event(builder_helper, \ + env, om_builder, element_level)) + +/** @} */ +#ifdef __cplusplus +} +#endif + + + #endif AXIS2_SOAP11_BUILDER_HELPER_H + \ No newline at end of file Modified: webservices/axis2/trunk/c/include/axis2_soap_message.h URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_soap_message.h?rev=367503&r1=367502&r2=367503&view=diff ============================================================================== --- webservices/axis2/trunk/c/include/axis2_soap_message.h (original) +++ webservices/axis2/trunk/c/include/axis2_soap_message.h Mon Jan 9 22:17:03 2006 @@ -24,7 +24,7 @@ */ #include #include -#include +#include #ifdef __cplusplus extern "C" @@ -90,7 +90,7 @@ */ AXIS2_DECLARE(axis2_soap_message_t *) axis2_soap_message_create(axis2_env_t **env, - axis2_om_document_t *om_document); + axis2_soap_model_builder_t *soap_builder); /******************** Macros **************************************************/ Modified: webservices/axis2/trunk/c/include/axis2_soap_model_builder.h URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_soap_model_builder.h?rev=367503&r1=367502&r2=367503&view=diff ============================================================================== --- webservices/axis2/trunk/c/include/axis2_soap_model_builder.h (original) +++ webservices/axis2/trunk/c/include/axis2_soap_model_builder.h Mon Jan 9 22:17:03 2006 @@ -63,8 +63,7 @@ axis2_om_node_t* (AXIS2_CALL *get_document_element) (axis2_soap_model_builder_t *builder, - axis2_env_t **env); - + axis2_env_t **env); }; @@ -104,6 +103,9 @@ #define AXIS2_SOAP_MODEL_BUILDER_GET_DOCUMENT(builder, env) \ ((builder)->ops->get_document(builder, env)) + +#define AXIS2_SOAP_MODEL_BUILDER_NEXT(builder, env) \ + ((builder)->ops->next(builder, env)) /** @} */ #ifdef __cplusplus