axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Russell Butek" <>
Subject Re: Wsdl2Java
Date Tue, 04 Sep 2001 13:13:59 GMT
Tab characters?  There were tab characters in there?  Evil!

I'm not sure I understand your concern about generating interfaces.
Interfaces are good.  They keep people from programming to implementations.
Besides, JAX-RPC defines the generation of interfaces.

Good catch noticing the public instance vars.  It DOES look strange since
we also have accessors.  Think of it as evolving.  The first draft of
JAX-RPC I saw defined public instance vars and nothing else, but Axis
required beans (ie., accessors) so I compromised and generated both.  The
latest draft of JAX-RPC allows beans, and I've heard that Axis will soon
accept public instance vars, so we'll eventually go one way or the other.

Russell Butek

Doug Davis/Raleigh/IBM@IBMUS on 09/04/2001 07:26:28 AM

Please respond to

Subject:  Wsdl2Java

Just took a very brief look at the Wsdl2Java...
- removed the evil tab characters
- why do we generate interfaces instead of just
  the proxy classes?  I understand that conceptually there
  are interfaces in WSDL but do we really expect people to
  do something with these java files - aside from compile
  them?  I could see having them generated thru a switch
  but it seems like the default should be to generate just
  the proxy classes w/o interfaces.  It feels like we're
  exposing the inner workings of WSDL simply because it's
  there when there is no direct benefit for the end-user.
  I know that it's possible that there will be multiple
  port types but we appear to only support one and don't
  have a mechanism to select which one (yet).  It seems
  like if there's only one port type then we should not
  bother to expose the interfaces.
  Just my $0.02.
- why are the instance vars of types "public"?  Didn't want
  to change this to "private" or "protected" w/o checking
  first in case there was a reason.
Cool stuff though!!

View raw message