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

Home Posts Topics Members FAQ

Easy on web services

hi
i want to consume a web service
with the following restrictions
- the web service is dinamically allocated (changing server and
operation name).
- i only receive from web service "posters" addresses like
<<http://server/service1.asmx?op=methods>>
is is possible to
a) change the url of the web service
b) change the name of the method
is supposed that all web services are the same, they tend to expect to
receive the same
the only thing changing is the server and method used

heeeeeeelp !

Dec 2 '05 #1
1 888
DC
examine a static, generated, client-side webservice proxy class.
you will see in the stub methods, calls to this.Invoke("blah blah",...);

What you can do is, starting from that generated code, create a more generic
call-out method that allows you to specify the name of the method, and so
on. (first param of the this.Invoke(...)).
Also you will see in the constructor of that proxy, the Url is set. You can
reset this at any time to redirect the outgoing message.

Try it and see.

-D

<re**********@gmail.com> wrote in message
news:11**********************@o13g2000cwo.googlegr oups.com...
hi
i want to consume a web service
with the following restrictions
- the web service is dinamically allocated (changing server and
operation name).
- i only receive from web service "posters" addresses like
<<http://server/service1.asmx?op=methods>>
is is possible to
a) change the url of the web service
b) change the name of the method
is supposed that all web services are the same, they tend to expect to
receive the same
the only thing changing is the server and method used

heeeeeeelp !

Dec 2 '05 #2

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

Similar topics

4
by: Lasse Edsvik | last post by:
Hello can someone tell me why i get "One or more files do not contain components or type libraries. These files cannot be installed" when i try to register it in Components Services? ...
6
by: Dan V. | last post by:
Is there a way to query a remote xml file periodically by not using web services? For Windows and Unix platforms. Is there a cheap software product that I can install on each client and my Windows...
1
by: Jason Shohet | last post by:
1. if i'm returning a ds from a ws, can J2EE clients that use web services use a service that returns back a ds, practically? If not, whats the customary solution, so that whatever they get back,...
2
by: UJ | last post by:
I am writing an automatic download process that will update software on a computer. We've got services that run all of the time and a couple of programs that run all of the time. How can I tell if...
8
by: John | last post by:
Is there any special code I have to write to log event to Security Event Log? The following code give me "Very Easy Question, How to write log to SECURTY Event Log? Please help" Error // Create...
9
by: thetechturf.com | last post by:
I have got a small problem getting my dropdown menu to work. I want to change the style with javascript. Here is the code in my HTML: <div id="navigation"> <ul> <li id="lnot"><a...
14
by: Naraendirakumar R.R. | last post by:
I have a client in the healthcare industry who would prefer to store the connection string in a centralized location in their Active Directory repository. Has anybody done this? What has your...
2
by: jalanb3 | last post by:
Evening all, And thank you for your valuable reading skills. The following pattern turned up in coding tonight. It works, but I'm suspicious, it just seems too easy. So any comments or...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
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...
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?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.