Home > Archive > Microsoft Webservices > March 2005 > HTTP Version Not Supported
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
HTTP Version Not Supported
|
|
|
| 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
| |
| Brant Estes 2005-03-25, 4:00 am |
| The only thing I could think of, is perhaps the web service you are
consuming only supports HTTP/1.0. By default, Microsoft XML
WebServices uses HTTP/1.1. I would contact the company you're
consuming the web service from, and perhaps open up a trouble ticket.
Alternatively, you could bypass Microsoft's web service wrapping tools,
and roll your own, where you could specify the HTTP version by hand.
But before going through all that, I would test to make sure that this
is in fact the issue. Just bring up a telnet window, try to connect to
the web service in question, on the specified port, and enter an HTTP
request manually, both with 1.0 and 1.1 specifications.
Brant Estes
| |
|
| Ok!
I´ll try that.
I have just been aware of that the service I´m trying to connect to, is an
RPC service. I suppose this could have something to do with it :)
Do you have any idea about how I should call this RPC service? Do I really
have to change something for this?
/Marre
"Brant Estes" <brante@magenic.com> wrote in message
news:1111731143.316068.130200@f14g2000cwb.googlegroups.com...
> The only thing I could think of, is perhaps the web service you are
> consuming only supports HTTP/1.0. By default, Microsoft XML
> WebServices uses HTTP/1.1. I would contact the company you're
> consuming the web service from, and perhaps open up a trouble ticket.
>
> Alternatively, you could bypass Microsoft's web service wrapping tools,
> and roll your own, where you could specify the HTTP version by hand.
>
> But before going through all that, I would test to make sure that this
> is in fact the issue. Just bring up a telnet window, try to connect to
> the web service in question, on the specified port, and enter an HTTP
> request manually, both with 1.0 and 1.1 specifications.
>
> Brant Estes
>
|
|
|
|
|