Solved

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

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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

Introduction As chip makers focus on adding processor cores over increasing clock speed, developers need to utilize the features of modern CPUs.  One of the ways we can do this is by implementing parallel algorithms in our software.   One recent…
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…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

696 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