Re: ws-addressing

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Hi Viv,

There are three ways to route messages to a web service,

1. SOAPAction http header: This is the most common option for web services,
but it has two main problems. The http header is not secure, so anyone can
change it and route the message to a different service. It depends on http
as transport, which is bad if you are planning to host the services on
different transports.
2. Body element in the Soap Envelope. This option uses the body element name
to route the message to the right service. You can not use this option if
the body element is encrypted with message security.
3. Addressing headers. In my opinion, it is best option. The headers can be
signed so nobody can change them and they do not have dependencies with an
specific transport.

Does it make sense ?.

Regards,
Pablo Cibraro
http://weblogs.asp.net/cibrax

"Viv" <viv2005@xxxxxxxxx> wrote in message
news:1148047700.231165.17690@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi All,
I have gone through some of the articles on ws-addressing, but couldn't
actually figure out why ws-addressing is required ?

what I understand from ws-addressing is that using ws-addressing a
response can be addressed to some other destination. For e.g. client-A
invokes a service at Server1 and requires the response to be sent to
Client-B. ws-addressing provides the standarized <wsa:ReplyTo> MI
header to achieve this. The client client-A will send a SOAP message
with <wsa:ReplyTo> element containing the url of destination endpoint
where response is to be made, in SOAP header. The server when find
<wsa:ReplyTo> element in SOAP header, will send the response to the
specified url.

Similarly From header is to send the acknowledgement back to the sender
& FaultTo to send the fault to sender/other fault handler.

Utility of EPR's (End Point Reference) is also vague.

Is this the only scenario where ws-addressing should be implemented ?

Comments/Suggestions are welcome.

Viv



.



Relevant Pages

  • Re: .NET WS client connecting to Axis WS - credentials problem
    ... Axis developer said that the blank username was appearing in the http header, ... it sets the credentials when Basic authentication or Windows ...
    (microsoft.public.dotnet.framework.webservices)
  • Re: Linux 2.6.17-rc2
    ... HTTP header from A, decides where to send request from it, connects ... make all further bytes from A be copied to B without using user space but no ... Could it be done with splice() or teeor some other kernel "accelerator"? ...
    (Linux-Kernel)
  • Re: Site Navigation
    ... it appeared that they provide some "navigation" capabilities. ... called redirect(). ... As about header(), the official documentation explains it quite well: ... If you don't know what an HTTP header is, you're unlikely to need this function. ...
    (comp.lang.php)
  • Re: Can we get http header information from the BHO
    ... But do we get to see the header data in the BHO? ... disp parameters for http header comes with a blank except during POST. ... If POST data in BeforeNavigate2 is empty, it's a GET request, otherwise ...
    (microsoft.public.inetsdk.programming.webbrowser_ctl)
  • Add custom HTTP Header to all Web Service responses
    ... We have a web server farm with several servers hosting web services and I'd ... like to add a custom HTTP header to every web service response so our client ...
    (microsoft.public.dotnet.framework.aspnet.webservices)