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

------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-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/

Reply via email to