- October 31, 2006
- 1,972
- 539
- Home Country
-
Germany
- Thread starter
- #361
Re: [New Plugin] WebServices + Transcoded streaming + Web Interface for TvServer and
Just enter http://xxxxxx:8080/TvServiceWebServices.asmx in your browser and you get a list of all available functions.
Click the "service description" link on first line and you get the complete description.
Click on a function and you can test it - also you can examples on how to use the function in different SOAP versions.
I even enabled HTTP-GET requests.
So to start timeshift you can just enter
http://xxxxxx:8080/TvServiceWebServices.asmx/StartTimeShifting?idChannel=12
in your browser and it starts timeshifting for channel with id=12.
You get the result back as an xml file
So think about .NET what you want but coping with webservices is so easy - it's plain fun.
This whole webservice testing page and examples are all automatically generated by ASP.NET without a single line of coding
okay, forget itI'll use..
$client = new SoapClient("http://xxxxxx:8080/TvServiceWebServices.asmx?WSDL");
sprintf(var_dump($client -> __getFunctions()));
...in php, that delivers all methods of the class. Now I'll only missing a list of the attributes for the methods
E.g. for GetChannelsInTvGroup($params) at first I thougt I need only the channel id as param, but there must be an array like
"idGroup"=> 2, "name" => "TVallgemein"
A list of the possible params for the methods would be very helpfull!
Just enter http://xxxxxx:8080/TvServiceWebServices.asmx in your browser and you get a list of all available functions.
Click the "service description" link on first line and you get the complete description.
Click on a function and you can test it - also you can examples on how to use the function in different SOAP versions.
I even enabled HTTP-GET requests.
So to start timeshift you can just enter
http://xxxxxx:8080/TvServiceWebServices.asmx/StartTimeShifting?idChannel=12
in your browser and it starts timeshifting for channel with id=12.
You get the result back as an xml file
So think about .NET what you want but coping with webservices is so easy - it's plain fun.
This whole webservice testing page and examples are all automatically generated by ASP.NET without a single line of coding