Solved

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

Posted on 2010-11-17
5
1,848 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
  • 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 500 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

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 …
1.0 - Introduction Converting Visual Basic 6.0 (VB6) to Visual Basic 2008+ (VB.NET). If ever there was a subject full of murkiness and bad decisions, it is this one!   The first problem seems to be that people considering this task of converting…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

896 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now