hashmap for inputTypes and detailed outputType

srimalj's picture
Hi I'm have done a mashup to scrape the railway timetable off http://www.railway.gov.lk. Is there a way to give a descriptive enumration as the inputTypes? For example I need to give something like this for the input variable station = Fort: FOT, Kandy: KDT .... So that the Try-IT page will show a combo with (Fort, Kandy ...) for station while passing (FOT,KDT,...) as the input.. Is this possible, if so how? Also I'm returning the timetable as an XML: I give getTimeTable.outputType = "xml"; but my WSDL does not show the details of my returned XML object -- it simply says Is there a way to give my outputType so that the WSDL details the return message type : Ex: ...
keith's picture

The answer to your first

The answer to your first question is that its not possible to do that. Its true that the model suites the combo box well but other than that it will not make any sense. You could write a custom UI for this service that would do this for you though. when u say getTimeTable.outputType = "xml"; the WSDL would simply state that the output is anyXML. It does not have any details to describe your XML in full. If you need to descrobe yiur XML in full you will need to annotate the outputType accordingly. Thanks, Keith.
anncooper28.yahoo.com's picture

Thanks for posting this

Thanks for posting this info. I just want to let you know that I just check out your site and I find it very interesting and informative. Ann blog
pavanseo21.gmail.com's picture

great subject

truly think the objective associated with the following writing has prompted me to start my own website. Thank you for the amazing work. New York Guide
library project main code
Learn Cloud
Learn
Cloud

The WSO2 Application Server is a reliable application server that can host your enterprise web applications. The WSO2 Application Server as a Service is offered in StratosLive, the WSO2 Platform as a Service. This article explains how a simple web application can be developed and deployed from Carbon Studio to the WSO2 Application Server...

Latest Webinar
Different groups within an organization need to monitor different Key Performance Indicators (KPIs) - An operations team will be interested in the response times of business services and loads of each service,..
Thursday, February 9th 2012, 09.00 AM (PST)

Thursday, February 9th 2012, 10.00 AM (GMT)