Re: [Soaplab-users] Getting Parameters Derived Service
Brought to you by:
marsenger
From: Nandita M. <nan...@ya...> - 2005-07-20 17:40:57
|
hi there, Thanks so much for the input, maybe there is no way to do this but let me just ask in another way. So currently I am using a derived web service say http://industry.ebi.ac.uk/soap/soaplab/edit::seqret::derived. So I get a list of All the set_<name> as well as all get_<name> methods for this derived service by using getInputSpec() as recommended. so i get something like:- set_sequence_direct_data set_osformat set_snucleotide set_sequence_usa .. .. and so on. And now I want to use the following doCall :- String sequence =">PPGLTG\n" + "ACTGCACTCACCGCACCTGGCCAATTTTTGTG.... client.doCall ("set_sequence_direct_data", new Object[] { jobId, sequence}); client.doCall ("set_osformat", new Object[] { jobId, "embl" }); So in the above I have the jobID, set_<name>.And I am fine till here. But is there a way know that set_osformat requires an embl Value and set_sequence_direct_data requires a sequence Value? I wanted to indicate to the user that if he has selected the set_osformat operation, he should input a value for "embl". OR if he has selected set_sequence_direct_data he has to now input a value for "sequence". Thus making it more intuitive for the user , if he has selected a set_<name> operation in a derived web service,I further give him a clue on what value needs to be given as input in the selected set_<name> operation. So for eg. the user wishes to select set_sncuelotide but is confused as to what kind of input value to give the above set operation.Should he give set_snucelotide a sequence ? or something else? I hope the above question makes more sense. I am basically trying to use webservices in Kepler via soaplab and am running into this problem, of being able to provide the user with expected input Values Requirements for the set_<name> operations in a derived service. thank you, nandita. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |