Return-Path: Delivered-To: apmail-ws-axis-c-user-archive@www.apache.org Received: (qmail 28784 invoked from network); 12 Jan 2005 04:22:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 12 Jan 2005 04:22:45 -0000 Received: (qmail 37810 invoked by uid 500); 12 Jan 2005 04:22:45 -0000 Delivered-To: apmail-ws-axis-c-user-archive@ws.apache.org Received: (qmail 37637 invoked by uid 500); 12 Jan 2005 04:22:45 -0000 Mailing-List: contact axis-c-user-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: List-Id: "Apache AXIS C User List" Reply-To: "Apache AXIS C User List" Delivered-To: mailing list axis-c-user@ws.apache.org Received: (qmail 37624 invoked by uid 99); 12 Jan 2005 04:22:44 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of samisa.abeysinghe@gmail.com designates 64.233.184.195 as permitted sender) Received: from wproxy.gmail.com (HELO wproxy.gmail.com) (64.233.184.195) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 11 Jan 2005 20:22:42 -0800 Received: by wproxy.gmail.com with SMTP id 36so537005wra for ; Tue, 11 Jan 2005 20:22:40 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=VuYda6IykDgV9zcZlpm45MAWW59UJFozTy6TfK+8lbLtyl3wVFXdv3zATCGA5t7tZKNSh/z+ftPCfijxq0xubbp0So0jFjLAsbZuYVO5W4r9aWYrbYtIyCZ2kN3b1TpvgZLonugvwcn6ZiUMEp0YBY61r/OSKvLU9vye0c4iYHI= Received: by 10.54.56.62 with SMTP id e62mr52615wra; Tue, 11 Jan 2005 20:22:40 -0800 (PST) Received: by 10.54.28.30 with HTTP; Tue, 11 Jan 2005 20:22:40 -0800 (PST) Message-ID: Date: Wed, 12 Jan 2005 10:22:40 +0600 From: Samisa Abeysinghe Reply-To: Samisa Abeysinghe To: Apache AXIS C User List Subject: Re: Returning Complex Object which contains an array is always null In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Could this problem be due to the use of href/multiref by server side response? Or does this happen in the absance of href/multiref? If you could send the response sent by service, we could clarify the problem further. Thanks, Samisa... On Tue, 11 Jan 2005 14:40:50 -0500, Franklin, Allen wrote: > Here are the things I tried: > > 1) C++ clients cannot access a Java String type, either as method return > value, > or in a complex data type method return value. The client can access int > values in a complex type. > 2) C++ clients cannot access an array of chars, either as method return > value, or in a complex data type method return value > because wsdl2Ws fails (cannot generate client code). > > -----Original Message----- > From: Jairam, Roopnaraine [mailto:Roopnaraine.Jairam@ca.com] > Sent: Tuesday, January 11, 2005 2:28 PM > To: Apache AXIS C User List > Subject: RE: Returning Complex Object which contains an array is always null > > > > Are you also trying to return a complex object which contains an array > object? > > > ________________________________ > > > From: Franklin, Allen [mailto:Allen.Franklin@concerto.com] > Sent: Tuesday, January 11, 2005 1:05 PM > To: Apache AXIS C User List > Subject: RE: Returning Complex Object which contains an array is always null > > > > > I have a similar problem with arrays. > > I am also unable to retrieve a String data type as a return value of a SOAP > method. > > The server-side is Java, using axis version 1.2beta3 (it's java from > JBuilder2005). > > My client is C++ axis version 1.3, running on Linux. > > I posted the string problem to the news group a couple of times but nobody > responded... > > > -----Original Message----- > From: Jairam, Roopnaraine [mailto:Roopnaraine.Jairam@ca.com] > Sent: Tuesday, January 11, 2005 12:19 PM > To: Apache AXIS C User List > Cc: axis-c-dev-help@ws.apache.org > Subject: Returning Complex Object which contains an array is always null > > My web service is Axis Java 1.2RC2 and the client code is Axis-c-1-4-win32 > when the web service returns a complex object which contains an array. The > service is always returning NULL. > > > > My wsdl is below > > > > > xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="urn:ca" > xmlns:intf="urn:ca" > xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" > xmlns:tns2="http://objects.ca" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" > xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" > xmlns:xsd="http://www.w3.org/2001/XMLSchema"> > > > > > > xmlns="http://www.w3.org/2001/XMLSchema"> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > wsdl:arrayType="tns2:KeyTableRecord[]"/> > > > > > > > > > > > > > > > > type="impl:ArrayOf_tns2_KeyTableRecord"/> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > type="impl:VerificationResults"/> > > > > > > > > > > > > type="impl:RegistrationResults"/> > > > > > > > > > > > > > > > > name="registerLicenseRequest"/> > > > > name="registerLicenseResponse"/> > > > > > > > > > > > > name="verifyLicenseRequest"/> > > > > name="verifyLicenseResponse"/> > > > > > > > > > > > > > > > > transport="http://schemas.xmlsoap.org/soap/http"/> > > > > > > > > > > > > > > > > encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:ca" > use="encoded"/> > > > > > > > > > > > > encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:ca" > use="encoded"/> > > > > > > > > > > > > > > > > > > > > > > > > encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:ca" > use="encoded"/> > > > > > > > > > > > > encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:ca" > use="encoded"/> > > > > > > > > > > > > > > > > > > > > name="LicenseSystem"> > > > > location="http://eav-rack7-bot3/axis/services/LicenseSystem"/> > > > > > > > > > > > > > > > > Is this a node bug and is there a solution or workaround. > > > > Vince.