473,586 Members | 2,817 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Overriding a web service

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

Nov 23 '05 #1
1 4264
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,

--
Martin Kulov
http://www.codeattest.com

MCAD Charter Member
MCSD.NET Early Achiever
MCSD


<su*****@rediff mail.com> wrote in message
news:11******** **************@ o13g2000cwo.goo glegroups.com.. .
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


Nov 23 '05 #2

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

Similar topics

3
19702
by: Steve Lutz | last post by:
Hi All, I have a Windows Service that runs well. The service hosts a remote object. The purpose of the object is so that I can "peak" into the service to see what it's doing. I wrote a small Windows Application that connects to the remote object and prints out status information. Everything works fine when I first start the service....
10
8191
by: Clint | last post by:
Hey all - I'm having a really confusing problem concerning a web service. Right now, I have an application that needs to call a web service that does nothing but return "true" (this will obviously change once the program's fully built to actually do something, but for testing, it works). The only code I added to the service is below:
5
2654
by: Julia | last post by:
Hi, I am writing a window service and I wonder should I use my own event log or should I use one of the predefined event logs? Thanks in advance
2
1153
by: john sparrow | last post by:
Hi There! I have an ATL Server Webservice created with the VS Wizard. In that service I wish to Initialize an ISAPI service (through a call to the m_spServiceProvider member) for that handler. I figure the place to do it is in an override of the InitializeHandler () member function but according to the documentation a lot of initalization...
0
4837
by: Anonieko Ramos | last post by:
Self Installing Service Enter a topic name to show or a new topic name to create; then press Enter .. Start by writing a service. This involves deriving a class from System.ServiceProcess.ServiceBase and overriding a few methods. It's detailed in the documentation. Once you have your service written, you'll need to add an installer
4
5296
by: drb | last post by:
Hi, I'm hoping this is a stupid question, so I apologize in advance. After creating WSDL files from scratch for a new web service, I used the WSDL.exe tool to generate C# stubs for both the web service server methods and the client proxy methods. The tool created the server methods as abstract member methods of an abstract class that...
2
14248
by: TheBurgerMan | last post by:
Hi all. I am using W2K3, .NET2 on a machine running AD and Exchange. I started getting the message below last week. I googled the error and not much was returned, but I did find this; http://forums.asp.net/918725/ShowPost.aspx I tried both items in the forum and it works for a few hits then it happens again! Anyone have the same...
5
12491
by: Nate | last post by:
We are attempting to make a request to a web service (we will refer to it as XXXServices) hosted on a Web Logic server from a C# SOAP client. The server responds with a 401 Unauthorized error (that appears in plain text), and causes the client to crash. This C# code has been deployed both as an ASP.NET application and a WinForms app, each of...
1
5548
by: chitra g | last post by:
Hi, I tried all the options below but did not work. Your suggestions please.
0
7839
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8200
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7954
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
6610
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5710
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3836
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3864
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1448
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1179
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.