HTTP Version Not Supported

  • Thread starter Thread starter MA
  • Start date Start date
M

MA

Hi all!

Im new to webservices, so please have patience :)

I´m calling a webservice from another company. It´s a simple call looking
like this:

String retval = wsFunction.getXML(myString);

This does not work. I´ve got a error message looking like this:

The request failed with HTTP status 505: HTTP Version Not Supported.

I have no idea about this. Any suggestions?

/Marre
 
There is more than one version of the HTTP protocol. The 505 response code
is used by a web server to indicate to a client (in this case, your
application) that it's using an HTTP version that the server does not
support. Before changing your code to match the expected HTTP version, you
might want to contact the company that's publishing the web service to
verify whether their server-side limitation of the HTTP protocol version is
intentional or not. If not, any changes will likely need to be made on
their end rather than yours.

HTH,
Nicole
 
Ok.

Thanx for youre answer!

/Marre

Nicole Calinoiu said:
There is more than one version of the HTTP protocol. The 505 response
code is used by a web server to indicate to a client (in this case, your
application) that it's using an HTTP version that the server does not
support. Before changing your code to match the expected HTTP version,
you might want to contact the company that's publishing the web service to
verify whether their server-side limitation of the HTTP protocol version
is intentional or not. If not, any changes will likely need to be made on
their end rather than yours.

HTH,
Nicole
 
Back
Top