473,473 Members | 1,750 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Exercise Problem

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
Nov 16 '05 #1
3 1212
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.

"web1110" <we***@comcast.net> wrote in message news:AO********************@comcast.com...
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

Nov 16 '05 #2
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
Nov 16 '05 #3
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.

"web1110" <we***@comcast.net> wrote in message
news:ue**************@TK2MSFTNGP10.phx.gbl...
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

Nov 16 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: S Green | last post by:
I keep getting an error unresolved external symbol initexample when running python setup.py build, .....for a basic example.cpp, c++ extension exercise for python. I did however successfully...
5
by: Charles | last post by:
I am going through the exercises and Bruce Eckel's Thinking in C++ and I ran into an exercise that wasn't included in his solutions that I think I could use some assistance with. Exercise 3-26...
10
by: Simon Mansfield | last post by:
I have been given a list of exercises to do by my tutor, one of which is this: http://www.cems.uwe.ac.uk/~amclymer/Software%20Design%20and%20C++/Exercises/Exercise%208/Exercise.html Which i am...
6
by: leonard greeff | last post by:
I want to know the correct way to answer exercise 1-11 of K&R. The only bug that I can find is that nw counts one to many words. (if there are 8 words, nw will be 9) Am I correct aor is there more...
12
by: Chris Readle | last post by:
Ok, I've just recently finished a beginning C class and now I'm working through K&R2 (alongside the C99 standard) to *really* learn C. So anyway, I'm working on an exercise in chapter one which...
12
by: Merrill & Michele | last post by:
It's very difficult to do an exercise with elementary tools. It took me about fifteen minutes to get exercise 1-7: #include <stdio.h> int main(int orange, char **apple) { int c; c=-5;...
6
by: sathyashrayan | last post by:
Dear group, Following is a exercise from a book called "Oreilly's practical C programming". I just wanted to do a couple of C programming exercise. I do have K and R book, but let me try some...
8
by: Mike S | last post by:
Hi all, I noticed a very slight logic error in the solution to K&R Exercise 1-22 on the the CLC-Wiki, located at http://www.clc-wiki.net/wiki/KR2_Exercise_1-22 The exercise reads as...
5
by: ebrimagillen | last post by:
Hello mates, Just needed a solution on the exercises below. Exercise 2 A classic problem in introductory programming is the grains of rice on a chess board problem. Your program should...
5
by: arnuld | last post by:
this is a programme that counts the "lengths" of each word and then prints that many of stars(*) on the output . it is a modified form of K&R2 exercise 1-13. the programme runs without any...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.