Hi everyone,

Hopefully I am sending this question to the appropriate mailinglist..

I am working on a webservice that can retrieve data from our database.
There are 7 input parameters and 1 ouput.
The problem that I am having is with optional parameters. In my wsdl
file, the parameterOrder is the following:
parameterOrder="datatype species genenames dataset sgi_corr_cutoff
sgi_inter_cutoff ppi_conf_cutoff" The first 3 are mandatory and the last
4 are optional. If for example I decide to use the last optional
parameter, the first three optional input parameters should be marked as
empty and my value should be linked to the last field. In stead, the
value gets associated with the first optional input field. This happens because
the information gets send as an array and the values are just shifted.
I would like to give a default value to each of the input parameters in the
wsdl file or to find a solution that the other parameters are just
marked as "empty" in stead of "non existing". When I use a perl client,
I can just use a hash to send my parameters, but this is not something
you can use when you want to use a wsdl and a client like Taverna.
I've attached the wsdl file.

Does somebody know of a solution, or can point me to example wsdl files that
are working with Taverna 2 and have optional parameters?

with regards,

Linda Bakker
Scientific programmer
Holstege group
UMC Utrecht

------------------------------------------------------------------------------

De informatie opgenomen in dit bericht kan vertrouwelijk zijn en is
uitsluitend bestemd voor de geadresseerde. Indien u dit bericht onterecht
ontvangt, wordt u verzocht de inhoud niet te gebruiken en de afzender direct
te informeren door het bericht te retourneren. Het Universitair Medisch
Centrum Utrecht is een publiekrechtelijke rechtspersoon in de zin van de W.H.W.
(Wet Hoger Onderwijs en Wetenschappelijk Onderzoek) en staat geregistreerd bij
de Kamer van Koophandel voor Midden-Nederland onder nr. 30244197.

Denk s.v.p aan het milieu voor u deze e-mail afdrukt.

------------------------------------------------------------------------------

This message may contain confidential information and is intended exclusively
for the addressee. If you receive this message unintentionally, please do not
use the contents but notify the sender immediately by return e-mail. University
Medical Center Utrecht is a legal person by public law and is registered at
the Chamber of Commerce for Midden-Nederland under no. 30244197.

Please consider the environment before printing this e-mail.
<?xml version="1.0" encoding="UTF-8"?>
<!-- WSDL for http://bioinformatics.holstegelab.nl/cgi-bin/retrieve_integromics_data.cgi created by Pod::WSDL version: 0.05 on Mon Nov 30 10:21:11 2009 -->
<wsdl:definitions targetNamespace="http://bioinformatics.holstegelab.nl/retrieve_integromics_data";
	 xmlns:impl="http://bioinformatics.holstegelab.nl/retrieve_integromics_data";
	 xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/";
	 xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; 
	 xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/";
	 xmlns:xsd="http://www.w3.org/2001/XMLSchema";
	 xmlns:tns1="http://bioinformatics.holstegelab.nl/retrieve_integromics_data";>

	<wsdl:message name="select_integromics_datatypeRequest">
		<wsdl:part name="datatype" type="xsd:string">
			<wsdl:documentation>required</wsdl:documentation>
		</wsdl:part>
		<wsdl:part name="species" type="xsd:string">
			<wsdl:documentation>required</wsdl:documentation>
		</wsdl:part>
		<wsdl:part name="genenames" type="xsd:string">
			<wsdl:documentation>required</wsdl:documentation>
		</wsdl:part>
		<wsdl:part name="dataset" type="xsd:string">
			<wsdl:documentation>optional</wsdl:documentation>
		</wsdl:part>
		<wsdl:part name="sgi_corr_cutoff" type="xsd:string">
			<wsdl:documentation>optional</wsdl:documentation>
		</wsdl:part>
		<wsdl:part name="sgi_inter_cutoff" type="xsd:string">
			<wsdl:documentation>optional</wsdl:documentation>
		</wsdl:part>
		<wsdl:part name="ppi_conf_cutoff" type="xsd:string">
			<wsdl:documentation>optional</wsdl:documentation>
		</wsdl:part>
	</wsdl:message>

	<wsdl:message name="select_integromics_datatypeResponse">
		<wsdl:part name="select_integromics_datatypeReturn" type="xsd:string">
		</wsdl:part>
	</wsdl:message>

	<wsdl:portType name="retrieve_integromics_dataHandler">
		<wsdl:operation name="select_integromics_datatype" parameterOrder="datatype species genenames dataset sgi_corr_cutoff sgi_inter_cutoff ppi_conf_cutoff">
			<wsdl:documentation>This service retrieves integromics data for different types of datasets.</wsdl:documentation>
			<wsdl:input message="impl:select_integromics_datatypeRequest" name="select_integromics_datatypeRequest" />
			<wsdl:output message="impl:select_integromics_datatypeResponse" name="select_integromics_datatypeResponse" />
		</wsdl:operation>

	</wsdl:portType>

	<wsdl:binding name="retrieve_integromics_dataSoapBinding" type="impl:retrieve_integromics_dataHandler">
		<wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"; />

		<wsdl:operation name="select_integromics_datatype">
			<wsdlsoap:operation soapAction="" />
			<wsdl:input name="select_integromics_datatypeRequest">
				<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; namespace="http://bioinformatics.holstegelab.nl/retrieve_integromics_data"; use="encoded" />
			</wsdl:input>
			<wsdl:output name="select_integromics_datatypeResponse">
				<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; namespace="http://bioinformatics.holstegelab.nl/retrieve_integromics_data"; use="encoded" />
			</wsdl:output>
		</wsdl:operation>

	</wsdl:binding>

	<wsdl:service name="retrieve_integromics_dataHandlerService">
		<wsdl:port binding="impl:retrieve_integromics_dataSoapBinding" name="retrieve_integromics_data">
			<wsdlsoap:address location="http://bioinformatics.holstegelab.nl/cgi-bin/retrieve_integromics_data.cgi"; />
		</wsdl:port>
	</wsdl:service>

</wsdl:definitions>
------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
taverna-users mailing list
[email protected]
[email protected]
Web site: http://www.taverna.org.uk
Mailing lists: http://www.taverna.org.uk/taverna-mailing-lists/

Reply via email to