Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 28700 invoked from network); 26 Mar 2007 06:10:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Mar 2007 06:10:10 -0000 Received: (qmail 59771 invoked by uid 500); 26 Mar 2007 06:09:53 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 59755 invoked by uid 500); 26 Mar 2007 06:09:53 -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 59732 invoked by uid 99); 26 Mar 2007 06:09:53 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 25 Mar 2007 23:09:53 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of ajith.ranabahu@gmail.com designates 66.249.82.230 as permitted sender) Received: from [66.249.82.230] (HELO wx-out-0506.google.com) (66.249.82.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 25 Mar 2007 23:09:44 -0700 Received: by wx-out-0506.google.com with SMTP id h28so1884719wxd for ; Sun, 25 Mar 2007 23:09:23 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=JjD+0SAByoeX5Bf5GpcWj0f2CBqCmXDDCl2tQPDsyGqQUIiDItWSzk6qG0Hu0LNIMNDefbvlISSU3DqZM7hBPOmdj7lcl69hbQsqk999wPBZLDe2Z0uQTfTejR7cfkKz/pARzRzrBhl7+zCEWW+GvvaatcUCe9Vm44ao1nKhkGo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=TpFrKA34MmVW81U4+BqMNXwB4ZsXD2yQbrWgUXxck4ZDy7rMB2N1Gm9e6lyiomFKyw7glAuskjEFChiOnZX/YGClGI/WbhwL+935teXEjKUcpWxxAPcxYpxmniuhJjNaO7mzkh2tp607art/pGTl2ga2SnjwdX4l4M3MxAts2S4= Received: by 10.90.75.10 with SMTP id x10mr55611aga.1174889363595; Sun, 25 Mar 2007 23:09:23 -0700 (PDT) Received: by 10.90.119.3 with HTTP; Sun, 25 Mar 2007 23:09:23 -0700 (PDT) Message-ID: Date: Mon, 26 Mar 2007 02:09:23 -0400 From: "Ajith Ranabahu" To: axis-user@ws.apache.org Subject: Re: It worked with Axis 1.4, but not Axis2 In-Reply-To: <46042B06.10706@timkoop.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <46003881.1010408@timkoop.com> <46014AD6.9050903@timkoop.com> <4602A1E8.1000709@timkoop.com> <4602B219.8050304@opensource.lk> <4602CC56.5060305@timkoop.com> <60708f4b0703222300s7a54ed18uc2b656b61e39fb3b@mail.gmail.com> <4604123D.1080301@timkoop.com> <46042B06.10706@timkoop.com> X-Virus-Checked: Checked by ClamAV on apache.org Hmm... Well Axis2 does not have the capability to do rpc/encoded so unfortunately that is not an option. However it seems to me that you are seeing three methods because of the three bindings ! (Since we have no idea of how the PHP client works this is just a thought) May be you can try using a modified WSDL with the SOAP 1.2 and HTTP bindings removed. Ajith On 3/23/07, Tim Koop wrote: > Thanks for your analysis, Ajith. > > To answer your question about the errors I see, I don't exactly see > errors; it just looks like it isn't working the way SOAP is supposed to > work. I can find these three problems using the PHP client with Axis2. > Using it with Axis1 all works normal and good. > > 1. To get the response, I have to use $client->greeting()->return > instead of just $client->greeting(). > > 2. When I list all the functions of this service with > $client->__getFunctions(), it lists three of them for some reason (and > with a complex return type) > greetingResponse greeting() > greetingResponse greeting() > greetingResponse greeting() > > instead of the one when I use Axis1. > string greeting() > > 3. If I had a function that required arguments, I would have to call it > like this: > $client->add(array(param0=>3, param1=>5)) > instead of the normal way like this with Axis1: > $client->add(3, 5) > > > Thank you to everyone who has commented so far, and thanks for any more > ideas. > > (Is there some way to tell Axis2 to use rpc-encoded binding? It sounds > like that might solve it.) > > > Tim Koop > > > > > Ajith Ranabahu wrote: > > Hi, > > It seems to me that this may be an issue with the PHP client. Here is > > what I gather from the information > > > > 1. The Axis1 WSDL has a rpc-encoded binding > > 2. The Axis2 WSDL has doc/lit bindings for both SOAP 1.1 and 1.2 > > 3. The requests and responses (according to their WSDL's) seem to be > > correct in both cases. From the looks of it even the response from > > Axis2 server seems to agree with the schema that the WSDL refers to. > > > > I have a feeling this could be the PHP client that fails to parse the > > response (However the SOAP request has been formed correctly which > > makes me doubt my conclusion). What kind of error are you seeing ? > > > > Ajith > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org > For additional commands, e-mail: axis-user-help@ws.apache.org > > -- Ajith Ranabahu --------------------------------------------------------------------- To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org For additional commands, e-mail: axis-user-help@ws.apache.org