.NET Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgramming.NET Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today!
  #1  
Old January 9th, 2002, 02:43 AM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,578 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 22
Consuming External Web Services

Originally posted by : Akash Rastogi (zumo@rocketmail.com)Hi All,I have a question about consuming web services that i am hoping someone could help me with. I am trying to invoke an already published web service (for eg, www.learnxmlws.com/services/weatherretriever.asmx). I can write a client for it using windows forms and it works. However, when i try and invoke it using ASP.Net then i get the following error:"The underlying connection was closed: Unable to connect to the remote server. "Source Error: Public Function GetTemperature(ByVal zipCode As String) As SingleLine 36: Dim results() As Object = Me.Invoke("GetTemperature", New Object() {zipCode})Line 37: Return CType(results(0),Single)Line 38: End FunctionAm not sure how good the above source will be displayed here..but the error pointed out is in line 36 (Me.Invoke)I am getting the same error for all the externally hosted web services.(I dont get this error when i try and invoke a web service existing locally on the network but only for external ones..and that too just in ASP.Net and not Windows Forms)Looking forward to your help/suggestions..Please email me ur replies to zumo@rocketmail.comcheersAkashPS: If u'd want i can mail u the source..its just a test example

Reply With Quote
Reply

Viewing: ASP Free ForumsProgramming.NET Development > Consuming External Web Services


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway