axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Glen Daniels <gdani...@macromedia.com>
Subject RE: WSDL Aware Runtime
Date Wed, 20 Feb 2002 13:37:09 GMT

IMO, the Axis engine desperately needs a "service metadata" abstraction, which I've been making
noises about for a long time.

I don't think this should be tightly bound to WSDL, though I do think we should clearly be
able to read WSDL into a ServiceDescription (assuming that's what it gets called) and write
a ServiceDescription out as WSDL.  The reasoning here is : 1) the engine has a lot of uses
for this data even in situations where actual WSDL isn't required.  2) the WSDL data structures
aren't the most efficient way to deal with this stuff.  3) WSDL is likely going to change
at some point in the next year or so as the ws-desc group works on it - I think we can do
a good job with defining clean abstractions around what we want, and then map that to whichever
version of WSDL we're using in the future (as well as WSDL 1.1 for backwards-compatibility).

I would be happy to help work on this.

--Glen

> -----Original Message-----
> From: R J Scheuerle Jr [mailto:scheu@us.ibm.com]
> Sent: Tuesday, February 19, 2002 1:53 PM
> To: axis-dev@xml.apache.org
> Subject: WSDL Aware Runtime
> 
> 
> I would appreciate some comments on the proposal to make the 
> runtime 'wsdl
> aware'
> 
> For example, if the following is recieved off the wire:
> 
> <echoParam>
>    <param>123</param>
> </echoParam>
> 
> There is no way to determine how to deserialize the data 
> because the type
> attribute is not specified.
> But if the runtime is 'wsdl aware' it could examine the wsdl 
> and determine
> the type of
> <param> and do the proper deserialization.
> 
> Making the runtime 'wsdl aware' would also allow axis to check xml
> instances coming over
> the wire against the format described in the wsdl.  I suspect 
> that other
> non-axis runtimes may
> already be doing this.
> 
> Making the runtime 'wsdl aware' would also eliminate the 
> extra information
> that is generated
> in the skeleton classes.
> 
> The serializers/deserializers would need to be changed to traverse the
> wsdl/xml during
> serialization/deserialization.
> 
> Has anyone given this any thought?
> 
> Rich Scheuerle
> XML & Web Services Development
> 512-838-5115  (IBM TL 678-5115)
> 

Mime
View raw message