Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 80688 invoked from network); 1 Apr 2004 13:22:47 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 1 Apr 2004 13:22:47 -0000 Received: (qmail 51413 invoked by uid 500); 1 Apr 2004 13:22:39 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 51392 invoked by uid 500); 1 Apr 2004 13:22:39 -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: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 51382 invoked from network); 1 Apr 2004 13:22:39 -0000 Received: from unknown (HELO web12822.mail.yahoo.com) (216.136.174.203) by daedalus.apache.org with SMTP; 1 Apr 2004 13:22:39 -0000 Message-ID: <20040401132240.20139.qmail@web12822.mail.yahoo.com> Received: from [141.202.248.58] by web12822.mail.yahoo.com via HTTP; Thu, 01 Apr 2004 05:22:40 PST Date: Thu, 1 Apr 2004 05:22:40 -0800 (PST) From: Davanum Srinivas Reply-To: dims@yahoo.com Subject: Re: WSDL2Java adds some unwanted characters in produced files To: axis-dev@ws.apache.org In-Reply-To: <406C14A1.9010606@yahoo.it> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Please open a bug report using JIRA (http://issues.apache.org). Please upload your original WSDL to the bug report. Did you check using Axis 1.2 Beta released yesterday? thanks, dims --- Dario Di Minno wrote: > >Davanum Srinivas wrote: > > If don't clean them up is there a problem at runtime? > > yes, I have problems (not only me!) at runtime. > > infact axis can't list the wsdl at the url http://localhost/...?wsdl > > giving the following error instead: > > > AXIS error > > Sorry, something seems to have gone wrong... here are the details: > > Fault - makeTypeElement() was told to create a type > "{http://rmv3.abd.it/schemas/services/importservice}>importRequest", with no containing element > > AxisFault > faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.generalException > faultSubcode: > faultString: makeTypeElement() was told to create a type > "{http://rmv3.abd.it/schemas/services/importservice}>importRequest", with no containing element > faultActor: > faultNode: > faultDetail: > > > > > Thanks for your interest! > Dario > > > Davanum Srinivas ha scritto: > > >If don't clean them up is there a problem at runtime? They are needed to generate proper wsdl > at > >runtime. i believe we use that token to indicate an anonymous type. Search the code from > >ANON_TOKEN and you will see it :) > > > >-- dims > > > >--- Dario Di Minno wrote: > > > > > >>Dear Axis Developers, > >>I'm an Axis 1.1 user and I found an error persisting in the Axis 1.2 > >>beta version I downloaded today. > >> > >>The problem is that WSDL2Java misplaces some ">" characters in the > >>produced files, so everytime I have to > >>do a "clean up" of the files. This problem has been reported also by > >>other users. > >> > >>Below I show you where I find these characters (in the use of QName(...) > >>and in deploy.wsdd): > >> > >>In ...BindingStub.java: > >>qName = new javax.xml.namespace.QName("...", ">importRequest"); > >> > >>In beans: > >>typeDesc.setXmlType(new javax.xml.namespace.QName("...", ">importRequest")); > >> > >>In deploy.wsdd, in the parameter "type" of the element "parameter" in > >>"operation": > >> > >> > >> >>xmlns:tns="..." /> > >> ... > >> > >> > >>It would be nice to see this fixed in the 1.2 release!!! > >> > >>Thank you > >>Dario > >> > >> > >> > > > > > >===== > >Davanum Srinivas - http://webservices.apache.org/~dims/ > > > > > > > > ===== Davanum Srinivas - http://webservices.apache.org/~dims/