Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 98289 invoked from network); 9 Sep 2004 13:22:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 9 Sep 2004 13:22:56 -0000 Received: (qmail 65704 invoked by uid 500); 9 Sep 2004 13:21:08 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 65613 invoked by uid 500); 9 Sep 2004 13:21:07 -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 65549 invoked by uid 99); 9 Sep 2004 13:21:06 -0000 X-ASF-Spam-Status: No, hits=1.7 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST,FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from [217.109.185.18] (HELO pinea.xerox.fr) (217.109.185.18) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 09 Sep 2004 06:21:05 -0700 Received: from localhost (mail-gw [127.0.0.1]) by pinea.xerox.fr (Postfix) with ESMTP id 04C51587A8 for ; Thu, 9 Sep 2004 15:21:02 +0200 (CEST) Received: from pinea.xerox.fr ([127.0.0.1]) by localhost (mail-gw [127.0.0.1]) (amavisd-new, port 10027) with ESMTP id 31309-04 for ; Thu, 9 Sep 2004 15:21:00 +0200 (CEST) Received: from meije.grenoble.xrce.xerox.com (meije.grenoble.xrce.xerox.com [13.202.220.10]) by pinea.xerox.fr (Postfix) with ESMTP id 20F4E587A3 for ; Thu, 9 Sep 2004 15:21:00 +0200 (CEST) Received: from tiscali.fr (corbier.grenoble.xrce.xerox.com [13.202.222.67]) by meije.grenoble.xrce.xerox.com (8.12.3/8.12.3) with ESMTP id i89DKxLb028787 for ; Thu, 9 Sep 2004 15:20:59 +0200 (MEST) Message-ID: <41405961.1070604@tiscali.fr> Date: Thu, 09 Sep 2004 15:23:45 +0200 From: "webhiker@tiscali.fr" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7b) Gecko/20040316 X-Accept-Language: en-us, en MIME-Version: 1.0 To: axis-user@ws.apache.org Subject: Re: "extension base" inheritance seems non-functional in wsdl2java? References: <20040909131229.DXKQ14765.berlinr.sprint.ca@Benoit> In-Reply-To: <20040909131229.DXKQ14765.berlinr.sprint.ca@Benoit> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at example.com X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Thanks, I'll try it with your sample and see if I get anything going. However, you don't seem to define namespace "tns1"? Perhaps this is the secret Axis fiddle I will need to get it working. I thought they replaced this "tns1" thing as a bug fix in 1.1 beta? It's certainly not a documented feature that I've seen before. Christophe Roudet wrote: >It works fine for me with Axis 1.1 > >Here is a sample: > >xmlns="http://www.w3.org/2001/XMLSchema"> > > > > > > > > > > > > > > > > > > > > >Christophe > > > >>-----Original Message----- >>From: webhiker@tiscali.fr [mailto:webhiker@tiscali.fr] >>Sent: Thursday, September 09, 2004 8:51 AM >>To: axis-user@ws.apache.org >>Subject: Re: "extension base" inheritance seems non-functional in >>wsdl2java? >> >>Actually, it appears Axis is completely oblivious to the ">base=.." tag. >>I even tried to define : >> >> >>and Axis doesn't even generate a warning! Seems to be there's a big >>piece of Axis not implemented here, I think when they see this >>definition, they just ignore it. >> >>So since I'm the first person on the planet to want to factorise and >>re-use some of my complex objects among web services, how have you guys >>been doing it? >>For example if all web services return a complex object with parameter >>"common1", "common2", and you want a web service to return >>this common portion, but also a new parameter "specific1", do you >>currently just duplicate every single wsdl you have? >> >>I was planning a usefull import statement to import this base type in >>the wsdl, and then each web service can extend it as needed. >> >>wh >> >>webhiker@tiscali.fr wrote: >> >> >> >>>Yes, sorry, it was just a copy paste error. >>>The correct wsdl is : >>> >>> >>> >>> >>> >>> >>type="xsd:string"/> >>> >>> >>> >>> >>> >>> >>>but the end result is the same. >>>Does anyone have an example using a wsdl declaration like this that I >>>can crib from? >>> >>> >>>tony.q.weddle@gsk.com wrote: >>> >>> >>> >>>>If you copy and pasted this bit of XML, then you have an error. The >>>>sequence element doesn't have a closing tag and there are two closing >>>>tags for the extension element. However, I would have expected this >>>>to show up as an error when running WSDL2Java. >>>> >>>>Tony >>>> >>>> >>>> >>>>I'm trying to factorise my wsdl descriptions for all our web services, >>>>but as soon as I use the >>>generated are completely empty. Is there some special magic option I >>>>need to set, or is this functionality just not supported by Axis yet? >>>>(using 1.1 beta) >>>>The class I want to extend is not even generated by Axis (in the >>>> >>>> >>example >> >> >>>>below, the SDResult class) >>>> >>>>I'd appreciate any thoughts on where I'm going wrong. >>>> >>>>Here's my wsdl snippet : >>>> >>>>... >>>> >>>> >>>> >>>> >>>type="xsd:string"/> >>>> >>>type="xsd:int"/> >>>> >>>type="xsd:string"/> >>>> >>>type="xsd:string"/> >>>> >>>type="xsd:string"/> >>>> >>> type="xsd:string"/> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>name="Result" type="xsd:string"/> >>>> >>>> >>>> >>>> >>>> >>>>... >>>> >>>> >>>> >>> >>> > > > > > > >