axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthew J. Duftler" <duft...@watson.ibm.com>
Subject RE: WSDL4J & types
Date Fri, 30 Nov 2001 15:13:52 GMT
Hi Ravi,

I should also add (clarify):

The new style does not require you to implement any interfaces (as you
described below). You can simply work with the pre-registered
UnknownExtensibilityElement class to get the <xsd:schema> element.

The changes to the PopulatedExtensionRegistry are listed in the CVS log.

Thanks,
-Matt

> -----Original Message-----
> From: Ravi Kumar [mailto:rkumar@borland.com]
> Sent: Tuesday, November 27, 2001 4:51 PM
> To: axis-dev
> Subject: WSDL4J & types
>
>
> Folks,
>
> In just pulled the latest wsdl4j code - I noticed the following:
>
> Definitions interface methods
>     Element getTypesElement()
>     setTypesElement(Element)
> have been replaced with
>     Types getTypes()
>     setTypes(Types)
>
> I looked at the Types code. It's basically an interface to handle
> Extensibility elements - similar to the ones for soap, http, etc
>
> I am somewhat confused as to what is the right way to deal with types
> with the current wsdl4j code?
>
> I can do something straight forward like
>
> Doc doc = getDocument(defintion);
> Element types =
>    doc.getElementsByTagNameNS("types",
>                    doc.getNameSpaceURI()).item(0);
>
> and then deal with the Elements types directly appending schema and
> other schema specific nodes.
>
> Alternatively, the WSDL mechanism seem to suggest an implementation for
> the Extensibility interfaces such as
>
> SimpleTypeExtensibilityElement.java
> SimpleTypeExtensionSerailizer.java
> SimpleTypeExtensionDeserailizer.java
>
> ComplexTypeExtensibilityElement.java
> ComplexTypeExtensionSerailizer.java
> ComplexTypeExtensionDeserailizer.java
>
>  ...
>
> Is this is what the WSDL4J folks intend to do? If so, could any one in
> the "know" please comment on the status of that?
>
> BTW, why are types treated as Extensibility elements? Are they?
>
> Rgds
> Ravi
>
>
>


Mime
View raw message