WebService and HTTP 404 Object Not Found

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
 
G

Guest

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
 

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