Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 67465 invoked from network); 3 Mar 2005 11:39:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 3 Mar 2005 11:39:57 -0000 Received: (qmail 73428 invoked by uid 500); 3 Mar 2005 11:39:56 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 72843 invoked by uid 500); 3 Mar 2005 11:39:55 -0000 Mailing-List: contact axis-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@ws.apache.org list-help: list-unsubscribe: List-Post: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 72830 invoked by uid 99); 3 Mar 2005 11:39:55 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of ajith.ranabahu@gmail.com designates 64.233.184.205 as permitted sender) Received: from wproxy.gmail.com (HELO wproxy.gmail.com) (64.233.184.205) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 03 Mar 2005 03:39:53 -0800 Received: by wproxy.gmail.com with SMTP id 37so389716wra for ; Thu, 03 Mar 2005 03:39:52 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=VOsnkPZLJqgQWbQxkrs0EbjncIu8tzm6I1KJ8QQ9S5xLMcSXkUW0ijCU6fkehOsfMIPKM415n/HNfXnDJJXDcO+OPTknGAyB34nw6AsSZG0pv6nxnIJ4PbMH+iJjp6lUQrvcgWEXhMC4HgVWExctKqKFd3BOGwuCd6GeaAlsA4g= Received: by 10.54.65.2 with SMTP id n2mr78189wra; Thu, 03 Mar 2005 03:39:51 -0800 (PST) Received: by 10.54.2.42 with HTTP; Thu, 3 Mar 2005 03:39:51 -0800 (PST) Message-ID: Date: Thu, 3 Mar 2005 17:39:51 +0600 From: Ajith Ranabahu Reply-To: Ajith Ranabahu To: axis-dev@ws.apache.org, chinthaka@opensource.lk Subject: Re: [Axis2] SOAP 1.1 and/or 1.2 In-Reply-To: <200503030556.j235uUDm072235@squid.cmb.ac.lk> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable References: <200503030556.j235uUDm072235@squid.cmb.ac.lk> X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi, I have not looked into the SOAP specs in detail but may I suggest a solution. I'm sure SOAP 1.1 and 1.2 has similar properties and behaviors even though they are named diffrently. So my guess is we can have a common model (one of our own) that has both the features and have two implementations of that set of interfaces for SOAP 1.1 and 1.2 (or whatever comes later even :)) The internal engine works with our model and wouldn't see the diff.=20 thoughts ? On Thu, 3 Mar 2005 11:49:59 +0600, Eran Chinthaka wrote: >=20 >=20 > Hi, >=20 > =20 >=20 > We implemented a SOAP layer on top of OM using the SOAPBuilder. But it wa= s > in accordance with SOAP 1.1. But now I think its time to support SOAP 1.2= as > well. There we have a problem as some of the things are bit different in = 1.2 > compared to 1.1. (see here > http://www.w3.org/TR/2003/REC-soap12-part0-20030624/#L4697) >=20 > =20 >=20 > For example; SOAP fault element has many difference between these two.=20 >=20 > And there are some name changes as well. For example actor has changed to > role. So I have a problem which method to use. Is it getRole() or getActo= r() > I should use ? or put both ?=20 >=20 > =20 >=20 > When u think about handlers accessing the SOAP message using OM, one migh= t > write there code to comply with SOAP 1.1 and whilst other with SOAP 1.2.= =20 >=20 > =20 >=20 > If you put a method like getRole, well that can be used to return actor f= or > SOAP 1.1. But is it ok ? >=20 > =20 >=20 > Plus, there are some specific information available in SOAP faults. In 1.= 2 > Code and Reason are mandatory and the element hierarchy there is differen= t > to (of more informative) than SOAP 1.1. >=20 > =20 >=20 > So how do we support both =E2=80=A6.. ?? >=20 > =20 >=20 > Option 1 : Having two SOAP builders for SOAP 1.1 and SOAP 1.2. But then > handler writers will have to have a big if.. else .. >=20 > Option 2 : Support SOAP 1.2 only and if there is something missing, user > (handler writer or any other accessing SOAP), must take care of that. >=20 > Option 3 : =E2=80=A6=E2=80=A6.. ?? >=20 > =20 >=20 > I'd like to see a very convenient API for user to manipulate the SOAP > message using OM. >=20 > =20 >=20 > Comments/ Thoughts .. >=20 > =20 >=20 > =20 >=20 > Regards, >=20 > Eran Chinthaka >=20 > =20 --=20 Ajith Ranabahu