Hi!
I found same strange behavior of ASP.NET. It is possible this is the bug.
Follow the steps:
I create the simple service, http://localhost/Test/service.asmx
When I go to this link in IE SP.NET shows me page what contains ?Invoke?
button on it. I can test this service. OK. Late I move this service to
remote server. I can execute this service calling
http://remote_server/Test/service.asmx. This time I do not found ?Invoke?
button and can?t test service from IE. OK. But when I change header tag
?Host? in http request from remote_server to localhost (I can do it
connecting to the SOAP Trace Utility on local machine, for example) I can
see ?Invoke? button again and can test (invoke) method _on_ _the_ _remote_
server.
This behavior seems me very strange. I tested it on ASP.NET v 1.1.
Can you give me some explanation on it.
Sincerely yours,
Alexander Inochkin.
Trevor Pinkney - 24 Feb 2005 15:01 GMT
It's a web.config setting
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cp
conconfigurationoptionsforaspnetwebservices.asp
If you do add this to your web.config it should solve your problem:
<webServices>
<protocols>
<add name="HttpPost" />
</protocols>
</webServices>
-Trevor
> Hi!
>
[quoted text clipped - 22 lines]
>
> Alexander Inochkin.