Hi,

I am facing a problem in Digital Signature in Servicemix-HTTP.

Configuration:

<http:endpoint service="call:dmsprovider" 
                     endpoint="provider" 
                     soap="true" 
                     soapVersion="1.1" 
                     role="provider"
locationURI="http://bb.gg.com:8080/services/opservice";
defaultMep="http://www.w3.org/2004/08/wsdl/in-out";>
        <http:policies>
               <soap:ws-security sendAction="Signature" username="opkey">
        <soap:crypto>
        <bean
class="org.apache.servicemix.soap.handlers.security.StandaloneCrypto">
        <property name="keyStoreUrl" value="classpath:op.jks"/>
        <property name="keyStorePassword" value="top"/>
        <property name="keyPassword" value="top"/>
        </bean>
        </soap:crypto>
        </soap:ws-security>
        </http:policies>
</http:endpoint>


But i am getting an exception like:

STATUS: 500
<?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";><soapenv:Body><soapenv:Fault><faultcode>soapenv:Server.generalException</faultcode><faultstring>WSDoAllReceiver:
Request does not contain required Security
header</faultstring><detail><ns1:hostname
xmlns:ns1="http://xml.apache.org/axis/";>op</ns1:hostname></detail></soapenv:Fault></soapenv:Body></soapenv:Envelope>






-----
Cheers
Praveen Oruganti
"Think before you act and act on what you believe"
-- 
View this message in context: 
http://www.nabble.com/Reg%3AHTTP-WebSecurity-tp16830546p16830546.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to