Yes sure. The full endpoint configuration is:

<beans xmlns:http="http://servicemix.apache.org/http/1.0";
       xmlns:to="http://www.test.net/test";>

  <http:endpoint service="to:httptest"
                 endpoint="endpointSOAP"
                 role="consumer" 
                 locationURI="http://0.0.0.0:8191/Test/";
                 defaultMep="http://www.w3.org/2004/08/wsdl/in-out";
                 soap="true" 
                 soapAction="doIt">
     <http:basicAuthentication>
        <http:basicAuthCredentials username="testuser" password="testpass"
/>
     </http:basicAuthentication>
  </http:endpoint>

</beans>


Wolfgang



tterm wrote:
> 
> Could you please give some more information? For example the complete
> endpoint.
> 
> Cheers,
> Thomas
> 
> wolf10 wrote:
>> I am trying to set up basic authentication in service-http as described
>> on
>> the web page, but it does not work. The http endpoint remains
>> unprotected.
>> 
>> I just added:
>> 
>>     <http:basicAuthentication>
>>         <http:basicAuthCredentials username="testuser"
>> password="testpass"
>> />
>>      </http:basicAuthentication>
>>  
>> to the endpoint configuration. Did I forget something?
>> 
>> Wolfgang 
> 
> 
> -- 
> Thomas Termin
> _______________________________
> blue elephant systems GmbH
> Wollgrasweg 49
> D-70599 Stuttgart
> 
> Tel    :  (+49) 0711 - 45 10 17 676
> Fax    :  (+49) 0711 - 45 10 17 573
> WWW    :  http://www.blue-elephant-systems.com
> Email  :  [EMAIL PROTECTED]
> 
> blue elephant systems GmbH
> Firmensitz      : Wollgrasweg 49, D-70599 Stuttgart
> Registergericht : Amtsgericht Stuttgart, HRB 24106
> Geschäftsführer : Holger Dietrich, Thomas Gentsch, Joachim Hoernle
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Basic-Authentication-does-not-work-tf4639516s12049.html#a13252269
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to