• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1972
  • Last Modified:

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

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
negreteo
Asked:
negreteo
  • 3
  • 2
1 Solution
 
Bob LearnedCommented:
What does "receiveXML" do?  
What type of web service (standard, WCF)?
 
What .NET framework version are you working with?
0
 
negreteoAuthor Commented:

In the image you can see what receiveXML is receiving as data and it uses .NET framework 2.0
Untitled.png
0
 
Bob LearnedCommented:
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
 
negreteoAuthor Commented:

Yes it is out of my control. So you think the error is coming from the web service
0
 
Bob LearnedCommented:
"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

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now