Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 4862 invoked from network); 6 Mar 2007 20:35:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Mar 2007 20:35:55 -0000 Received: (qmail 1654 invoked by uid 500); 6 Mar 2007 20:36:01 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 1621 invoked by uid 500); 6 Mar 2007 20:36:01 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 1610 invoked by uid 99); 6 Mar 2007 20:36:01 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Mar 2007 12:36:01 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of davanum@gmail.com designates 66.249.92.172 as permitted sender) Received: from [66.249.92.172] (HELO ug-out-1314.google.com) (66.249.92.172) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Mar 2007 12:35:50 -0800 Received: by ug-out-1314.google.com with SMTP id m2so441886ugc for ; Tue, 06 Mar 2007 12:35:27 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=p1TS+NnQmiZzxZ4X0J+TfgfVmYclBoUsOz6J05bO0kssNg8hpQynyxAKO1VDAoFJ+6fhEU6rlxVh/3RNsmcwTbYEkvIH18p6aY23Y5f/TnGtVKt2QYra3t0fIRnFpzPWPVkNYRrrzRAmGPMwUhHut79VG/KoUYLg6H/CvlF2O1c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ovxRqJm6n2LU4ubbofji2PPDjJOKfMOPjaJ/UGwdwuNsc4I5AqMQwWbyxCJRaDQaIGgOWyzB9EDhlg5OMWxynGGbfagibK1WgEbbPc9qu/agJ+SZDClhqdJR9hVWQeu5njuKyxU6p1Th+2q6fHBJHGtcEW2x3RruXwbwqR59ITM= Received: by 10.114.60.19 with SMTP id i19mr1894906waa.1173213326208; Tue, 06 Mar 2007 12:35:26 -0800 (PST) Received: by 10.114.133.10 with HTTP; Tue, 6 Mar 2007 12:35:26 -0800 (PST) Message-ID: <19e0530f0703061235q7ecc9b73if5a3589e43709945@mail.gmail.com> Date: Tue, 6 Mar 2007 15:35:26 -0500 From: "Davanum Srinivas" Reply-To: dims@apache.org To: dev@geronimo.apache.org Subject: Re: SAAJ integration help In-Reply-To: <5eb405c70703061113h919107cte2be5e6adf3b98c1@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <5eb405c70703061113h919107cte2be5e6adf3b98c1@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org Axis1 will not work with an external SAAJ implementation or API. Not sure if we can update the API in Axis1 because then it will fail the jax-rpc signature tests. thanks, dims On 3/6/07, Jarek Gawor wrote: > I started looking into SAAJ integration. And that appears to be a much > more work than I initially thought. Here's the background info. In > Java EE 5 we have to support both JAX-RPC and JAX-WS web services > (both might be deployed in the same module). Right now JAX-RPC support > is provided by Axis1 and JAX-WS support is provided by either Axis2 or > CXF. Both JAX-RPC and JAX-WS endpoints must support SAAJ. Both Axis1 > and Axis2 have their own implementations of the SAAJ API. Axis1 > implements SAAJ 1.1/1.2 and Axis2 implements SAAJ 1.3. CXF uses > Glassfish 1.3 implementation. > My initial idea was to use Axis2 SAAJ for Axis2/Axis1 assembly and > Glassfish SAAJ for CXF/Axis1 assembly. However, I'm not sure what > would be the effects on Axis1 when Axis2 or Glassfish SAAJ > implementation is used because I think Axis1 expects its own SAAJ > implementation. So things might just blow up in this case. I also > assume that we will need to update Axis1 code to implement the SAAJ > 1.3 API (e.g. to throw OperationUnsupportedException(), etc.) > > Assuming things do blow up what are our options for supporting two > different SAAJ implementations? Or do we need one common SAAJ > implementation? > > I have an idea how maybe we can support two different SAAJ > implementations by setting a context classloader to force a given > implementation to be used but I'm not sure how reliable it will be. > > Jarek > -- Davanum Srinivas :: http://wso2.org/ :: Oxygen for Web Services Developers