Hello everybody,

I am changing [wsdl-generic] to get rid of axis.
At this stage the idea is to use wsdl4j + apache xml schema 2.0 without 
touching splitters.

Could anyone provide more information about taverna types?

Q1. If there is no difference between <element> and <type> how to 
distinguish them?
It looks like an element is represented as a ComplexTypeDescriptor with 
one TypeDescriptor in its elements list (?)

Q2. When ArrayTypeDecriptor is used? Is it the "soapEncoding" thing or 
there is a use for doc/lit also

I found that an element "id" is represented as an ArrayTypeDecriptor (?) 
it is not unbound thought.

<part name="parameters" element="ns1:WhichNameSpaceForIDRequest"/>
<xs:element name="WhichNameSpaceForIDRequest" 
type="tns:WhichNameSpaceForIDRequest"/>
<xs:complexType name="WhichNameSpaceForIDRequest" >
<xs:sequence>
<xs:element name="id" type="ns1:NemusObject" form="qualified" 
minOccurs="0"/>
</xs:sequence>
</xs:complexType>

ComplexTypeDescriptor
   name = "paremeters"
   type = "WhichNameSpaceForIDRequest"
   qname = {urn:lsid:inb.bsc.es:request}WhichNameSpaceForIDRequest

  +elements ArrayTypeDecriptor
     name = "id"
     type = "NemusObject"
     optional = true
     unbounded = false
     qname = {urn:lsid:inb.bsc.es:request}WhichNameSpaceForIDRequest>id
     nillable = false
     wrapped = true ????
     elementType ComplexTypeDescriptor

For the simple types/elements there is a BaseTypeDescriptor. I see no 
support for the Unions and Lists. For the simple restriction a first (in 
inheritance tree) XML Schema basic type is set as a type.

<xs:simpleType name="myInt">
<xs:restriction base="xs:integer"/>
</xs:simpleType>

would become:

BaseTypeDescriptor
     name = "myInt"
     type = "xs:integer"

Cheers,

Dmitry



------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
taverna-hackers mailing list
[email protected]
Web site: http://www.taverna.org.uk
Mailing lists: http://www.taverna.org.uk/about/contact-us/
Developers Guide: http://www.taverna.org.uk/developers/

Reply via email to