Return-Path: Delivered-To: apmail-ws-axis-c-dev-archive@www.apache.org Received: (qmail 50018 invoked from network); 4 Jan 2005 13:33:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 4 Jan 2005 13:33:50 -0000 Received: (qmail 5420 invoked by uid 500); 4 Jan 2005 13:33:47 -0000 Delivered-To: apmail-ws-axis-c-dev-archive@ws.apache.org Received: (qmail 5390 invoked by uid 500); 4 Jan 2005 13:33:47 -0000 Mailing-List: contact axis-c-dev-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: List-Id: "Apache AXIS C Developers List" Reply-To: "Apache AXIS C Developers List" Delivered-To: mailing list axis-c-dev@ws.apache.org Received: (qmail 5354 invoked by uid 99); 4 Jan 2005 13:33:46 -0000 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=DNS_FROM_RFC_ABUSE,HTML_30_40,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from ausmtp01.au.ibm.com (HELO ausmtp01.au.ibm.com) (202.81.18.186) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 04 Jan 2005 05:33:38 -0800 Received: from sd0112e0.au.ibm.com (d23rh903.au.ibm.com [202.81.18.201]) by ausmtp01.au.ibm.com (8.12.10/8.12.10) with ESMTP id j04DZAaK171036 for ; Wed, 5 Jan 2005 00:35:13 +1100 Received: from d23av01.au.ibm.com (d23av01.au.ibm.com [9.190.250.242]) by sd0112e0.au.ibm.com (8.12.10/NCO/VER6.6) with ESMTP id j04DZWTL153382 for ; Wed, 5 Jan 2005 00:35:33 +1100 Received: from d23av01.au.ibm.com (loopback [127.0.0.1]) by d23av01.au.ibm.com (8.12.11/8.12.11) with ESMTP id j04DXVdM007799 for ; Wed, 5 Jan 2005 00:33:31 +1100 Received: from d23m0174.in.ibm.com (d23m0174.in.ibm.com [9.182.98.15]) by d23av01.au.ibm.com (8.12.11/8.12.11) with ESMTP id j04DXUvH007785 for ; Wed, 5 Jan 2005 00:33:30 +1100 In-Reply-To: To: "Apache AXIS C Developers List" MIME-Version: 1.0 Subject: Re: Regarding IHeaderBlock and IAttribute APIs X-Mailer: Lotus Notes Release 6.0.2CF1 June 9, 2003 Message-ID: From: James Jose Date: Tue, 4 Jan 2005 19:02:33 +0530 X-MIMETrack: Serialize by Router on d23m0174/23/M/IBM(Release 6.51HF653 | October 18, 2004) at 04/01/2005 19:02:34, Serialize complete at 04/01/2005 19:02:34 Content-Type: multipart/alternative; boundary="=_alternative 004ACC4565256F7F_=" X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N This is a multipart message in MIME format. --=_alternative 004ACC4565256F7F_= Content-Type: text/plain; charset="US-ASCII" Hi By duplication I mean it adding twice. For eg if I use createAttribute() twice with same arguments, it will create two attributes with same name.This is wrong because we cannot have two attribute with same name in one element. If I pass empty string in setLocalName() then it will create a SOAP message without element name. ie SOAP message become an invalid XML file. Passing NULL- Almost all API in IHeaderBlock & IAttribute class will result in Exception Regards James -------------------------------------------------- James Jose Messaging Clients Team, WMQDDC IBM Software Labs, India Direct: 91-80- 25094331 Ext :2331 E-mail: jamejose@in.ibm.com Andrew Perry2 04/01/2005 18:42 Please respond to "Apache AXIS C Developers List" To "Apache AXIS C Developers List" cc axis-c-dev@ws.apache.org Subject Re: Regarding IHeaderBlock and IAttribute APIs Hi James, Just clarifying that you are working on the fuctional tests for testing the IHeaderBlock and IAttribute APIs and not the actual API code. Also, > 1.APIs are not checking for duplication (namespace prefix,Attribute name) What is meant by duplication? What is the result? Does it overwrite or add twice, and is this a problem? > 2.APIs are not checking whether arguments are empty string or string that contains only spaces What happens when an empty argument is passed? > 3.If NULL is passed as argument in API call then some exception has occured. Which APIs? This is a bug, raise a Jira. Regards, Andrew Perry IBM C/C++ Web Services Client perryan@uk.ibm.com Mail Point 127 IBM UK Laboratories. Hursley Park, Winchester, Hants. SO21 2JN Tel. Internal 249828 External + 44 (0)1962 819828 Fax. + 44(0)1962 818080 James Jose wrote on 04/01/2005 12:18:06: > > > Hi > I am working on IHeaderBlock and IAttribute APIs.I have noticed > > 1.APIs are not checking for duplication (namespace prefix,Attribute name) > 2.APIs are not checking whether arguments are empty string or > string that contains only spaces > 3.If NULL is passed as argument in API call then some exception has occured. > > Please clarify. > > Thanks in advance > James > -------------------------------------------------- > James Jose > Messaging Clients Team, WMQDDC > IBM Software Labs, India > Direct: 91-80- 25094331 Ext :2331 > E-mail: jamejose@in.ibm.com --=_alternative 004ACC4565256F7F_= Content-Type: text/html; charset="US-ASCII"
Hi

  By duplication I mean it adding twice. For eg if I use createAttribute()  twice with same arguments, it will create two attributes with same name.This is wrong because we cannot have two attribute with same name in one element.

