The server committed a protocol violation. Section=ResponseStatusLine (SOAP)

Hi All,

I'm consuming an external SOAP-service.

I'm running into this error: "The server committed a protocol violation. Section=ResponseStatusLine".

With SoapUI I don't have this problem, it runs just fine with the same url and parameters.

Of course I was googling around and found two things I want to try:
1.   <httpWebRequest useUnsafeHeaderParsing="true" />

2. KeepAlive=false

However, I don't know where to put these lines. I'm already using SoapHeader and SoapHeaderList to add an authentication token.

How can I add the above lines?

Somebody has another clue?

Thanks in advance!

Peter Nijhuis.

Hi Peter,

you are currently adding one header already. Please check how this is done, because you can add multiple headers. Look here for more info:

kind regards,

Remco Dekkinga



The problem was that the url of the soap service started with "https", but in the wsdl "http" was specified. OutSystems takes this as the truth. Luckily you can override this decision:

1. Environment Management => Factory => Applications => <YourApplication>

2. Choose the Module

3. Click the Integrations tab

4. Choose the Webservice

5. Put the right value in Effective URL

6. Publish your application