You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by sachin2008 <es...@gmail.com> on 2008/04/23 05:39:08 UTC

Reg:HTTP WebSecurity

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.


Re: Reg:HTTP WebSecurity

Posted by sachin2008 <es...@gmail.com>.
Can anyone please put light on this issue...


sachin2008 wrote:
> 
> Hi,
> 
> I am facing a problem in Digital Signature in Servicemix-HTTP.
> 
> Configuration:
> 
> <http:endpoint service="call:opprovider" 
>                      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>
> 
> I have used servicemix http version 3.1.2 and 3.2.
> 
> But i failed to achieve the desired output.
> 
> 
> 
> 
> 
> 


-----
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-tp16830546p17071552.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.