HTTP Version Not Supported

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
 
N

Nicole Calinoiu

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
 
M

MA

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top