That's right but the problems I have encountered were on the server side. The client was running unmodified, it was the rampart.mar on the server that had the modified modules.xml. Removing the outflow meant that the server would process the security on the way in but not set any security headers on the response.
----- Original Message ---- From: Doug Haigh <[EMAIL PROTECTED]> To: "[email protected]" <[email protected]> Sent: Friday, 23 May, 2008 1:05:27 PM Subject: RE: XMLStreamException "the prefix ==> Already exists for namespace" when WS-Security Rampart is engaged for Axis 2 web-services I am writing a client. I have to include a username/pwd for a request going to the server for WS-Security. Isn’t outflow on a client the part that does stuff when a request is sent from client to server in that it flows out of the client and into the server? If that is the case, I cannot remove it. From: RICHARD FEATHERSTONE [mailto:[EMAIL PROTECTED] Sent: Thursday, May 22, 2008 12:39 PM To: [email protected] Subject: Re: XMLStreamException "the prefix ==> Already exists for namespace" when WS-Security Rampart is engaged for Axis 2 web-services If only the server requires authentication you can take the outflow out. If the client needs to authenticate the response from the server you cannot. As soon as I get a chance I'll get a test case together and submit a bug (unless one of you get in first) Until then maybe one of the Rampart devs would like to acknowledge the problem and maybe even fix it? ----- Original Message ---- From: Doug Haigh <[EMAIL PROTECTED]> To: "[email protected]" <[email protected]> Sent: Thursday, 22 May, 2008 3:41:29 PM Subject: RE: XMLStreamException "the prefix ==> Already exists for namespace" when WS-Security Rampart is engaged for Axis 2 web-services I am using Axis 2 1.3 with code generated using WSDL2JAVA with ADB binding. I am experiencing this same problem and I cannot take out my OutFlow security since the server requires user authentication and it cannot be disabled. Any suggested fixes to code? I have no problem hand editing the WSDL2JAVA generated code.
