Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 23680 invoked from network); 30 Mar 2008 03:45:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 30 Mar 2008 03:45:11 -0000 Received: (qmail 40525 invoked by uid 500); 30 Mar 2008 03:45:07 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 40421 invoked by uid 500); 30 Mar 2008 03:45:07 -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 40410 invoked by uid 500); 30 Mar 2008 03:45:07 -0000 Delivered-To: apmail-ws-axis2-cvs@ws.apache.org Received: (qmail 40407 invoked by uid 99); 30 Mar 2008 03:45:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 29 Mar 2008 20:45:07 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 30 Mar 2008 03:44:24 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id F2EB81A9832; Sat, 29 Mar 2008 20:44:43 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r642676 - /webservices/axis2/trunk/c/axiom/include/axiom_soap_fault_sub_code.h Date: Sun, 30 Mar 2008 03:44:43 -0000 To: axis2-cvs@ws.apache.org From: kaushalye@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20080330034443.F2EB81A9832@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: kaushalye Date: Sat Mar 29 20:44:42 2008 New Revision: 642676 URL: http://svn.apache.org/viewvc?rev=642676&view=rev Log: hackathon : SOAP fault sub code header Modified: webservices/axis2/trunk/c/axiom/include/axiom_soap_fault_sub_code.h Modified: webservices/axis2/trunk/c/axiom/include/axiom_soap_fault_sub_code.h URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/include/axiom_soap_fault_sub_code.h?rev=642676&r1=642675&r2=642676&view=diff ============================================================================== --- webservices/axis2/trunk/c/axiom/include/axiom_soap_fault_sub_code.h (original) +++ webservices/axis2/trunk/c/axiom/include/axiom_soap_fault_sub_code.h Sat Mar 29 20:44:42 2008 @@ -44,15 +44,24 @@ /** * creates a soap struct * @param env Environment. MUST NOT be NULL + * @param fault_code SOAP fault code + * + * @return Created SOAP fault sub code */ AXIS2_EXTERN axiom_soap_fault_sub_code_t *AXIS2_CALL - axiom_soap_fault_sub_code_create_with_parent( const axutil_env_t * env, axiom_soap_fault_code_t * fault_code); + /** + * Create a SOAP fault sub code from the given SOAP fault and value + * @param fault_sub_code pointer to soap_fault_sub_code struct + * @param env Environment. MUST NOT be NULL + * @param value the value to be set to the SOAP fault + * + * @return Created SOAP sub code + */ AXIS2_EXTERN axiom_soap_fault_sub_code_t *AXIS2_CALL - axiom_soap_fault_sub_code_create_with_parent_value( const axutil_env_t * env, axiom_soap_fault_code_t * fault_code, @@ -62,28 +71,45 @@ * Free an axiom_soap_fault_sub_code * @param fault_sub_code pointer to soap_fault_sub_code struct * @param env Environment. MUST NOT be NULL - * @return satus of the op. AXIS2_SUCCESS on success - * else AXIS2_FAILURE + * @return VOID */ AXIS2_EXTERN void AXIS2_CALL axiom_soap_fault_sub_code_free( axiom_soap_fault_sub_code_t * fault_sub_code, const axutil_env_t * env); + /** + * Get the SOAP fault sub code + * @param fault_sub_code pointer to soap_fault_sub_code struct + * @param env Environment. MUST NOT be NULL + * + * @return the SOAP fault sub code + */ AXIS2_EXTERN axiom_soap_fault_sub_code_t *AXIS2_CALL - axiom_soap_fault_sub_code_get_sub_code( axiom_soap_fault_sub_code_t * fault_sub_code, const axutil_env_t * env); + /** + * Get the value of the SOAP fault sub code + * @param fault_sub_code pointer to soap_fault_sub_code struct + * @param env Environment. MUST NOT be NULL + * + * @return the SOAP fault value + */ AXIS2_EXTERN struct axiom_soap_fault_value *AXIS2_CALL + axiom_soap_fault_sub_code_get_value( + axiom_soap_fault_sub_code_t * fault_sub_code, + const axutil_env_t * env); - axiom_soap_fault_sub_code_get_value( - axiom_soap_fault_sub_code_t * fault_sub_code, - const axutil_env_t * env); - + /** + * Get the base node of the SOAP fault sub code + * @param fault_sub_code pointer to soap_fault_sub_code struct + * @param env Environment. MUST NOT be NULL + * + * @return the base node of the SOAP fault sub code as OM node + */ AXIS2_EXTERN axiom_node_t *AXIS2_CALL - axiom_soap_fault_sub_code_get_base_node( axiom_soap_fault_sub_code_t * fault_sub_code, const axutil_env_t * env); --------------------------------------------------------------------- To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org For additional commands, e-mail: axis-cvs-help@ws.apache.org