Hi, Your "Security" header is invalid.
It MUST be of the namespace : "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" not "http://docs.oasisopen.org/wss/2004/01/oasis-200401-wss-wssecurity-secext1.0.xsd" Thanks, Ruchith Todd Allen wrote: > I am using Axis2-1.1 and am trying to implement the user name token > authentication. I've followed the samples but keep getting the > following SOAP fault string: > > WSDoAllReceiver: Incoming message does not contain required Security header > > I'm using SOAPUI version 1.7.5 as the client and have the following header: > > <soapenv:Header> > <wsse:Security > xmlns:wsse="http://docs.oasisopen.org/wss/2004/01/oasis-200401-wss-wssecurity-secext1.0.xsd" > soapenv:mustUnderstand="1"> > <wsse:UsernameToken> > <wsse:Username>bob</wsse:Username> > <wsse:Password>pword</wsse:Password> > </wsse:UsernameToken> > </wsse:Security> > </soapenv:Header> > > My services.xml file has the following lines to engage rampart: > > <module ref="rampart" /> > <parameter name="InflowSecurity"> > <action> > <items>UsernameToken</items> > > <passwordCallbackClass>com.mycompany.myservice.producer.handlers.PWCBHandler</passwordCallbackClass> > > </action> > </parameter> > > What am I missing? > > Thanks, > T > >
signature.asc
Description: OpenPGP digital signature
