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
web
NA
6
0
411 Length Required - WebRequest
Dec 27 2006 11:47 AM
Hi, Im trying to make a simple WebRequest to get some data from C# web service, in this case I'm getting a string back. It works perfect when I run the web service locally using the debug mode in VS 2005, but when the service is deployed to a server I get 411 Length required. Any suggestions? Thanks, Here's the content header from the response: {Connection: close Content-Length: 24 Content-Type: text/html Date: Wed, 27 Dec 2006 16:37:02 GMT } Below is my simple request [CODE] WebRequest req = WebRequest.Create("http://fdsvchn02w/Serv/Service.asmx/HelloWorld"); req.Method = "post"; WebResponse resp = req.GetResponse(); [/CODE]
Reply
Answers (
0
)
How to give access rights to .NET webservice i.e. to the WSDL
Error trying to connect to a web service