Return-Path: Delivered-To: apmail-incubator-cxf-dev-archive@locus.apache.org Received: (qmail 91188 invoked from network); 18 Dec 2007 18:22:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Dec 2007 18:22:00 -0000 Received: (qmail 77049 invoked by uid 500); 18 Dec 2007 18:21:49 -0000 Delivered-To: apmail-incubator-cxf-dev-archive@incubator.apache.org Received: (qmail 77001 invoked by uid 500); 18 Dec 2007 18:21:48 -0000 Mailing-List: contact cxf-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cxf-dev@incubator.apache.org Delivered-To: mailing list cxf-dev@incubator.apache.org Received: (qmail 76992 invoked by uid 99); 18 Dec 2007 18:21:48 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Dec 2007 10:21:48 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=FB_LETTERS_21B,RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [66.187.233.31] (HELO mx1.redhat.com) (66.187.233.31) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Dec 2007 18:21:38 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.8/8.13.1) with ESMTP id lBIILUoq011376; Tue, 18 Dec 2007 13:21:30 -0500 Received: from pobox-2.corp.redhat.com (pobox-2.corp.redhat.com [10.11.255.15]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id lBIILTTm021541; Tue, 18 Dec 2007 13:21:29 -0500 Received: from [10.11.14.251] (vpn-14-251.rdu.redhat.com [10.11.14.251]) by pobox-2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id lBIILR2D002522; Tue, 18 Dec 2007 13:21:28 -0500 Message-ID: <47680E94.50808@jboss.com> Date: Tue, 18 Dec 2007 19:16:52 +0100 From: Thomas Diesler User-Agent: Thunderbird 2.0.0.9 (X11/20071115) MIME-Version: 1.0 To: cxf-dev@incubator.apache.org Subject: Re: WS-RM on the client side References: <4767BE5B.7000903@jboss.com> <022701c8419e$1f9dc290$e002050a@pcgroupiona.com> <47680C35.8050804@jboss.com> In-Reply-To: <47680C35.8050804@jboss.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.58 on 172.16.52.254 X-Virus-Checked: Checked by ClamAV on apache.org Looking at the code, the proxy that I get does not implement a CXF proprietary interface that would allow me to configure that proxy. Is there perhaps another way to programatically configure that proxy. The only way I found is pure proprietary and does not use the jaxws standard API ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext( new String[]{"my/path/to/client-beans.xml"}); HelloWorld client = (HelloWorld)context.getBean("client"); String response = client.sayHi("Dan"); cheers -thomas Thomas Diesler wrote: > Thanks Sergey. > > Do you know how I would do this in an elegant way? > > The policy engine would need to be enabled per test case? > (i.e. I cannot have a global config that contains enabled="true">) > > cheers > -thomas > > Sergey Beryozkin wrote: >> Hi >> >> I think you may need to explicitly enable a policy engine for this to >> happen. There's a JIRA for making sure a policy engine gets >> automatically enabled on encountering the policy expressions >> >> Cheers, Sergey >> >> >>> Hi Folks, >>> >>> do we have documentation on how to use WS-RM on the client side >>> except for http://cwiki.apache.org/CXF20DOC/wsrmconfiguration.html >>> >>> If a client proxy is build from a wsdl containing RM related policy, >>> is that proxy supposed to contain the client side interceptors and >>> therefore speak the RM protocol automatically? >>> >>> This is described in more detail in >>> >>> https://issues.apache.org/jira/browse/CXF-1311 >>> >>> If you agree, I would update the wiki with the results of this thread. >>> >>> cheers >>> -thomas >>> >>> -- >>> xxxxxxxxxxxxxxxxxxxxxxxxxxxx >>> Thomas Diesler >>> Web Service Lead >>> JBoss, a division of Red Hat >>> xxxxxxxxxxxxxxxxxxxxxxxxxxxx >> >> ---------------------------- >> IONA Technologies PLC (registered in Ireland) >> Registered Number: 171387 >> Registered Address: The IONA Building, Shelbourne Road, Dublin 4, Ireland >> > -- xxxxxxxxxxxxxxxxxxxxxxxxxxxx Thomas Diesler Web Service Lead JBoss, a division of Red Hat xxxxxxxxxxxxxxxxxxxxxxxxxxxx