See if this works:
<element name="ExecuteProcess_returnerResponse">
<complexType>
<sequence>
<element name="textResult" minOccurs="1" maxOccurs="1"
type="xsd:integer" />
<element name="outputResult" maxOccurs="1" minOccurs="1"
substitutionGroup="xsd:any" />
</sequence>
</complexType>
</element>
On Wed, Oct 20, 2010 at 14:20, Stian Soiland-Reyes
<[email protected]> wrote:
> On Wed, Oct 20, 2010 at 14:05, Stian Soiland-Reyes
> <[email protected]> wrote:
>> I assume in the workflow above you are not able to add another output
>> XML splitter to the ExecuteProcess_Returner_Process_Output splitter,
>> perhaps Taverna gets confused by xsd:any..
>
> I just tested, and you CAN add a second XML output splitter on the
> "outputResult" port - this should give you <a><b>sadfasdf</b></a>
>
> If you have maxOccurs="unbounded" then the 'any' port out here will be a list.
>
>
> If you include the <any> .. bit inside the response directly - like in
>
> <element name="ExecuteProcess_returnerResponse">
> <complexType>
> <sequence>
> <element name="textResult" minOccurs="1" maxOccurs="1" type="xsd:integer" />
> <any namespace="##any" processContents="skip" minOccurs="1"
> maxOccurs="1"></any>
> </element>
> </sequence>
> </complexType>
> </element>
>
> Then you would get an 'any' port directly on the first splitter - but
> you would then have to send back:
>
> <ExecuteProcessResponse>
> <textResult>asdasd</textResult>
> <a>
> <b>sd</b>
> </a>
> </ExecuteProcessResponse>
>
> and loose the name and element 'outputResult'
>
> --
> Stian Soiland-Reyes, myGrid team
> School of Computer Science
> The University of Manchester
>
--
Stian Soiland-Reyes, myGrid team
School of Computer Science
The University of Manchester
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
taverna-users mailing list
[email protected]
[email protected]
Web site: http://www.taverna.org.uk
Mailing lists: http://www.taverna.org.uk/about/contact-us/