Hello,
I have a problem to post it on Jira - no Taverna project in a project combo.
The problem is in a way the splitter decides whether there are any
elements to split:
AbstractAddXMLSplitterAction.filterDescriptors()
The decisionis taken based on element "mime" (?) type.
In the example wsdl there is a case
<xs:element name="string_array" type="xs:string" form="qualified"
minOccurs="0" maxOccurs="unbounded"/>
The type recognized by Taverna is String[] with a mime type being
"text/plain".
The problem is that Taverna sees it as a single property.
I am not sure how Taverna it is supposed to act.
It may not filter these "unbounded" elements, or edit multiple values in
property editor.
The problem exists in Tav 2.4 and 3.0.
Cheers,
Dmitry
<definitions name="WhichNameSpaceForID"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:tns="http://example.com"
xmlns:ns1="http://example.com"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://example.com">
<types>
<xs:schema
version="1.0"
xmlns:tns="http://example.com"
targetNamespace="http://example.com">
<xs:element name="request" type="tns:ComplexTypeRequest"/>
<xs:element name="response" type="xs:string"/>
<xs:complexType name="ComplexTypeRequest">
<xs:sequence>
<xs:element name="single_string" type="xs:string" form="qualified" minOccurs="0"/>
<xs:element name="string_array" type="xs:string" form="qualified" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="wrapper" type="tns:wrapper" form="qualified" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="complex" type="tns:complex" form="qualified" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="wrapper">
<xs:simpleContent>
<xs:extension base="xs:string"/>
</xs:simpleContent>
</xs:complexType>
<xs:complexType name="complex">
<xs:sequence>
<xs:element name="element" type="xs:string" minOccurs="0" maxOccurs="unbounded" />
</xs:sequence>
</xs:complexType>
</xs:schema>
</types>
<message name="request">
<part name="input" element="ns1:request" />
</message>
<message name="response">
<part name="output" element="ns1:response" />
</message>
<portType name="port">
<operation name="doCall">
<input message="tns:request" />
<output message="tns:response" />
</operation>
</portType>
<binding name="binding" type="tns:port">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
<operation name="doCall">
<input>
<soap:body use="literal" />
</input>
<output>
<soap:body use="literal" />
</output>
</operation>
</binding>
<service name="service">
<port name="port" binding="tns:binding">
<soap:address location="http://example.com/service" />
</port>
</service>
</definitions>
------------------------------------------------------------------------------
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience. Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
_______________________________________________
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/