Hi,
I'm having problems with xml splitter using a Soaplab wsdl. The wsdl is at
http://gilmere.upf.edu:9910/soaplab2/typed/services/panacea.get_p?wsdl.
We have been testing with Soaplab 2.2 and 2.3. In the first case, the
runAndWaitFor message is described as follows:
<message name="runAndWaitForResponse">
<xs:element name="runAndWaitForResponse" type="tns:appResults"/>
whereas in the 2.3 version the same message is described as:
<message name="runAndWaitForResponse">
<xs:element name="runAndWaitForResponse" type="tns:RunAndWaitForResponse"/>
As tou can see, this runAndWaitForResponse type is just a wrapper for the
former appResults:
<xs:complexType name="RunAndWaitForResponse">
<xs:complexContent>
<xs:extension base="tns:appResults"/>
</xs:complexContent>
</xs:complexType>
The thing is that when this wsdl, the xml splitter in Taverna does not work
as the splitter processor has no
en totes les versions de Taverna:
- soaplab2: el "run and wait for" té output (parameters) però quan fas un
xmlsplit aquest té input però no otputs
- soaplab22: el "run and wait for" té output (runAndWaitForResponse) i quan
fas un xmlsplit tot va ok (genera input i outputs)
la diferència entre el el soaplab2 i el 22 pel que fa al response és que
<xs:element name="runAndWaitForResponse" type="tns:appResults"/> v 22
<xs:element name="runAndWaitForResponse" type="tns:RunAndWaitForResponse"/>
v 2
és a dir sempre que tenim una restriction del tipus:
<xs:complexType name="RunAndWaitForResponse">
<xs:complexContent>
<xs:extension base="tns:appResults"/>
</xs:complexContent>
</xs:complexType>
la cosa no funciona.
Als nostres web services tenim extensions :
<complexType name="TokenizerResponseType">
<complexContent>
<extension base="ns:ResponseType">
* <sequence>
<element name="TokenizedText" type="ns:TextType"/>
</sequence>*
</extension>
</complexContent>
</complexType>
la diferència és que en el nostre cas afegin coses quan fem un extension i
al soaplab no (???)
--
Marta Villegas
[email protected]
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
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/