WebService and HTTP 404 Object Not Found

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I realized a simple web server that supplies the VS demo HelloWorld webmethod.
On the same PC I realized its consumer.
IIS version is 5.1. The web server project use .NET 1.0.
When the consumer invoke the webmethod, the Invoke() function failes with
the message
"HTTP 404: Object Not Found".

Public Function HelloWorld() As String
Dim results() As Object = Me.Invoke("HelloWorld", New Object(-1) {})
Return CType(results(0), String)
End Function

If I invoke the HelloWorld webmethod from, IE it works correctly

http://my_machine/WebService/Service.asmx/HelloWorld

Can someone help me, please?

Thanks & Ciao.
Nicola
 
Hi.
I add a particular in front to my preavious post.
I installed the web server on a Win2000 machine and the consumer works. IIS
version is 5.0.
In the other case the machine install a Win XP SP2.
Is the operative system the problem?

Ciao. Nicola
 
Back
Top