Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / February 2005

Tip: Looking for answers? Try searching our database.

Strange behavior webservices

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Alexander Inochkin - 24 Feb 2005 13:27 GMT
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.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.