Hi,

just a small question, how do I set the SSL paremeters for the servicemix-http 
component?

This is my http:endpoint definition:

                <http:endpoint service="demo:simple-service"
                                         endpoint="simple-service"
                       role="consumer"
                       locationURI="https://localhost:8192/Service/";
                       defaultMep="http://www.w3.org/2004/08/wsdl/in-out";
                           soap="true"
                           keyPassword="server"
                   keyStore="C:\.keystore2"
                           keyStorePassword="server"
                           
trustStore="C:\Programme\Java\jdk1.5.0_06\jre\lib\security\cacerts"
                           trustStorePassword="changeit"
                           needClientAuth="true"
                           wantClientAuth="true"
                />

And I always get:

Caught: org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'org.apache.servicemix.http.HttpEndpoint' defined in file [D:\esb
\incubator-servicemix-3.0-SNAPSHOT\examples\soap-binding\.\servicemix.xml]: Erro
r setting property values; nested exception is org.springframework.beans.NotWrit
ablePropertyException: Invalid property 'keyPassword' of bean class [org.apache.
servicemix.http.HttpEndpoint]: Bean property 'keyPassword' is not writable or ha
s an invalid setter method: Does the parameter type of the setter match the retu
rn type of the getter?

So I gues it is just a small error :)

This mail has originated outside your organization, either from an external 
partner or the Global Internet. Keep this in mind if you answer this message.

Reply via email to