473,325 Members | 2,785 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,325 software developers and data experts.

Routing message dynamically

Yi
Hi folks,

I need to route a SOAP message depends on a parameter in the request.
The service request looks like:

[WebMethod]
void MyWebServiceRequest(string TargetMachine)

I want to run the service only on the "TargetMachine". My current code
is to route the request manually, by comparing the machine name with
local host name and change the Url attribute of the web service proxy
class and resend it.

I am reading the examples of WS-Addressing in WSE2.0. I was wondering
if there is a way to do it using WSE2 to implement the logic, that
is, the target endpoint is in the message body.

Thanks,

Yi
Nov 21 '05 #1
1 1369
Hi Yi,
I need to route a SOAP message depends on a parameter in the request.
The service request looks like:

[WebMethod]
void MyWebServiceRequest(string TargetMachine)

I want to run the service only on the "TargetMachine". My current code
is to route the request manually, by comparing the machine name with
local host name and change the Url attribute of the web service proxy
class and resend it.

I am reading the examples of WS-Addressing in WSE2.0. I was wondering
if there is a way to do it using WSE2 to implement the logic, that
is, the target endpoint is in the message body.


There's a sample called "ContentBasedRouting" in the WSE 2.0 samples
directory, that shows how to customize the default WSE routing handler to do
things like this. It might be useful...

--
Tomas Restrepo
to****@mvps.org
Nov 21 '05 #2

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

Similar topics

3
by: Shiv Agarwal | last post by:
Hi, I am writing a .NET application in C#. I have to display the routing table in some formatted NMS way. Anyhow the issue is that, whenever the routing table changes I want to get an event....
0
by: Wilfried Hoermann | last post by:
I'm trying to use WS-Routing to a Web Service which is protected by https and requiring Client Certificates Without Client Certificates it seems to work but with Client Certificates I get an 403...
1
by: Tom Weston | last post by:
Help I have created a report in access and wish to use a routing slip to email it to my line management, how can I do that? I have searched the web but not found a way to add a routing slip,...
1
by: juvi | last post by:
Hi, I have got a problem. I want to design something like a navigation/routing software for a building (like: I am in room A and I want to room E --> route!) How would you do it or is there a...
2
by: ricky | last post by:
Hi, I am student and I am doing a final year project on Zig-bee. I have to write low energy routing algorithms. I need to write routing algorithm for LEACH. If anybody can help with some links...
0
by: devidevi | last post by:
hello sir, i'm doing a project in Mobile Adhoc network in ns2 simulator i have to perform routing with AODV.. my problem is i have to disable certain nodes ( in a 20 node topology) from...
0
by: vince | last post by:
Until December, 31st, 2008 companies may obtain a free Developer License of the JOpt.NET Vehicle Routing Library The Vehicle Routing Initiative aims on software vendors that plan to incorporate...
0
by: vince | last post by:
Until December, 31st, 2008 companies may obtain a free Developer License of the JOpt.SDK Vehicle Routing Library The Vehicle Routing Initiative aims on software vendors that plan to incorporate...
0
by: shekharban | last post by:
Hi, Below is the raw socket program for sending routing header in ipv6 domain. My source address is fe80::21d:9ff:fe17:58c7 and destination address is fe80::21d:9ff:fe17:5d0e in the below...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.