Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 95241 invoked from network); 21 Sep 2005 21:06:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 21 Sep 2005 21:06:53 -0000 Received: (qmail 66535 invoked by uid 500); 21 Sep 2005 21:06:51 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 65950 invoked by uid 500); 21 Sep 2005 21:06:50 -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 65937 invoked by uid 99); 21 Sep 2005 21:06:50 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Sep 2005 14:06:49 -0700 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 7CF76122 for ; Wed, 21 Sep 2005 23:06:28 +0200 (CEST) Message-ID: <1384614116.1127336788509.JavaMail.jira@ajax.apache.org> Date: Wed, 21 Sep 2005 23:06:28 +0200 (CEST) From: "toby cabot (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Updated: (AXIS-2226) bad online-generated wsdl for derivatives of simple types In-Reply-To: <277227228.1127336548694.JavaMail.jira@ajax.apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 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 [ http://issues.apache.org/jira/browse/AXIS-2226?page=all ] toby cabot updated AXIS-2226: ----------------------------- Attachment: axis-simpleType-patch.txt Changed property name from "value" to VALUE_PROPERTY which is equal to "_value" which is what we want. > bad online-generated wsdl for derivatives of simple types > --------------------------------------------------------- > > Key: AXIS-2226 > URL: http://issues.apache.org/jira/browse/AXIS-2226 > Project: Apache Axis > Type: Bug > Components: Serialization/Deserialization > Versions: 1.2.1 > Environment: fedora core 2 > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_06-b03) > Reporter: toby cabot > Attachments: axis-simpleType-patch.txt > > I have a WSDL that includes types that are derived from string, e.g.: > > > > > > If I run this through wsdl2java and deploy it everything works fine, except that when I try to use the online wsdl (i.e. from the *ServicePort?wsdl URL) it contains: > > > > > > > > which is invalid. > It looks like the problem is in org.apache.axis.encoding.ser.SimpleSerializer#writeSchema(). It's looking for a property descriptor name called "value" but the descriptor is called "_value". I'll attach a patch that fixes this. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira