WSDoAllReceiver: Request does not contain required Security header
hi all,
i have a webservice connection which was using wss to creae a signature. Now i dont want to sign my webservice so i deleted all what initiate a signature. after deleting now im getting following error when sending a message
WSDoAllReceiver: Request does not contain required Security header
it must be a cache somewhere, which i have to delete. does anyone knows a solution? the tomcat cache is deleted. but the error is still there
my former code snippet :
client:
// ConfigConfig_wsdd contains WSDoAllSender and WSDoAllReceiver to send and receive signatures (its work well)
EngineConfiguration config =new FileProvider(GlobalVariables.ClientConfig_wsdd);
StoerungsmeldungRequestServiceLocator loc =new StoerungsmeldungRequestServiceLocator(config);
StoerungsmeldungRequest req = loc.getStoerungsmeldung();
in the server-config.wsdd
Code:
<service name="StoerungsstatusAbfrage" provider="java:RPC" style="rpc" use="encoded">
<requestFlow>
<handler type="soapmonitor"/>
<handler type="java:org.apache.ws.axis.security.WSDoAllReceiver">
<parameter name="action" value="Signature Timestamp"/>
<parameter name="signaturePropFile" value="server_crypto.properties" />
</handler>
</requestFlow>
<responseFlow>
<handler type="java:org.apache.ws.axis.security.WSDoAllSender">
<parameter name="action" value="Signature Timestamp"/>
<parameter name="user" value="server"/>
<parameter name="passwordCallbackClass" value="PWCallback"/>
<parameter name="signaturePropFile" value="server_crypto.properties" />
</handler>
<handler type="soapmonitor"/>
</responseFlow>
.....
</service>
and now that is my code
client:
Code:
StoerungsmeldungRequestServiceLocator loc =new StoerungsmeldungRequestServiceLocator();
StoerungsmeldungRequest req = loc.getStoerungsmeldung();
server-config.wsdd
<service name="StoerungsstatusAbfrage" provider="java:RPC" style="rpc" use="encoded">
<requestFlow>
<handler type="soapmonitor"/>
</requestFlow>
<responseFlow>
<handler type="soapmonitor"/>
</responseFlow>
.....
</service>
all help would be great appreciated

