Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Example calling an external webservice

Reply
Thread Tools

Example calling an external webservice

 
 
Marc
Guest
Posts: n/a
 
      11-14-2008

"Marc" <(E-Mail Removed)> schreef

And then calling the webservice is like this:

protected void Button1_Click(object sender, EventArgs e)
{
com.cdyne.ws.Weather wt = new com.cdyne.ws.Weather();
com.cdyne.ws.ForecastReturn FcR = wt.GetCityForecastByZIP("11202");
Label1.Text = FcR.ResponseText;
Label2.Text = "Tommorow Morning in NYC it's :
"+FcR.ForecastResult[1].Temperatures.MorningLow;
}

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem! webservice.htc calling nonsecure webservice from a secured ssl https webpage batista ASP .Net 1 01-26-2006 12:05 PM
Problem! webservice.htc calling nonsecure webservice from a secured ssl https webpage batista ASP .Net Web Services 0 01-26-2006 08:14 AM
Problem! webservice.htc calling nonsecure webservice from a secured ssl https webpage batista ASP .Net 0 01-26-2006 08:13 AM
Calling a webservice from a webservice bgauvey@gmail.com ASP .Net Web Services 2 04-20-2005 02:02 PM
Webservice calling a webservice.....Error Peter Nordström ASP .Net Web Services 0 10-21-2003 12:02 PM



Advertisments