Re: Ws-Addressing - WSE and vanilla Web Service Proxies
- From: "Softwaremaker" <msdn@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 13 Jul 2006 03:32:50 +0800
Hi Steven,
My article was written to model a real-world system I was involved in :) We
didnt have controls over (all) the desktops, which is why we needed the
routing systems to inject goo into it ;) The principles are the same in a
WSE3.0 or WCF world.
You will need minimally the wsa headers. Of course, I am assuming you are
dealing with anonymous clients. You will have your hands full if you need to
inject wss headers :)
Having said that - secured routing systems will need you to sign those wsa
headers - so that is something you have to do as well if the policy calls
for it.
--
Thank you.
Regards,
William Tay
http://www.softwaremaker.net/blog
=========================================
"Steven L" <StevenL@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:9990E6BE-8C58-4F7E-9951-0B8CD11BB251@xxxxxxxxxxxxxxxx
Hi William - that article is a good pointer, but looks primarily atrouting
WSE 2.0 clients over a WSE 2.0 routing architecture.have
I know the WSE client adds headers - it is the wsa Headers that need to be
set by clients - that is the core point of what i need to know. I need to
know what these are as other clients (non-WSE) will NEED to set them. I
understand the architecure needs them, but that doesn't help me in knowing
what to set.
Once the correct headers are sent to the WSE routing service i wouldn't
to DO anything else (this is WSE framework stuff now) as it works with WSEneed
proxy generated clients *without doing anything else*.
I will parse the article to see if it has some details on what headers
to be set, but i'd love to see a real world article where all lof yourthe
clients aren't all under your control (which I suspect is the majority of
planet!).endpoint
Thanks for the article pointer though - if you have any other related
articles in your favourites, please let me know.
regards,
steven
http://stevenR2.com
"Softwaremaker" wrote:
Pardon me if I am wrong in understanding the requirements.
Like what Pablo had said, the proxies inherits differently from vanilla
asp.net web services and those proxies injects headers into the messages
transparent to you. It seems like the Routing service (hop-2-hop
is).scenario) is expecting a s:Message with s:Headers (wsa Headers to be
specific. For example, it needs to know where the s:FinalDestination
beforeUltimately, the s:Intermediary SHOULD remove all processed headers
playforwarding it to the next node so the s:FinalDestination has no part to
(whichhere.
In other words, you are trying to make use of a routing architecture
withoutis what SOAP is all about actually ... that POX/REST cannot do well)
thosethe required headers. You may need to introduce any layer of
abstraction/indirection to make this work. You would have to inject
whatwsa goo into your s:Message one way or another for the Router to know
headersyou intend to do. In other words, you may need to write your own wsa
ableto the s:Message before it touches the wire. SOAP Extensions should be
wellto do that. It would be a lot of work for you if need to sign them as
http://msdn.microsoft.com/webservices/default.aspx?pull=/library/en-us/dnwse/html/securesoapnode.asp;)
do
hth.
--
Thank you.
Regards,
William Tay
http://www.softwaremaker.net/blog
=========================================
"Steven L" <StevenL@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:9F43B081-2777-4434-AA22-A750428C677B@xxxxxxxxxxxxxxxx
Hi William - either you are or I am :)proxy.
I do have a single end point - the problem is that I get a "Message
Information
Header Required" when i call the routing service from a non-WSE client
All i want to know is how to get round this. Are you saying i need to
client?something on the server rather that set one or two headers on the
service
You mention secure/insecure - why is that? I simply have a routing
serviceand haven't moved to attch any security to it - a very basic web
butend
point which i am simply accessing from clients via an intermediate WSE
routing configuration.
I actually implemented exactly as stated in the WSE patterns book ...
forunfortunately they didn't details how to actually *use* WS-Addressing
well)non-WSE clients.single
steven
http://stevenR2.com
"Softwaremaker" wrote:
Why not let your routing service (I assume it probably implements a
routing interface: ProcessMessage(m) and has a routing table as
it tocheck
the contents (Content-based) for the necessary s:headers and route
thethe
differentendpoint that can process it ?
In other words, you will have the same service (sort of) using 2
endpoints (one with security, one without) and they both can handle
thespecific implementations that are required. You may want to deploy
fornon-secured ones internally and the secured ones facing the cloud,
firstdeploys.example. This is akin to the address/bindings/contracts model WCF
endpoint
It is difficult and I dont see the point of having a single service
being able to handle secured and unsecured messages. Seems like an
afterthought to me. What is the motivation of securing it in the
didn'tplace
?
Am I missing something ?
--
Thank you.
Regards,
William Tay
http://www.softwaremaker.net/blog
=========================================
"Steven L" <StevenL@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:724973C8-600D-4FD2-AD76-0FF5F814645B@xxxxxxxxxxxxxxxx
Gracias Pablo.
The pipeline process is something i'm reasoable familiar with -
toproxies.realise there was such a significant difference in the generated
Here is crux of my problem - i need to allow a normal .Net service
mayuse
the routing services i am creating - that is *essential* and some
creatednot
use
WSE.
Got any pointers on making this work?
saludos,
steven.
http://stevenR2.com
"Pablo Cibraro" wrote:
Hi Steven,
The proxies created by WSE are completely different to those
pipelineby
..NET.
The WSE proxies intercept the SOAP messages and execute a
thewhere
versionthe
message is transformed to a different version (The new message
contains WS-Addressing and WS-Security headers).
The WS-Addressing headers are always added in that pipeline, but
WS-Securityconfiguration,WS-Security headers are not (that depend on some WSE specific
pipelinethe WSE policies).
The same happens on the server side, if you configure WSE, a WSE
differentwill run before calling to your service (This pipeline performs
security validations and removes the WS-Addressing and
servicestracingheaders).
The best way to know what headers are required is to enable WSE
and
see the different messages between the client and the service.
Regards,
Pablo Cibraro
http://weblogs.asp.net/cibrax
[MVP - Connected Systems Developer]
"Steven L" <Steven L@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:CEC76416-7CEC-464F-950C-A502B33EF494@xxxxxxxxxxxxxxxx
I have a hub performing some internal routing for a set of
fine.we
servicehave,
using the WS-Addressing support in WSE 3.0.
When a vanilla .Net generated proxy client tries to call the
you
Informationget:
"Microsoft.Web.Services3.Addressing.AddressingFault: Message
Header Required"
When a WSE generated proxy client does the same it works
and soproxy
Can someone explain or point me at the different in the client
configurations between these.
I will have some vanilla .Net clients and some Java clients
seti
client soneed
to
tell them exactly what (Soap Headers?) to set on their proxy
they
can successfully call the routing service - i don't need to
causesthese
when
calling the service directly, so any detail on exactly what
this
requirement by the WSE would be greatly appreciated!
Regards,
Steven
http://stevenR2.com
.
- Follow-Ups:
- Re: Ws-Addressing - WSE and vanilla Web Service Proxies
- From: Steven L
- Re: Ws-Addressing - WSE and vanilla Web Service Proxies
- From: Steven L
- Re: Ws-Addressing - WSE and vanilla Web Service Proxies
- References:
- Re: Ws-Addressing - WSE and vanilla Web Service Proxies
- From: Pablo Cibraro
- Re: Ws-Addressing - WSE and vanilla Web Service Proxies
- From: Steven L
- Re: Ws-Addressing - WSE and vanilla Web Service Proxies
- From: Softwaremaker
- Re: Ws-Addressing - WSE and vanilla Web Service Proxies
- From: Steven L
- Re: Ws-Addressing - WSE and vanilla Web Service Proxies
- From: Softwaremaker
- Re: Ws-Addressing - WSE and vanilla Web Service Proxies
- From: Steven L
- Re: Ws-Addressing - WSE and vanilla Web Service Proxies
- Prev by Date: Re: WSE2005: Protection requirements in MutualCertificate11Asserti
- Next by Date: Re: Visual Studio 2005 and WSE2 SP3
- Previous by thread: Re: Ws-Addressing - WSE and vanilla Web Service Proxies
- Next by thread: Re: Ws-Addressing - WSE and vanilla Web Service Proxies
- Index(es):
Relevant Pages
|