Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 41876 invoked from network); 9 Nov 2006 07:08:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Nov 2006 07:08:29 -0000 Received: (qmail 4750 invoked by uid 500); 9 Nov 2006 07:08:30 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 4728 invoked by uid 500); 9 Nov 2006 07:08:30 -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 4717 invoked by uid 99); 9 Nov 2006 07:08:30 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Nov 2006 23:08:30 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [206.123.75.163] (HELO sosnoski.com) (206.123.75.163) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Nov 2006 23:08:15 -0800 Received: from [192.168.0.2] (222-152-158-219.jetstream.xtra.co.nz [222.152.158.219]) (authenticated bits=0) by sosnoski.com (8.12.10/8.12.10) with ESMTP id kA977nu2017410; Thu, 9 Nov 2006 02:07:51 -0500 Message-ID: <4552D44C.3050908@sosnoski.com> Date: Thu, 09 Nov 2006 20:10:04 +1300 From: Dennis Sosnoski User-Agent: Thunderbird 1.5.0.4 (X11/20060516) MIME-Version: 1.0 To: axis-user@ws.apache.org CC: m.berkowitz.1@alumni.nyu.edu Subject: Re: Newbie Questions References: <1163012961.82398.ezmlm@ws.apache.org> <009b01c70376$32e12a70$1a85a8c0@Kayote.com> <19e0530f0611081244x60e2b744k8ecd05bd31882483@mail.gmail.com> <4552B70E.8000606@sosnoski.com> <19e0530f0611082104s74700c8bqab17f1f98ba0ff5e@mail.gmail.com> In-Reply-To: <19e0530f0611082104s74700c8bqab17f1f98ba0ff5e@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Ah, well, hopefully ADB will catch up with JiBX on this at some point... :-) - Dennis Davanum Srinivas wrote: > Dennis, > > the unwrap does not unwrap the return parameter in ADB :( > > -- dims > > On 11/9/06, Dennis Sosnoski wrote: >> JiBX data binding already supports the "-uw" unwrapped parameter, as >> described in the documentation at >> http://svn.apache.org/repos/asf/webservices/axis2/branches/java/1_1/xdocs/1_1/jibx/jibx-unwrapped-example.html >> >> I thought ADB did, too (though with extra classes, as compared to JiBX). >> Are there more changes underway for ADB unwrapped support, dims? >> >> Using JiBX you do have to write a data binding definition that relates >> XML to your Java classes. The upside of this is that you can work with >> your existing classes, rather than needing to use ones that have been >> generated around a particular framework. >> >> - Dennis >> >> Dennis M. Sosnoski >> SOA, Web Services, and XML >> Training and Consulting >> http://www.sosnoski.com - http://www.sosnoski.co.nz >> Seattle, WA +1-425-296-6194 - Wellington, NZ +64-4-298-6117 >> >> >> >> Davanum Srinivas wrote: >> > We are working on a "-uw" parameter in wsdl2java. >> > >> > -- dims >> > >> > On 11/8/06, Michael Berkowitz wrote: >> >> First off, let me assure you that I've searched around the forums and >> >> the >> >> project documentation before posting this. If the answers I'm >> >> seeking are >> >> already written up somewhere, please just point me to them. >> >> I would like to be able to use Axis2 in the same basic way that I >> >> used Axis, >> >> which is to start with a compiled Java interface (.class file), >> >> generate a >> >> WSDL from it, generate client stubs from the WSDL, and then call the >> >> remote >> >> methods in my client application using the same method signature as >> >> in the >> >> original interface (of course I'm leaving out a lot of steps here, >> like >> >> implementing the interface on the server, connecting the client to >> the >> >> endpoint and deploying the WSDD). >> >> For example, if my interface has a method that looks like this: >> >> public int getusername(String name); >> >> I'd like to be able to call a client stub like this: >> >> int i = stub.getusername("someuser"); >> >> >> >> All the examples I've seen of Axis2 seem to wrap parameters and >> return >> >> values in classes, so that my client code would have to look >> >> something like: >> >> ParamWrapper p = new ParamWrapper(); >> >> p.setName("someuser"); >> >> ResultWrapper r = stub.getusername(p); >> >> int i = r.getResult(); >> >> >> >> That is decidedly *not* what I'm looking for. Frankly, I find it >> >> hard to >> >> believe there's anyone who wouldn't prefer to work the former way, >> >> rather >> >> than the latter. My question then, is "Can I easily work the way I'm >> >> used >> >> to using Axis2, and if so, how?" >> >> >> >> >> >> If you'll continue to indulge me, I have one more question: >> >> I've installed the Axis2 plugin for IDEA. When I use it I get to a >> >> screen >> >> asking me to "Select lib files" and "Select WSDLs". What lib files >> >> is it >> >> talking about, and what WSDLs? Won't this generate the WSDL *for* >> me? >> >> Anyway, I can't get to the Finish line with the plugin. >> >> >> >> Thanks in advance. >> >> >> >> Michael >> >> >> >> >> >> --------------------------------------------------------------------- >> >> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org >> >> For additional commands, e-mail: axis-user-help@ws.apache.org >> >> >> >> >> > >> > >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org >> For additional commands, e-mail: axis-user-help@ws.apache.org >> >> > > --------------------------------------------------------------------- To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org For additional commands, e-mail: axis-user-help@ws.apache.org