Topic by sebastian Montero
Hi,
I need invoke Webservice through custom button workspace, but I don't know how can I do. My webservice work with SoapUI but I need to automate this process. I'm search in other discussion and find this code
EndpointAddress epa = new EndpointAddress("https://wsf.cdyne.com/WeatherWS/Weather.asmx");
BasicHttpsBinding bpa = new BasicHttpsBinding();
WeatherSoapClient wsc = new WeatherSoapClient(bpa, epa);
ForecastReturn fr = wsc.GetCityForecastByZIP("xxxx");
MessageBox.Show("City: " + fr.City);
MessageBox.Show(fr.Success.ToString());
I don't know what is the ForecastReturn