java - WSO2 ESB - Proxy service with ws security implemented -



java - WSO2 ESB - Proxy service with ws security implemented -

i have question registering existing web service ws security implemented in wso2.

this image represent have , need.

i utilize client invoke original service , ok. create proxy service (pass through proxy) existing wsdl , when invoke service same client (i alter wsdl , end point in client) 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 &lt;wsse:security&gt; in soap header</faultstring> <faultactor></faultactor> </env:fault> </env:body> </env:envelope>

i need implement policy or create configuration scenario????

i'm using wso2carbon (wso2esb-4.8.1).

thankyou

if need secure proxy service have configure security adding policy proxy service. way client connecting proxy service have have security headers defined in policy file. refer documentation.

if need connect unsecured client secured backend through proxy service, have secure endpoint proxy service giving policy file defined backend. way client not send security headers in request, esb add together corresponding headers when request sent backend. see qos section of this

java wso2 ws-security

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -