SOAP Requests, Compact Framework 1.1 and Host headers

G

Guest

Hi,

I'm currenlty developing a webservice, the client is invoking a remote SOAP
method but not on a standard port (ie not 80), unfortunately, the HOST header
of the HTTP request does not make mention of this modified port (which is in
fact not compliant with the HTTP RFC). I've catched both the data emitted
(using netlog, which is by the way a very nice tool) and the data received
(using ethereal) by the webserver and both are not making any mention of
this modified port, only the host is mentioned.

FYI, my setup is : WinCE 4.2 with CF 1.1

So far I've not encountered anyone being bitten by this, but if someone
could confirm this, then I would be glad to fill a bug report.

Sincerely,

Jean-Baptiste LE STANG
 
G

Guest

In case what I'm saying is badly explained here is the piece of code I use to
set the URL in my SOAPCLient class :

public class MySOAPClient:
System.Web.Services.Protocols.SoapHttpClientProtocol {
public MySOAPClient() {
this.Url = "http://xx.yy.zz.ww:10051/" ;
}
}

When the request is sent, the HTTP Host header field shows :

Host:xx.yy.zz.ww

Instead of :

Host:xx.yy.zz.ww:10051

Sincerely,
 

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