Exercise Problem

  • Thread starter Thread starter web1110
  • Start date Start date
W

web1110

I've been away from C# for awhile (doing Unix C/Informix).

Using "C# Programming, 2nd Edition, I generated the exercise under
"Programming WEB Services, 16.1 SOAP, WSDL and Discovery" for a program
named WSCalc. It works fine on my machine if I bring up Internet Explorer
and enter the URL:

http://localhost/WSCalc/Service1.asmx

which brings up the following screen:

=================================================
The following operations are supported. For a formal definition, please
review the Service Description.

a.. Mult

b.. Sub

c.. Pow

d.. Div

e.. Add


=================================================
I works fine.

When I tried to access this from my wifes' machine over my local network, I
couldn't find it. The name of my machine is "Bill". Can one of you folks
tell me what I am doing wrong.

Thanx,
Bill
 
Hi Bill,

"cannot find it" mean the machine or the actual web service...

try this..

1. put some html into the wwwroot and try to access them from the other machine..
if (success)
2. Try to put some aspx and access it from the other machine
if (success)
3. Try your web service and access it from the other machine
if (failed)
4. Write hello world webserivice and try to access it from the other machine
if (failed)
5. Repost your query
else
return Error in Network/ Web ServerConfig
else
return Error in Network;

Nirosh.
 
Sorry I was unclear. All the machines on the network can see each other. I
am not clear on the syntax I should use to access the service across the
network.

On my machine (the local machine), http://localhost/WSCalc/Service1.asmx
loads the service into IE.

From my wifes' machine, http://bill/WSCalc/Service1.asmx cannot be located
through IE. My machine name is Bill and I thought this is what I needed.

OK, maybe this is what I don't know. How do I specify a URL to access a
page on another machine on a local network, not across the internet?

Thanx,
Bill
 
Hi Bill,

Your question seems not directly related to this newsgroup.
This is some what a network related issue..
I guess the link you trying should work... note that ur network path is
correct.. what is the actaul error you get..

Did you try to access any other file (which is in your wwwroot folder) like
a html, from another machine..?

Open a IE in your (biil) machine and type this
"http://bill/WSCalc/Service1.asmx" as the address,, see what u get? If you
don't see the service I guess your machine is not properly configured
(network).

Nirosh.
 
Back
Top