Return-Path: Delivered-To: apmail-cxf-users-archive@www.apache.org Received: (qmail 38111 invoked from network); 18 Jun 2009 13:55:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 18 Jun 2009 13:55:34 -0000 Received: (qmail 46866 invoked by uid 500); 18 Jun 2009 13:55:44 -0000 Delivered-To: apmail-cxf-users-archive@cxf.apache.org Received: (qmail 46804 invoked by uid 500); 18 Jun 2009 13:55:44 -0000 Mailing-List: contact users-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@cxf.apache.org Delivered-To: mailing list users@cxf.apache.org Received: (qmail 46794 invoked by uid 99); 18 Jun 2009 13:55:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Jun 2009 13:55:44 +0000 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 lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Jun 2009 13:55:32 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1MHI5A-00084N-0r for users@cxf.apache.org; Thu, 18 Jun 2009 06:55:12 -0700 Message-ID: <24093434.post@talk.nabble.com> Date: Thu, 18 Jun 2009 06:55:12 -0700 (PDT) From: Jonathan Macke To: users@cxf.apache.org Subject: Axis2 client is not working with a CXF server MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: jonathan.macke@yahoo.fr X-Virus-Checked: Checked by ClamAV on apache.org Hi, I wrote a simple service using the JAX-WS API. @WebService(targetNamespace = "urn:xastory:csm:contract") public interface CatalogueStockManagementService { @WebMethod net.atos.xastory.csm.contract.WithdrawProductOutput withdrawProducts( net.atos.xastory.csm.contract.WithdrawProductInput input) throws net.atos.xastory.csm.contract.ServiceException; } Technical Environment: - CXF 2.0.11 - Tomcat 5.5 - JAXB 2.0 I tried to used this service with a Axis2-based client using JAX-WS. @Test public void testAxis2Jaxws() throws Exception{ URL wsdl = new URL("http://localhost:8080/net.atos.xastory.csm.contract.CatalogueStockManagementService?wsdl"); QName qname = new QName("http://provider.csm.xastory.atos.net/", "CatalogueStockManagementServiceImplService"); Service service = Service.create(wsdl, qname); CatalogueStockManagementService catalogueService = service.getPort(CatalogueStockManagementService.class); WithdrawProductInput input = new WithdrawProductInput(); //fill the input object WithdrawProductOutput output = catalogueService.withdrawProducts(input); } >From the server side, input is null. I tried with a CXF-based client, I'm getting the input properly filled. Here is the SOAP request generated by the CXF client: 2 3 12.0 EUR 20 taxType Here is the SOAP request generated by the Axis2 client: 2 3 12.0 EUR 20 taxType In Axis2 the xmlns attribute is empty for the arg0 element. CXF seems not able to treat requests with an empty xmlns in the arg0 element. Do you have any idea to solve this problem? Jonathan -- View this message in context: http://www.nabble.com/Axis2-client-is-not-working-with-a-CXF-server-tp24093434p24093434.html Sent from the cxf-user mailing list archive at Nabble.com.