Quantcast
Channel: Discussion Forum > Connect Data Services
Viewing all articles
Browse latest Browse all 2504

How invoke Webservice with custom button workspace (5 Comments)

$
0
0

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 


Viewing all articles
Browse latest Browse all 2504

Trending Articles