wrong host on example invoke pages



Sorry for the multiple posts. Seems I didn't have my nospam email setup so
MSDN didn't recognize me as a subscriber. Hopefully this will be the last
time I have to repost this.

WebServices on my machine have recently begun experiencing problems when
testing the service through the description pages.

For example:
http://www.testsite.com/services/details.asmx?op=Insert
The various methods begin with the following header information:

POST /services/details.asmx HTTP/1.1
Host: machinename.domain.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/services/details/Insert";

The Host here is wrong and should be the testsite, not the local machine.

Clicking Invoke tries to redirect to this:
http://machinename.domain.com/services/details.asmx/Insert

when it should be redirecting to this:
http://www.testsite.com/services/details.asmx/Insert

Also in the service description for the service the following is wrong:

- <wsdl:service name="details">
- <wsdl:port name="siteSoap" binding="tns:siteSoap">
<soap:address
location="http://machinename.domain.com/services/details.asmx"; />
</wsdl:port>
- <wsdl:port name="siteHttpGet" binding="tns:siteHttpGet">
<http:address
location="http://machinename.domain.com/services/details.asmx"; />
</wsdl:port>
- <wsdl:port name="siteHttpPost" binding="tns:siteHttpPost">
<http:address
location="http://machinename.domain.com/services/details.asmx"; />
</wsdl:port>
</wsdl:service>

These problems started when I installed SP1 on Windows 2003 Server. There
were some problems during the install and I eventually got the server back up
so it may have been related to other surronding issues.

If anyone can shed some light on this for me that would be great! I'm sure
it's something simple and likely just a setting somewhere.

.



Relevant Pages

  • wrong Host on example invoke pages. (MSDN Subscriber - Managed NG
    ... The Host here is wrong and should be the testsite, not the local machine. ... Clicking Invoke tries to redirect to this: ... These problems started when I installed SP1 on Windows 2003 Server. ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • wrong Host on example invoke pages.
    ... The various methods begin with the following header information: ... Clicking Invoke tries to redirect to this: ... These problems started when I installed SP1 on Windows 2003 Server. ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • Re: Newbie with a smallbiz2000 installation, check my config?
    ... > Windows creates a profile path under Documents & Settings. ... > a folder with that name already exists (maybe a local user with the ... > server, open the properties for this folder, and ensure that you have ... > you redirect key folders from a user's profile to a location on your ...
    (microsoft.public.backoffice.smallbiz2000)
  • Re: How to intercept error when httpRuntime maxRequestLength is ex
    ... "Hermit Dave" wrote in message ... > client side javascript and http module which could be helpful.. ... > To redirect the client your server has to send back a response. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Folder Redirection Desktop to multiple servers %HOMESHARE%
    ... Windows server 2003 lets you redirect the desktop to a share (is that what ... BTW if you use DFS without File Replication the data will live only on the ... > which would not work (I dont want to preplicate the traffic and not doing ...
    (microsoft.public.windows.group_policy)

Loading