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 <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]