Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 13346 invoked from network); 6 Mar 2007 20:57:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Mar 2007 20:57:34 -0000 Received: (qmail 37212 invoked by uid 500); 6 Mar 2007 20:57:41 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 36916 invoked by uid 500); 6 Mar 2007 20:57:40 -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 36905 invoked by uid 99); 6 Mar 2007 20:57:40 -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:57:40 -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 64.233.184.238 as permitted sender) Received: from [64.233.184.238] (HELO wr-out-0506.google.com) (64.233.184.238) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Mar 2007 12:57:28 -0800 Received: by wr-out-0506.google.com with SMTP id 71so2705734wri for ; Tue, 06 Mar 2007 12:57:08 -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:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=QnZ2DVJ+B134Oy+Iw7D+acTCpXouwCuh/lCGe1BoouDCBVQjnTVqO/7Il8QbXfdMypuO4k2KUHc/jb1TXVK2v0PbgWn3TSdDcAyYROEixxcYptZw635h1T1+Vk3gmwyWg41R30tWHPitTaHwzhVh/XXgx4bhb2yvCEQDaG1YQBo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=EDujlDBwEf1+QaHJTXy3zhu9PGPT69j3ddzraoDsdpMk154jJcXvr62igeOg3cOhJz4tbc8pwLcRTnu7jBxxsoWBnU2CN8WJqSEqu9B+OchXPJQfqH1lbgsEEzo3pIy2SimfNejW7Yp+T58/LAixOUXasLCN4osDGzYHvKg1hu8= Received: by 10.115.78.1 with SMTP id f1mr1758991wal.1173214627779; Tue, 06 Mar 2007 12:57:07 -0800 (PST) Received: by 10.114.133.10 with HTTP; Tue, 6 Mar 2007 12:57:07 -0800 (PST) Message-ID: <19e0530f0703061257v70957af8t52d1d47bf9a5d873@mail.gmail.com> Date: Tue, 6 Mar 2007 15:57:07 -0500 From: "Davanum Srinivas" Reply-To: dims@apache.org To: "Jarek Gawor" Subject: Re: SAAJ integration help Cc: dev@geronimo.apache.org In-Reply-To: <5eb405c70703061250p124e89cdi68c4796cb699efb0@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> <19e0530f0703061235q7ecc9b73if5a3589e43709945@mail.gmail.com> <5eb405c70703061250p124e89cdi68c4796cb699efb0@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org Worth a shot trying! There are new classes in SAAJ 1.3 that need to be implemented as well. -- dims On 3/6/07, Jarek Gawor wrote: > Why wouldn't Axis1 work with a newer version of SAAJ AP? That is, > leave Axis1' SAAJ API as is, but update the implementation to > implement the new SAAJ 1.3 methods. In Geronimo we would run with > Axis2 SAAJ 1.3 API and with updated Axis1 implementation. > > Jarek > > On 3/6/07, Davanum Srinivas wrote: > > 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 > > > -- Davanum Srinivas :: http://wso2.org/ :: Oxygen for Web Services Developers