Hello,
I am trying to write a client side SoapExtension to change the target web
service url based on information from UDDI.
Does any one know how to do it? I tried to set the url in the
SoapHttpClientProtocol (SOAPClientMessage.Client), but it did not do
anything.
I know you could change the target url in client proxy class, but change
client proxy code is NOT an option.
Thanks,
Paul 3 1695
Hi,
have you considered make your WebService a gateway? So, instead of
modifying the request from the client, accept it. Call the WS that was
needed based on your UDDI discovery and return the response to the
client?
Hope this helps,
Marvin Smit.
On Fri, 21 Oct 2005 11:35:06 -0700, "Paul"
<Pa**@discussions.microsoft.com> wrote: Hello,
I am trying to write a client side SoapExtension to change the target web service url based on information from UDDI. Does any one know how to do it? I tried to set the url in the SoapHttpClientProtocol (SOAPClientMessage.Client), but it did not do anything. I know you could change the target url in client proxy class, but change client proxy code is NOT an option.
Thanks, Paul
Hello,
One of the requirement I have is to NOT change existing client application
(no source code modification). So the idea way is to implement a
SoapExtension to do the UDDI lookup and then forward the request to the new
target. Unfortunately I could not get it to work.
It seems the communication "socket" between client and service is already
opened when the soap extension gets called. So any changes to the url is
ignored. Is there a work around for this?
Thanks,
Paul
"Marvin Smit" wrote: Hi,
have you considered make your WebService a gateway? So, instead of modifying the request from the client, accept it. Call the WS that was needed based on your UDDI discovery and return the response to the client?
Hope this helps,
Marvin Smit.
On Fri, 21 Oct 2005 11:35:06 -0700, "Paul" <Pa**@discussions.microsoft.com> wrote:
Hello,
I am trying to write a client side SoapExtension to change the target web service url based on information from UDDI. Does any one know how to do it? I tried to set the url in the SoapHttpClientProtocol (SOAPClientMessage.Client), but it did not do anything. I know you could change the target url in client proxy class, but change client proxy code is NOT an option.
Thanks, Paul
Hi,
Ahh, i thought you had control of the server recieving the call on the
original URL. Then you'de could do the "gateway" approach.
Modifying this on the client's stack (without the client noticing)
would be a serious security risc. (Who says you're the last to modify
the target URL?).
I have had no circumstance in which this functionality was required.
Marvin Smit.
On Tue, 25 Oct 2005 08:44:02 -0700, "Paul"
<Pa**@discussions.microsoft.com> wrote: Hello,
One of the requirement I have is to NOT change existing client application (no source code modification). So the idea way is to implement a SoapExtension to do the UDDI lookup and then forward the request to the new target. Unfortunately I could not get it to work.
It seems the communication "socket" between client and service is already opened when the soap extension gets called. So any changes to the url is ignored. Is there a work around for this?
Thanks, Paul
"Marvin Smit" wrote:
Hi,
have you considered make your WebService a gateway? So, instead of modifying the request from the client, accept it. Call the WS that was needed based on your UDDI discovery and return the response to the client?
Hope this helps,
Marvin Smit.
On Fri, 21 Oct 2005 11:35:06 -0700, "Paul" <Pa**@discussions.microsoft.com> wrote:
>Hello, > >I am trying to write a client side SoapExtension to change the target web >service url based on information from UDDI. >Does any one know how to do it? I tried to set the url in the >SoapHttpClientProtocol (SOAPClientMessage.Client), but it did not do >anything. >I know you could change the target url in client proxy class, but change >client proxy code is NOT an option. > >Thanks, >Paul This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: v. Seydewitz |
last post by:
Hello, I want to log the soap requests (and responses) in my C# webservice
consumer. I have extended my class with the SoapExtension, but the debugger
don't step into the overridden methods. The...
|
by: Trevor Pinkney |
last post by:
Hi,
Is it possible to reference a custom SoapExtension instance from within a
WebMethod?
I have a SoapExtension used by several web-services for generic logging.
The SoapExtension logs the...
|
by: Peter Norregaard |
last post by:
Our customers have different names SLA’s / Service Level Agreements but use
the same webservice. How do I handle that some users can be allowed to wait
when the load is high while others can’t?...
|
by: lprisr |
last post by:
Hi,
I have double byte characters in the content that I am returning using Web
Services. However, the encoding in the xml file returned by Web Services is
utf-8 and I am unable to read the...
|
by: Anthony Yott |
last post by:
Folks,
I have a ASMX Web Service (.Net 2.0) and I'm NOT using WSE. I would like to
retrieve the incoming SOAP envelope body (raw XML) inside one of my web
method calls but I'm not sure how to do...
| |
by: AVL |
last post by:
Hi,
I a new bie to web services..
I've requirment wherein I need to build the xml response
I know the method of my web service and I know it's return values....
I need to know the kind of xml...
|
by: thatsMaBoy |
last post by:
Hi,
I have a VB.NET 2003 web service client (EXE) that makes use of a
SOAPExtension class. The client calls a web service that returns a
SOAP message containing MIME encoded files. The...
|
by: Ravikanth |
last post by:
I created a web application in vs2003 which cosumes a web services. I used
SoapExtensions to log the Request sent to server and Response received from
server by adding a SoapExtension attribute to...
|
by: navyliu |
last post by:
Hi everyone.I want to catch message before before it's send to the Web
Service.Just like WSE 3.0 customer UserNameTokenManager does.If I can do
this,I can implement some functions in my...
|
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,...
|
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...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
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...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
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,...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
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...
| |