Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 74593 invoked from network); 5 Apr 2006 16:31:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 5 Apr 2006 16:31:50 -0000 Received: (qmail 78896 invoked by uid 500); 5 Apr 2006 16:31:40 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 78867 invoked by uid 500); 5 Apr 2006 16:31:39 -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: List-Id: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 78855 invoked by uid 99); 5 Apr 2006 16:31:39 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Apr 2006 09:31:39 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of danieldestro@gmail.com designates 66.249.92.203 as permitted sender) Received: from [66.249.92.203] (HELO uproxy.gmail.com) (66.249.92.203) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Apr 2006 09:31:38 -0700 Received: by uproxy.gmail.com with SMTP id m2so895232uge for ; Wed, 05 Apr 2006 09:31:17 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=fYBzMprLt5vCI95vxBKs9y6V65nyF484e9ZhkTNff69t9C575fJFa6Ce5uH2m7U4rnmmVhQa1ajvOaQvMGSA5ITHBa9Xj9NjMQUwc8qYgDS6ayXdQGF3mI2mhztC6e0eyBmbK0yDtwrM7ncsfbulDDsQUdadeVXifjz+Yc9QvsI= Received: by 10.78.32.16 with SMTP id f16mr67234huf; Wed, 05 Apr 2006 09:31:17 -0700 (PDT) Received: by 10.78.56.11 with HTTP; Wed, 5 Apr 2006 09:31:17 -0700 (PDT) Message-ID: <99ddef2f0604050931r6c556076lf02f0076159e615e@mail.gmail.com> Date: Wed, 5 Apr 2006 13:31:17 -0300 From: "Daniel Destro" To: axis-user@ws.apache.org Subject: Re: Generating Web Service with Axis 1.3 In-Reply-To: <022e01c658c4$d5833d20$c002a8c0@KALIO> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_22758_2639973.1144254677607" References: <99ddef2f0604050715t66a9929csd1c230c27b9a5fed@mail.gmail.com> <022e01c658c4$d5833d20$c002a8c0@KALIO> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_22758_2639973.1144254677607 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi Chris, Thanks for your answer. But, IMO, tools should work for us as much as possible. I don=B4t want to write WSDD files myself, I want some tool to make that for me. Axis can do that, but still there is some job to be done. Regards Daniel On 4/5/06, Chris Smith wrote: > > Daniel Destro wrote: > > Axis code generation process seems to be a little bit cumbersome, > > because, first of all, I have to create the WSDL, then the > > server-side classes are generated from the WSDL. It would be much > > easier if we could do it with only one single step and it could also > > use my original business class instead of make me add code to > > delegate the calls from the XXXImpl class to the business class. > > If you already have both the WSDL and the implementation classes, then yo= u > don't need to use WSDL2Java at all. Instead, you would just write a WSDD > file pointing to your existing WSDL and Java code. You would need to > include type mappings in that file, potentially using bean serializers or > even custom serializers if your data classes are not beans. This will no= t > be a trivial process, since you need to match your existing code to the > existing WSDL interface, and there may be problems on either side. > > WSDL2Java is meant to generate Java code, if it doesn't already exist... > for > example, if you've built the interface specification first as a WSDL file > and a set of related XSDs, and then you want to build an implementation > from > there. > > -- > www.designacourse.com > The Easiest Way To Train Anyone... Anywhere. > > Chris Smith - Lead Software Developer/Technical Trainer > MindIQ Corporation > > ------=_Part_22758_2639973.1144254677607 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi Chris,

Thanks for your answer.

But, IMO, tools should work= for us as much as possible. I don=B4t want to write WSDD files myself, I w= ant some tool to make that for me. Axis can do that, but still there is som= e job to be done.

Regards
Daniel


On 4/= 5/06, Chris Smith <cdsmith@twu.net> wrote:
Daniel Destro wrote:
> Axis code generation process seems to be a lit= tle bit cumbersome,
> because, first of all, I have to create the WSD= L, then the
> server-side classes are generated from the WSDL. It wou= ld be much
> easier if we could do it with only one single step and it could al= so
> use my original business class instead of make me add code to> delegate the calls from the XXXImpl class to the business class.

If you already have both the WSDL and the implementation classes, then = you
don't need to use WSDL2Java at all.  Instead, you would ju= st write a WSDD
file pointing to your existing WSDL and Java code. =  You would need to
include type mappings in that file, potentially using bean serializers = or
even custom serializers if your data classes are not beans. &nbs= p;This will not
be a trivial process, since you need to match your exist= ing code to the
existing WSDL interface, and there may be problems on either side.
<= br>WSDL2Java is meant to generate Java code, if it doesn't already exist...= for
example, if you've built the interface specification first as a WSD= L file
and a set of related XSDs, and then you want to build an implementation= from
there.

--
www.d= esignacourse.com
The Easiest Way To Train Anyone... Anywhere.
Chris Smith - Lead Software Developer/Technical Trainer
MindIQ Corporati= on


------=_Part_22758_2639973.1144254677607--