You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How invoke Webservice with custom button workspace

Received Response
3
Views
6
Comments
edited Jun 27, 2017 7:57PM in Integrations and APIs 6 comments

Content

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 

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!