Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 80114 invoked from network); 6 May 2005 22:41:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 6 May 2005 22:41:45 -0000 Received: (qmail 54897 invoked by uid 500); 6 May 2005 22:44:17 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 54880 invoked by uid 500); 6 May 2005 22:44:17 -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: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 54865 invoked by uid 99); 6 May 2005 22:44:16 -0000 X-ASF-Spam-Status: No, hits=1.0 required=10.0 tests=FROM_ENDS_IN_NUMS,RCVD_BY_IP,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of shantanuchawla74@gmail.com designates 64.233.162.203 as permitted sender) Received: from zproxy.gmail.com (HELO zproxy.gmail.com) (64.233.162.203) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 06 May 2005 15:44:16 -0700 Received: by zproxy.gmail.com with SMTP id 16so3407024nzp for ; Fri, 06 May 2005 15:41:24 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=qtj2IRYV54ZzPbuptb47RmO3BDR/2t9eNRsZr25v+b9yNCU7H4QU/DmZIHgqQ9oK9I1+g+HHXH/KgpEEvSH6iSowLQWdGa+Qjtaa21A1jX8YEbeHBN1W8beaR2uf908pyNwBEAO1uzjpxH1OtZMkau/Rrz+IHJRDKDV/ILeTgv4= Received: by 10.36.91.2 with SMTP id o2mr753397nzb; Fri, 06 May 2005 15:41:24 -0700 (PDT) Received: by 10.36.42.4 with HTTP; Fri, 6 May 2005 15:41:24 -0700 (PDT) Message-ID: <75d91e54050506154129454ed4@mail.gmail.com> Date: Fri, 6 May 2005 15:41:24 -0700 From: shantanu chawla Reply-To: shantanu chawla To: axis-user@ws.apache.org Subject: Unable to retrieve complex type in .net client Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On my course of learning of webservices on Axis. I created a complex type Person containing age and name attributes. I tried to create another complextype PersonsContainer which contains a Person array and count. My wsdl has two functions getPerson() returning Person and getPersons() returning PersonsContainer. I uses wsdl2java to generate the server and client java codes. and I deploy the service on Axis 1.2RC3. The java client works fine with the service but when I try to access the service with .net client I am able to receive the person with getPerson() but I am unable to get PersonsContainer using getPersons(). When looking at the soap responses. It seems the getPersons() is getting getPerson() function kinda weird. My wsdl is : =09 =09=09 =09=09 =09 =09 =09=09 =09=09 =09 =09 =09 =09 =09 =09 =09 =09 =09 =09 =09 =09=09 =09 =09 =09=09 =09 =09 =09 =09=09 =09 =09 =09=09 =09 The soap messages exchanged in the .net client with axis webservices is: for getPerson(): POST /axis/services/PersonTestSOAP HTTP/1.1 VsDebuggerCausalityData: AAA User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client Protocol 1.1.4322.573) Content-Type: text/xml; charset=3Dutf-8 SOAPAction: "http://localhost:9090/axis/services/PersonTestSOAP/getPerson" Content-Length: 236 Expect: 100-continue Connection: Keep-Alive Host: 127.0.0.1:9050 Reply: HTTP/1.1 100 Continue HTTP/1.1 200 OK Content-Type: text/xml;charset=3Dutf-8 Transfer-Encoding: chunked Date: Fri, 06 May 2005 22:08:16 GMT Server: Apache-Coyote/1.1 19c Shantanu Chawla27 0 for getPersons(): POST /axis/services/PersonTestSOAP HTTP/1.1 VsDebuggerCausalityData: AwAAAA User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client Protocol 1.1.4322.573) Content-Type: text/xml; charset=3Dutf-8 SOAPAction: "http://localhost:9090/axis/services/PersonTestSOAP/getPersons" Content-Length: 236 Expect: 100-continue Connection: Keep-Alive Host: 127.0.0.1:9050 Reply: HTTP/1.1 100 Continue HTTP/1.1 200 OK Content-Type: text/xml;charset=3Dutf-8 Transfer-Encoding: chunked Date: Fri, 06 May 2005 22:09:32 GMT Server: Apache-Coyote/1.1 19c Shantanu Chawla27 0 As you can see the getPersons() function reply is getPerson() reply. Can someone provide any insight into it. I have tried it so many time that I have run out of ideas. Thanks=20 Shantanu --=20 Graduate Student=20 Department of Computer Science, San Diego State University