More quesions about Web Services

  • Thread starter Thread starter Slim
  • Start date Start date
S

Slim

Do you need to add Web Services to your web site if they are actually on
your web site.
To explain it better, I built some web serves, and on my menu it says add
web references, you then have a choice to add from the current solution,
machine or network.

But I then noticed that they work without adding the reference from the menu
when they are in the same web site. Is there any downside to not adding them
from the menu or am I just making a unnecessary step?

Also is there any extra stapes to make the web services available to the
internet in general?

if not how do you stop people using your web services?
 
Hello Slim,

S> Do you need to add Web Services to your web site if they are actually
S> on
S> your web site.
S> To explain it better, I built some web serves, and on my menu it says
S> add
S> web references, you then have a choice to add from the current
S> solution,
S> machine or network.
S> But I then noticed that they work without adding the reference from
S> the menu when they are in the same web site. Is there any downside to
S> not adding them from the menu or am I just making a unnecessary step?

No downsides, till u deside to put you WS on the other server.

S> Also is there any extra stapes to make the web services available to
S> the internet in general?

To be available u need to publish it, and client need to generate proxy to
make calls to it or use HTTP request

S> if not how do you stop people using your web services?

Not clear for me. What do you mean?

---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
 
Michael Nemtsev said:
Hello Slim,

S> Do you need to add Web Services to your web site if they are actually
S> on
S> your web site.
S> To explain it better, I built some web serves, and on my menu it says
S> add
S> web references, you then have a choice to add from the current
S> solution,
S> machine or network.
S> But I then noticed that they work without adding the reference from
S> the menu when they are in the same web site. Is there any downside to
S> not adding them from the menu or am I just making a unnecessary step?

No downsides, till u deside to put you WS on the other server.

S> Also is there any extra stapes to make the web services available to
S> the internet in general?

To be available u need to publish it, and client need to generate proxy to
make calls to it or use HTTP request

How do I publish them? I want to try calling them from work after Easter?
S> if not how do you stop people using your web services?

Not clear for me. What do you mean?

Well if my web services are on my web site and someone knows the url, can
they access them?

I'm leaning quick, but the more I learn the more question I want to ask
 
Hello Slim,
S> How do I publish them? I want to try calling them from work after
S> Easter?

You only need to put your compiled WS on the machine that can be reach via
internet, in the wwwroot folder and webshare it.
Then, from the outside env, you specify the url in the IE with the name of
your machine and WS to check if it works.
U get the screen where u see the description of your WebMethods' interfaces.

To start using it you specify params of your WS interface in the IE, if only
u have simple methods, or generate proxy with wsdl.exe and start using it
from code.
S> Well if my web services are on my web site and someone knows the url,
S> can they access them?

Yep.

S> I'm leaning quick, but the more I learn the more question I want to
S> ask

I recomend to read several WS books that I point in my blog, they are good
and give u more detailed answers.
http://spaces.msn.com/laflour/blog/cns!7575E2FFC19135B4!366.entry two last
books

---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
 
Michael Nemtsev said:
Hello Slim,

S> How do I publish them? I want to try calling them from work after
S> Easter?

You only need to put your compiled WS on the machine that can be reach via
internet, in the wwwroot folder and webshare it.
Then, from the outside env, you specify the url in the IE with the name of
your machine and WS to check if it works.
U get the screen where u see the description of your WebMethods'
interfaces.

To start using it you specify params of your WS interface in the IE, if
only u have simple methods, or generate proxy with wsdl.exe and start
using it from code.

S> Well if my web services are on my web site and someone knows the url,
S> can they access them?

Yep.

so I can set authentication on the folder holding my web services? so only
users can access them?
 
Back
Top