Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 53494 invoked from network); 27 Jun 2006 04:28:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 27 Jun 2006 04:28:29 -0000 Received: (qmail 36209 invoked by uid 500); 27 Jun 2006 04:28:20 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 35799 invoked by uid 500); 27 Jun 2006 04:28:19 -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 35788 invoked by uid 99); 27 Jun 2006 04:28:19 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Jun 2006 21:28:19 -0700 X-ASF-Spam-Status: No, hits=0.8 required=10.0 tests=INFO_TLD X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [209.68.5.9] (HELO relay00.pair.com) (209.68.5.9) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 26 Jun 2006 21:28:18 -0700 Received: (qmail 81692 invoked from network); 27 Jun 2006 04:27:57 -0000 Received: from unknown (HELO ?127.0.0.1?) (unknown) by unknown with SMTP; 27 Jun 2006 04:27:57 -0000 X-pair-Authenticated: 222.165.172.223 Message-ID: <44A0B3C8.1040503@opensource.lk> Date: Tue, 27 Jun 2006 09:57:52 +0530 From: Deepal Jayasinghe User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: axis-user@ws.apache.org Subject: Re: [Axis2] Web service calling another web service problem References: <449BCA7D.4030108@ncl.ac.uk> <449EB82D.2020805@opensource.lk> <449FDC3C.8010901@ncl.ac.uk> In-Reply-To: <449FDC3C.8010901@ncl.ac.uk> X-Enigmail-Version: 0.93.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I mean I have only tested in war distribution. Michele Mazzucco wrote: >Hi Deepal, > >what does 'in war distribution not in SimpleHTTPServer case' mean?, I'm >using the war distribution. > >Michele > >Deepal Jayasinghe wrote: > > >>In the current codebase this should work (I have tested and confirmed >>that ) , I mean only in war distribution not in SimpleHTTPServer case. >> >>Michele Mazzucco wrote: >> >> >> >>>Hi all, >>> >>>I'm trying to let a web service A calling a web service B works, but it >>>doesn't work: >>>service A calls the MyService.echo() method (see userguide folder) when >>>certain events happen. I see service B receives the message, but the >>>response is not delivered to A. >>> >>>Service A is as follows: >>> >>>{ >>>.... >>>client(targetNode); >>>} >>> >>>private void client(String node) throws AxisFault { >>> String target = createTargetPath(node); >>> EndpointReference targetEPR = new EndpointReference(target); >>> >>> OMElement payload = getEchoOMElement(); >>> Options options = new Options(); >>> options.setTo(targetEPR); >>> options.setAction("urn:echo"); >>> options.setTransportInProtocol(Constants.TRANSPORT_HTTP); >>> options.setUseSeparateListener(true); >>> >>> ServiceClient sender = new ServiceClient(); >>> sender.engageModule(new QName(Constants.MODULE_ADDRESSING)); >>> sender.setOptions(options); >>> >>> OMElement result = sender.sendReceive(payload); >>> log.info("Result [" + result.toString() + "]"); <-- I can't see this log >>>} >>> >>>private static OMElement getEchoOMElement() { >>> OMFactory fac = OMAbstractFactory.getOMFactory(); >>> OMNamespace omNs = fac.createOMNamespace( >>> "http://example1.org/example1", "example1"); >>> OMElement method = fac.createOMElement("echo", omNs); >>> OMElement value = fac.createOMElement("Text", omNs); >>> value.addChild(fac.createOMText(value, "Axis2 Echo String ")); >>> method.addChild(value); >>> >>> return method; >>>} >>> >>> >>> >>>Any idea? >>> >>>Thanks, >>>Michele >>> >>>--------------------------------------------------------------------- >>>To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org >>>For additional commands, e-mail: axis-user-help@ws.apache.org >>> >>> >>> >>> >>> >>> >>> > >--------------------------------------------------------------------- >To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org >For additional commands, e-mail: axis-user-help@ws.apache.org > > > > > -- Thanks, Deepal ................................................................ ~Future is Open~ --------------------------------------------------------------------- To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org For additional commands, e-mail: axis-user-help@ws.apache.org