Return-Path: X-Original-To: apmail-cxf-dev-archive@www.apache.org Delivered-To: apmail-cxf-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B1E6C8D13 for ; Fri, 9 Sep 2011 04:26:56 +0000 (UTC) Received: (qmail 59014 invoked by uid 500); 9 Sep 2011 04:26:55 -0000 Delivered-To: apmail-cxf-dev-archive@cxf.apache.org Received: (qmail 58647 invoked by uid 500); 9 Sep 2011 04:26:38 -0000 Mailing-List: contact dev-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list dev@cxf.apache.org Received: (qmail 58621 invoked by uid 99); 9 Sep 2011 04:26:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Sep 2011 04:26:26 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [74.50.49.35] (HELO sosnoski.com) (74.50.49.35) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Sep 2011 04:26:19 +0000 Received: from [192.168.0.69] (ip-58-28-158-218.static-xdsl.xnet.co.nz [58.28.158.218]) (authenticated bits=0) by sosnoski.com (8.12.10/8.12.10) with ESMTP id p894Pss2004540 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 9 Sep 2011 00:25:57 -0400 Message-ID: <4E699541.10509@sosnoski.com> Date: Fri, 09 Sep 2011 16:25:37 +1200 From: Dennis Sosnoski User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.20) Gecko/20110804 SUSE/3.1.12 Lightning/1.0b2 Thunderbird/3.1.12 MIME-Version: 1.0 To: dev@cxf.apache.org Subject: Re: a quesiton on CXF 2.5 WS-RM's protocol variation handling References: <4E4C37E2.7070704@sosnoski.com> <4E55DDF3.3080309@sosnoski.com> In-Reply-To: <4E55DDF3.3080309@sosnoski.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi Aki, I added the test code to verify proper server-side handling of different protocol variations (http://svn.apache.org/viewvc?rev=1166927&view=rev) so if you want to try changing how RMEndpoint works, go ahead. - Dennis On 08/25/2011 05:30 PM, Dennis Sosnoski wrote: > On 08/18/2011 11:32 PM, Aki Yoshida wrote: >> Hi Dennis, >> >> 2011/8/17 Dennis Sosnoski: >>> Hi Aki, >>> >>> On 08/18/2011 09:25 AM, Aki Yoshida wrote: >>>> ... >>>> >>>> RMManager now manages endpoints under each supported protocol >>>> variation using Map>. >>>> Does this mean that an Endpoint can be used in several protocol variations? >>> Yes. I decided to take this approach because I wanted the WS-RM >>> serverside code to automatically adjust to whichever variation a client >>> uses in the request, while allowing other clients to use other variations. >> Okay. it makes sense. But could this multi-version support at the >> sequence level so that you still have one RMEndpoint per Endpoint? One >> RMEndpoint can respond to the create sequence message from various >> clients using different versions and create each sequence bound to be >> used for a specific version. So this will also work, no? > I had originally looked at doing something along these lines. I think I > ran into problems in handling outgoing messages, but from a look at > RMOutInterceptor I'd think it'd be possible to work around any issues. > > I'll add some systests to assure that the code responds correctly to > different protocol variations (which it does, at present). That way you > can try this change and make sure nothing breaks. > > - Dennis >