views:

161

answers:

0

I have to expose/provide the service method in which I have to implement the Soap Headers Security. Below is the Sample SOAP Header which I have to implement in my Service Method.

I am using Axis 1.4, Tomcat 5 and Java 1.5.

Response XML :please ignore ' from XML. please consider it as XML.
'<'S:Header'>'
'<'wsp:authentication'>'
'<'wsp:userid>'XXUserName'<'/wsp:userid'>'
'<'wsp:password'>'XXPassword'<'/wsp:password'>'
'<'wsp:payloadVersion'>'2007B'<'/wsp:payloadVersion'>'
'<'/wsp:authentication'>'
'<'/S:Header'>'

Please Provide your valuable suggestions , how I can implement the above above SOAP Header.