?
Solved

Web Service error The server committed a protocol violation. Section=ResponseStatusLine

Posted on 2010-11-17
5
Medium Priority
?
1,921 Views
Last Modified: 2013-11-05
Hi,

 I have the attached code and I get error message:
      The server committed a protocol violation. Section=ResponseStatusLine .
 when function receiveXML is executed

Hope you can help me

Dim sUri As Uri = New Uri(_URL)

_revaS = New WebReference.Service()
_revaS.Url = _URL
_strReturn = _revaS.receiveXML(_revaP)

Open in new window

0
Comment
Question by:negreteo
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 96

Expert Comment

by:Bob Learned
ID: 34161105
What does "receiveXML" do?  
What type of web service (standard, WCF)?
 
What .NET framework version are you working with?
0
 

Author Comment

by:negreteo
ID: 34163900

In the image you can see what receiveXML is receiving as data and it uses .NET framework 2.0
Untitled.png
0
 
LVL 96

Expert Comment

by:Bob Learned
ID: 34164163
Are you saying that the web service is out of your control?  If that is true, then you need to contact the owners of the web service, and tell them that they have a problem.
0
 

Author Comment

by:negreteo
ID: 34164170

Yes it is out of my control. So you think the error is coming from the web service
0
 
LVL 96

Accepted Solution

by:
Bob Learned earned 2000 total points
ID: 34164185
"The server committed a protocol violation" usually indicates that you either a) submitted an invalid request, b) submitted an unexpected request, or c) there is a server configuration problem.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Well, all of us have seen the multiple EXCEL.EXE's in task manager that won't die even if you call the .close, .dispose methods. Try this method to kill any excels in memory. You can copy the kill function to create a check function and replace the …
It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses
Course of the Month10 days, 22 hours left to enroll

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question