Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 19040 invoked from network); 28 Apr 2006 18:13:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 28 Apr 2006 18:13:11 -0000 Received: (qmail 89465 invoked by uid 500); 28 Apr 2006 18:13:02 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 89440 invoked by uid 500); 28 Apr 2006 18:13:01 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 89429 invoked by uid 99); 28 Apr 2006 18:13:01 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Apr 2006 11:13:01 -0700 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 (asf.osuosl.org: domain of Michele.Mazzucco@ncl.ac.uk designates 128.240.234.84 as permitted sender) Received: from [128.240.234.84] (HELO cheviot8.ncl.ac.uk) (128.240.234.84) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Apr 2006 11:13:00 -0700 Received: from [10.8.149.156] (eskdale.ncl.ac.uk [10.8.149.156]) by cheviot8.ncl.ac.uk (8.13.6/8.13.1) with ESMTP id k3SICabl018232 for ; Fri, 28 Apr 2006 19:12:36 +0100 Message-ID: <44525B14.2090600@ncl.ac.uk> Date: Fri, 28 Apr 2006 19:12:36 +0100 From: Michele Mazzucco User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: Axis user mailing list Subject: [Axis2 1.0RC3] ws-addressing problems X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Received-SPF: pass (cheviot8.ncl.ac.uk: 10.8.149.156 is authenticated by a trusted mechanism) X-Newcastle-MailScanner-Information: Please contact Postmaster@newcastle.ac.uk for more information X-Newcastle-MailScanner: Found to be clean X-Newcastle-MailScanner-MCPCheck: MCP-Clean, MCP-Checker (score=0, required 1) X-Newcastle-MailScanner-From: michele.mazzucco@ncl.ac.uk X-NCL-Spam-Status: No X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi all, I'm using Axis2 1.0-RC3 and I'm having some problems with the addressing module (the module is engaged on the server side). Options options = new Options(); options.setTo(new EndpointReference(TARGET_EPR)); options.setTransportInProtocol(Constants.TRANSPORT_HTTP); options.setAction("urn:isBookAvailable"); options.setUseSeparateListener(true); ServiceClient sender = new ServiceClient(); sender.setOptions(options); ConfigurationContext context = ConfigurationContextFactory.createConfigurationContextFromFileSystem( "D:/Programs/apache-tomcat-5.5.15/webapps/axis2/WEB-INF/", null); // Callback code omitted sender.sendReceiveNonBlocking(payload, callback); produces: Exception in thread "main" org.apache.axis2.AxisFault: In order to use two transport channels, WS-Addressing module must be engaged at org.apache.axis2.description.ClientUtils.inferInTransport(ClientUtils.java:80) at org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:243) at org.apache.axis2.client.ServiceClient.sendReceiveNonBlocking(ServiceClient.java:483) at org.apache.axis2.client.ServiceClient.sendReceiveNonBlocking(ServiceClient.java:464) while if I add sender.engageModule(new QName(Constants.MODULE_ADDRESSING)); I get: Exception in thread "main" org.apache.axis2.AxisFault: Module not found at org.apache.axis2.description.AxisService.engageModule(AxisService.java:396) at org.apache.axis2.client.ServiceClient.engageModule(ServiceClient.java:279) Any suggest? Michele