Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Services > calling a web service on a standalone with no localhost running...

Reply
Thread Tools

calling a web service on a standalone with no localhost running...

 
 
Eych
Guest
Posts: n/a
 
      11-20-2003
is it possible to include a web service dll with your application and
call its' methods without having an internet or localhost connection?
I realize the whole point of web services is the connect thru a server
(remotely or locally), but say you've created a big web service dll
and would like to include it in an application that would run on a
customer pc with no IIS running? is it possible with or without
work-arounds?

thanks...
 
Reply With Quote
 
 
 
 
Saurabh Nandu
Guest
Posts: n/a
 
      11-21-2003
If the code is going to execute on the client's local machine and you don't
need Web Service layer, then why use it in the first place.

Coming back to your question, you can definately directly reference the Dll
in your application as a normal class and invoke objects on it. Just
remember that this will become a normal class invocation and not a Web
Service invocation.


Regards,
Saurabh Nandu


 
Reply With Quote
 
 
 
 
Eych
Guest
Posts: n/a
 
      11-21-2003
thanks Saurabh,

the reason is to create one piece of code that can be used as a
service for those that have an internet connection and as a dll for
when there is no connection...yes, the dll won't be maintained and
update easily as a web service, but it's better than nothing for those
that can't get online...anytime the web service is updated, we can
send them a patch cd...

question,

about the dll that you said I can reference, is that the dll that is
automatically created once I build my project (in the bin folder)? I
tried adding that as a regular reference, but I don't get any of my
methods that I've created in the .asmx file? Is there a way to build
the .asmx file into a usable dll?

thanks again...

"Saurabh Nandu" <(E-Mail Removed)> wrote in message news:<et4$7J$(E-Mail Removed)>...
> If the code is going to execute on the client's local machine and you don't
> need Web Service layer, then why use it in the first place.
>
> Coming back to your question, you can definately directly reference the Dll
> in your application as a normal class and invoke objects on it. Just
> remember that this will become a normal class invocation and not a Web
> Service invocation.
>
>
> Regards,
> Saurabh Nandu

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
change from "//localhost:numbers/" to just "//localhost/"? =?Utf-8?B?S2VuTGVl?= ASP .Net 5 02-12-2006 05:14 AM
InvocationTargetException when calling "new Service()" in Axis web service to call another web service Michael Averstegge Java 0 01-10-2006 11:05 PM
Can I Reset the Root from localhost/myproject/ to localhost/ Alex ASP .Net 4 02-08-2005 01:45 PM
web service on a standalone (with no localhost) Eych ASP .Net 3 11-21-2003 02:58 PM
HttpModule -- how to intercept urls like http://localhost/abc/def or http://localhost/abc/def/ where abc, def are non virtual dir Jiong Feng ASP .Net 0 11-19-2003 05:29 AM



Advertisments