Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / February 2005

Tip: Looking for answers? Try searching our database.

Overriding a web service

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
sun_hcl@rediffmail.com - 09 Feb 2005 15:14 GMT
I am using windows RMS software which is based on .NET Web Service.
Well it provides lot of functionality exposed in form of Web SERVICES.

I want to know whether i can override the web service. The source code
of the web service is not available i am not aware of the methods
provided by Web Service.

So the basic Query is

1. How to know the methods exposed by some web service.
2. How to trap some particular method do some additional functionality
and then call the original web service.

Regards,
Sunil Virmani
Martin Kulov - 09 Feb 2005 17:25 GMT
Hi Sunil,
You can look at the wsdl file of the web service. Usually it can be
retrieved by appending ?wsdl parameter to the URL of your .asmx file. For
example http://localhost/webservice.asmx?wsdl. Then you can use wsdl.exe
tool to create proxy class that calls the specified service. All you need to
override the existing web service is to change the URL to the existing web
service with a new URL to a new one. The new web service should implement
the same methods and after your code gets called you can pass the control to
the old web service.

Regards,

Signature

Martin Kulov
http://www.codeattest.com

MCAD Charter Member
MCSD.NET Early Achiever
MCSD

> I am using windows RMS software which is based on .NET Web Service.
> Well it provides lot of functionality exposed in form of Web SERVICES.
[quoted text clipped - 11 lines]
> Regards,
> Sunil Virmani

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.