RE: How to turn off WS-addressing and SW-Security
- From: Pete Wood <PeteWood@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 19 Apr 2005 07:41:03 -0700
Hi There...
You *should* really be changing the default pipeline to determine which
filters are applied. The easiest way to do this is to add a couple of lines
into the global.asax file.
protected void Application_Start(Object sender, EventArgs e)
{
SoapOutputFilterCollection defaultOutputFilters =
WebServicesConfiguration.FilterConfiguration.OutputFilters;
defaultOutputFilters.Remove(typeof(SecurityOutputFilter));
}
These will basically remove the Security filter and thus not add in any WSSE
elements. This should be the way to remove the WS-Addressing also,
although MS don't appear to have provided a default filter that could be
removed!
I hope that helps...
Pete Wood
Visit me at www.webserviceshelp.org
"HumbleServant" wrote:
> Hello
>
> I am in desperate need of help, how can I solve this problem?
>
> I decided to use WSE 2.0 Service Pack 3 since the API are much easier to use
> in the creation of a SoapEvelope and inserting the header and body xml
> manually. However, when I send the Soap message to a Unix server running AXIS
> I get a java SoapException! It is complainig that it does not like the tags
> associated with the WS-addressing and the tags associated with the
> WS-Security. I really don't want to use WS-addressing and WS-Security.
> However, WSE automatically adds these tags before sending the Soap message
> out the HTTP port.
>
> I did add a customer soap filter and was able to remove the WS-addressing
> tags but it appears the WS-Security tags are added later and I can get to
> them!
>
> Thank you ahead of time for your help...
>
> --
> Your humble servant
.
- References:
- How to turn off WS-addressing and SW-Security
- From: HumbleServant
- How to turn off WS-addressing and SW-Security
- Prev by Date: Policy file is really necessary?
- Next by Date: RE: Public key certificate disappears automatically !!!
- Previous by thread: How to turn off WS-addressing and SW-Security
- Next by thread: Re: How to turn off WS-addressing and SW-Security
- Index(es):
Relevant Pages
|