axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Perham" <>
Subject doc/lit support
Date Thu, 09 Oct 2003 16:20:34 GMT
Any comments?  My main point is that WSDL must be treated as a
first-class citizen going forward.  Axis can adequately handle simple
doc/lit services which are generated from a java class but cannot handle
WSDL written by hand.  This is a major flaw and will become a major
interoperability problem going forward as web services and doc/lit
messages grow in popularity.

WSDL is the public face to a web service.  When you are designing a java
component to be used by arbitrary clients, what do you want to get
absolutely right?  The interface - make sure it throws the right
exceptions, uses publically available classes as arguments, etc.  In the
same manner, it is my belief that professionally developed web services
have their WSDL hand tuned to get the message schemas, faults,
attachment bindings, etc exact.  Creating the WSDL and messages at
runtime from the Java code simply will not work because the schema
definitions contain more information than the Java code itself.
maxOccurs and choice are examples.  So a client which uses the
hand-tuned WSDL will often simply not work with an Axis server.  I would
appreciate axis-dev's feedback here; am I missing something or is there
a better way to describe the problem?


-----Original Message-----
From: Davanum Srinivas [] 
Sent: Thursday, October 09, 2003 10:20 AM
Subject: RE: Axis doc/lit - impossible?


Please start a discussion in the axis-dev@ mailing list about your
thoughts on extracting metadata for the web service from existing wsdl.


--- Mike Perham <> wrote:
> Exactly!  It's my belief that there are fundamental issues with Axis 
> 1.1 that preclude solid support for arbitrary doc/lit WSDL.  See the 
> bug I opened yesterday for this exact discussion:
> -----Original Message-----
> From: Thomas Bayer []
> Sent: Thursday, October 09, 2003 4:54 AM
> To:
> Subject: Re: Axis doc/lit - impossible?
> Taking a WSDL document with an arbitrary schema doesn't work and can't

> work. I have found no facility to do the binding. Perhaps a binding 
> framework could be used, but for the generation of the response there 
> is no store for a mapping or a schema nor there is code that can 
> produce a response obeying the rules in an arbitrary schema.

Davanum Srinivas -

View raw message