I have a question about registering an existing web service with ws security implemented in wso2.
This image represent what i have and what I need.
I use the client to invoke original service and everything is ok. I create a proxy service (Pass Through Proxy) with the existing WSDL and when I invoke the service with the same client (I change wsdl and end point in the client) the response is:
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
<env:Header></env:Header>
<env:Body>
<env:Fault xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
<faultcode>wsse:InvalidSecurity</faultcode>
<faultstring>Missing <wsse:Security> in SOAP Header</faultstring>
<faultactor></faultactor>
</env:Fault>
</env:Body>
</env:Envelope>
I need to implement any policy or make another configuration for this scenario????
I'm using wso2carbon (wso2esb-4.8.1).
Thankyou