Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 75839 invoked from network); 10 Aug 2007 12:34:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Aug 2007 12:34:31 -0000 Received: (qmail 46379 invoked by uid 500); 10 Aug 2007 12:34:23 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 46318 invoked by uid 500); 10 Aug 2007 12:34:23 -0000 Mailing-List: contact axis-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 46307 invoked by uid 99); 10 Aug 2007 12:34:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Aug 2007 05:34:23 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of kevin.tierone@gmail.com designates 66.249.82.237 as permitted sender) Received: from [66.249.82.237] (HELO wx-out-0506.google.com) (66.249.82.237) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Aug 2007 12:34:14 +0000 Received: by wx-out-0506.google.com with SMTP id h29so576074wxd for ; Fri, 10 Aug 2007 05:33:53 -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=fzqOI7CHtr68jqEIuPKi2cazh3O5MotCKVyJ5v9PMMuNfv/DVNks3IHZ5onPWl197a6a2Boj2Jzq3ZbSHXWKwgDNPZc/xChwprFr6mLEWMi3FjCsuDXw59hOT5UtYZD3GgcdjM3a8VImy8PpUa33ivTXNPbMxvVr8UHiHXO6mxc= 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=o/LljxhzWvMuBn1w6fVbFNAnQnmljiXPGE4hckIllEPp4QqGZUqTfIqJvVpmh6PhJekskyPW5Soc6hvRo9lwgdEKPn7iMgfcWhh/XbWYIQuiwOWtvvUrFyh0jAQMYfQIAXi9Fy5tktx6Rdc+n4jh3XbyYJ/xgxxnfdMxpLzVOC0= Received: by 10.70.53.7 with SMTP id b7mr4492869wxa.1186749233200; Fri, 10 Aug 2007 05:33:53 -0700 (PDT) Received: by 10.70.92.11 with HTTP; Fri, 10 Aug 2007 05:33:53 -0700 (PDT) Message-ID: Date: Fri, 10 Aug 2007 08:33:53 -0400 From: "Kevin TierOne" To: axis-dev@ws.apache.org Subject: Re: Bug? SimpleType enumeration output is incorrect. In-Reply-To: <60708f4b0708092110j7f9937a8i5f49a2e433f0f999@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <60708f4b0708092110j7f9937a8i5f49a2e433f0f999@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org 1 - If I run the wsdl through the code generator, I get the file WsdlfileSkeleton.java. 2 - I implement this method: public localhost.wsdlfile.GetResponse Get(localhost.wsdlfile.Get get0) { localhost.wsdlfile.GetResponse resp=new localhost.wsdlfile.GetResponse(); resp.setOut(get0.getIn()); resp.setType(get0.getType()); return resp; } 3 - After deploying the webservice, I send the request as shown in the original post. 4 - In the TCP monitor, I see the response shown the original post. I expect that the response should echo the same values and structure as in the request. However, in the response, the Element is incorrect. The name of the element should be . Let me know if you need any other info. Kevin On 8/10/07, Amila Suriarachchi wrote: > Can you please describe your qestion bit? > > in other words How can I regenerate your issue? > > Amila. > > > On 8/9/07, Kevin TierOne < kevin.tierone@gmail.com> wrote: > > > > Sorry, I forgot to mention that I'm using Axis2 1.2. > > > > Kevin > > > > On 8/9/07, Kevin TierOne wrote: > > > The XML tags in the response messsage of an enumerated element uses > > > the simpleType name. It should use the element name. For example, > > > using the wsdl below I get the following request and response. > > > > > > Look at the output "c", this element should > > > be c > > > > > > REQUEST: > > > > > > xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" > > > xmlns:q0=" http://localhost:8080/wsdlfile/" > > > xmlns:xsd="http://www.w3.org/2001/XMLSchema" > > > xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance"> > > > > > > > > > www > > > c > > > > > > > > > > > > > > > RESPONSE: > > > encoding="http://schemas.xmlsoap.org/soap/envelope/"?> > > > xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> > > > > > > > > > www > > > c > > > > > > > > > > > > > > > > > > > > > > > > > > > xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" > > > xmlns:tns="http://localhost:8080/wsdlfile/ " > > > xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" > > > xmlns:xsd="http://www.w3.org/2001/XMLSchema " > > > > xmlns:wsaw="http://www.w3.org/2006/02/addressing/wsdl" > name="wsdlfile" > > > targetNamespace=" http://localhost:8080/wsdlfile/"> > > > > > > > > elementFormDefault="qualified" > > > targetNamespace=" http://localhost:8080/wsdlfile/"> > > > > > > > > > > > > > > > > > type="tns:Type_T"> > > > > > > > > > > > > > > > > > > > > > > > > > > type="tns:Type_T"> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > transport="http://schemas.xmlsoap.org/soap/http" /> > > > > > > > > > soapAction="http://localhost:8080/wsdlfile/GetLink" /> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: > axis-dev-unsubscribe@ws.apache.org > > For additional commands, e-mail: axis-dev-help@ws.apache.org > > > > > > > > -- > Amila Suriarachchi, > WSO2 Inc. --------------------------------------------------------------------- To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org For additional commands, e-mail: axis-dev-help@ws.apache.org