Okay 

So I'm going through the code to try and figure this out and I see that the
SSL stuff in org.apache.servicemix.http.endpoints.HttpProviderEndpoint is
commented out:

public class HttpProviderEndpoint extends ProviderEndpoint implements
HttpEndpointType {

    //private SslParameters ssl;
    //private BasicAuthCredentials basicAuthentication;

...

    /*
    public BasicAuthCredentials getBasicAuthentication() {
        return basicAuthentication;
    }

    public void setBasicAuthentication(BasicAuthCredentials
basicAuthentication) {
        this.basicAuthentication = basicAuthentication;
    }
    
    public SslParameters getSsl() {
        return ssl;
    }
    
    public void setSsl(SslParameters ssl) {
        this.ssl = ssl;
    }
    */

I've done some searching through Jira and there does not seem to be any
issues related to this. I've searched through subversion and it appears that
its been commented out since it was initially added. 

I'm close to uncommenting it and building myself to see what happens but I
thought I 'd ask if anyone knows what the situation is prior to possibly
going down the wrong path.

Thanks
Tom



Tom Purcell wrote:
> 
> Hello
>  
> We have been using the servicemix-http binding component as a provider and
> configured with a marshaler:
> 
>   <http:provider service="ons:ourRestService"
>                  endpoint="ourPut"
>                  marshaler="#ourMarshaler"/>
> 
>   <bean id="ourMarshaler"
> class="org.apache.servicemix.http.endpoints.RestProviderMarshaler">
>  ...
>   </bean>
> 
> This has been working fine over http but now we need to make the call over
> https. 
> 
> The problem is that it seems that if we configure our service as
> http:provider we cannot add the http:ssl tag. If we configure as
> http:endpoint with a role=provider we cannot configure a marshaler.
> 
> Any thoughts on how to accomplish this?
> 
> Thanks
> Tom
> 
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Servicemix-http-Provider-with-Marshaler-and-SSL-tp19003930p19039753.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to