ColinGregory
Technical User
Hello
Just teaching myself webservices . . .
Can somebody please help me out and answer the following. I'm trying to access a free webservice which publishes movie times for your area. I've created the proxy ok in VWD Express 2008. The following code appears in my reference.cs file.
What I don't understand is what is the object/variable/data type that is being returned and how do I get at the result of the function?
Heres my creation of the proxy class (where movieTimes is the name of my web reference)
Many thanks for your time
Just teaching myself webservices . . .
Can somebody please help me out and answer the following. I'm trying to access a free webservice which publishes movie times for your area. I've created the proxy ok in VWD Express 2008. The following code appears in my reference.cs file.
What I don't understand is what is the object/variable/data type that is being returned and how do I get at the result of the function?
Code:
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("[URL unfurl="true"]http://www.ignyte.com/whatsshowing/GetUpcomingMovies",[/URL] RequestNamespace="[URL unfurl="true"]http://www.ignyte.com/whatsshowing",[/URL] ResponseNamespace="[URL unfurl="true"]http://www.ignyte.com/whatsshowing",[/URL] Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public UpcomingMovie[] GetUpcomingMovies(int month, int year) {
object[] results = this.Invoke("GetUpcomingMovies", new object[] {
month,
year});
return ((UpcomingMovie[])(results[0]));
}
Heres my creation of the proxy class (where movieTimes is the name of my web reference)
Code:
movieTimes.MovieInformation mtProxy = new movieTimes.MovieInformation();
Many thanks for your time