TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Baris Turkoglu
NA
14
30.3k
Consume web service behind firewall
Apr 20 2012 3:47 AM
Hello
I've followed the article that describes how to
consume a webservice behind a firewall
but I still get "The remote server returned an error: (407) Proxy Authentication Required" when I'm trying to call a function in my DLL ..
Here is my code:
// Instantiate the WebProxy class
WebProxy myProxy = new WebProxy("http.hiddenproxy.com:80", true);
myProxy.Credentials = new NetworkCredential("username", "password", "domain");
// Instantiate the WebService class
CoCExchange sr = new CoCExchange();
sr.Proxy = myProxy; // Set the proxy to the class
sr.VerifyCoC("1853212"); //Here I get the 407
Can someone please aid me in my eternal searching for an answer?
Best regards
Baris
Reply
Answers (
1
)
Datagridview Row backcolor problem
Consuming webservice