Return-Path: Delivered-To: apmail-incubator-cxf-dev-archive@locus.apache.org Received: (qmail 26715 invoked from network); 7 Nov 2007 09:15:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Nov 2007 09:15:14 -0000 Received: (qmail 58437 invoked by uid 500); 7 Nov 2007 09:14:59 -0000 Delivered-To: apmail-incubator-cxf-dev-archive@incubator.apache.org Received: (qmail 58393 invoked by uid 500); 7 Nov 2007 09:14:59 -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 58378 invoked by uid 99); 7 Nov 2007 09:14:59 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Nov 2007 01:14:59 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of james.mao@iona.com designates 12.170.54.180 as permitted sender) Received: from [12.170.54.180] (HELO amer-mx1.iona.com) (12.170.54.180) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Nov 2007 09:15:35 +0000 X-IronPort-AV: E=Sophos;i="4.21,382,1188792000"; d="scan'208";a="7009859" Received: from amer-ems1.ionaglobal.com ([10.65.6.25]) by amer-mx1.iona.com with ESMTP; 07 Nov 2007 04:14:41 -0500 Received: from [10.129.9.187] ([10.129.9.187]) by amer-ems1.IONAGLOBAL.COM with Microsoft SMTPSVC(6.0.3790.1830); Wed, 7 Nov 2007 04:14:39 -0500 Message-ID: <473181F1.2030407@iona.com> Date: Wed, 07 Nov 2007 17:14:25 +0800 From: James Mao User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: cxf-dev@incubator.apache.org Subject: WS Addressing - the API approach Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 07 Nov 2007 09:14:40.0292 (UTC) FILETIME=[A0580E40:01C8211E] X-Virus-Checked: Checked by ClamAV on apache.org Hi, I'm trying to enable the ws-a through the API approach which described in the doc [1], but the message i captured told me that the ws-a is definitely not working. Client side code: JaxWsProxyFactoryBean factory = new JaxWsProxyFactoryBean(); factory.setServiceClass(Greeter.class); factory.setAddress("http://localhost:8080/SoapContext/SoapPort"); factory.getFeatures().add(new WSAddressingFeature()); Greeter port = (Greeter) factory.create(); Service side code: EndpointImpl ep = (EndpointImpl) Endpoint.create(implementor); ep.getFeatures().add(new WSAddressingFeature()); ep.publish(address); Am I miss anything? Or We have to use the Spring config to enable to ws-a? Thanks in advance! James [1]http://cwiki.apache.org/CXF20DOC/ws-addressing.html