If I pass empty string in setLocalName() then it will create a SOAP message without  element name. ie SOAP message become an invalid XML file.

Passing NULL- Almost all API in IHeaderBlock & IAttribute class will result in Exception



Regards
James
--------------------------------------------------
James Jose
Messaging Clients Team, WMQDDC
IBM Software Labs, India
Direct: 91-80- 25094331  Ext :2331
E-mail: jamejose@in.ibm.com




Andrew Perry2 <PERRYAN@uk.ibm.com>

04/01/2005 18:42
Please respond to
"Apache AXIS C Developers List"

To
"Apache AXIS C Developers List" <axis-c-dev@ws.apache.org>
cc
axis-c-dev@ws.apache.org
Subject
Re: Regarding IHeaderBlock and IAttribute APIs









Hi James,

Just clarifying that you are working on the fuctional tests for testing the
IHeaderBlock and IAttribute APIs and not the actual API code.
Also,

>  1.APIs are not checking for duplication (namespace prefix,Attribute
name)
What is meant by duplication? What is the result? Does it overwrite or add
twice, and is this a problem?

>  2.APIs are not checking whether arguments are empty string or string
that contains only spaces
What happens when an empty argument is passed?

>  3.If NULL is passed as argument in API call then some exception has
occured.
Which APIs? This is a bug, raise a Jira.

Regards,

Andrew Perry
IBM C/C++ Web Services Client
perryan@uk.ibm.com
Mail Point 127
IBM UK Laboratories. Hursley Park, Winchester, Hants. SO21 2JN
Tel. Internal 249828  External + 44 (0)1962 819828
Fax. + 44(0)1962 818080

James Jose <jamejose@in.ibm.com> wrote on 04/01/2005 12:18:06:

>
>
> Hi
>   I am working on IHeaderBlock and IAttribute APIs.I have noticed
>
>  1.APIs are not checking for duplication (namespace prefix,Attribute
name)
>  2.APIs are not checking whether arguments are empty string or
> string that contains only spaces
>  3.If NULL is passed as argument in API call then some exception has
occured.
>
> Please clarify.
>
> Thanks in advance
> James
> --------------------------------------------------
> James Jose
> Messaging Clients Team, WMQDDC
> IBM Software Labs, India
> Direct: 91-80- 25094331  Ext :2331
> E-mail: jamejose@in.ibm.com


--=_alternative 004ACC4565256F7F_=--