Hi , I have configured my wsdd files to achieved a security response, the problem is that the service does not send the response with Security, the client shows the following exception: WSDoAllReceiver: Request does not contain required Security header, and it is because the server does not send Security responses. Does anyone know because it is??
The wsdd files are shown below: client_config.wsdd: <!-- Using the WSDoAllSender security handler in request flow --> <deployment xmlns="http://xml.apache.org/axis/wsdd/" xmlns:java="http://xml.apache.org/axis/wsdd/providers/java"> <transport name="http" pivot="java:org.apache.axis.transport.http.HTTPSender" /> <globalConfiguration> <requestFlow> ...................... </requestFlow> <responseFlow> <handler type="java:org.apache.ws.axis.security.WSDoAllReceiver"> <parameter name="passwordCallbackClass" value="com.at4wireless.ds.demo.query.PWCallback"/> <parameter name="action" value="Timestamp Encrypt Signature"/> <parameter name="signatureParts" value="{Element}{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd}Timestamp;{}{http://schemas.xmlsoap.org/soap/envelope/}Body" /> <parameter name="decryptionPropFile" value="ClientQuery/signatureC.properties" /> <parameter name="signaturePropFile" value="ClientQuery/cryptoC.properties" /> </handler> </responseFlow> </globalConfiguration> </deployment> and the server.config.wsdd is : <service name="QueryS" provider="java:RPC" style="wrapped" use="literal"> .......................................................... </service> <transport name="http"> <requestFlow> ............................................................ <requestFlow/> <transport name="local"> <responseFlow> <handler type="URLMapper"/> <handler type="java:org.apache.axis.handlers.http.HTTPAuthHandler"/> <handler type="LocalResponder"/> <handler type="java:org.apache.ws.axis.security.WSDoAllSender" > <parameter name="passwordCallbackClass" value="PWCallback"/> <parameter name="action" value="Timestamp Encrypt Signature"/> <parameter name="encryptionUser" value="useReqSigCert" /> <parameter name="user" value="faac" /> <parameter name="signatureParts" value="{Element}{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd}Timestamp;{}{http://schemas.xmlsoap.org/soap/envelope/}Body" /> <parameter name="signaturePropFile" value="crypto.properties" /> </handler> </responseFlow> </transport> </deployment> Thanks in advance -- View this message in context: http://www.nabble.com/Server-sends-the-response-without-SECURITY-tf4382358.html#a12492775 Sent from the Axis - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
