Hi JB,

Is basic auth implemented for soap-provider? I get the exception below:
Caused by: org.springframework.beans.InvalidPropertyException: Invalid
property
'basicAuthentication' of bean class
[org.apache.servicemix.http.endpoints.HttpSo
apProviderEndpoint]: No property 'basicAuthentication' found

If not, may I know how to get basic auth working with the "old" provider?

Many thanks.


Jean-Baptiste Onofré wrote:
> 
> Hi Lee,
> 
> right, the soapAction attribute is not available on the new HTTP 
> endpoint. The documentation is not up to date.
> 
> Try without the soapAction attribute to see if the SA/SU deploy correctly.
> 
> Regards
> JB
> 
> LeeCK wrote:
>> Hi JB,
>> 
>> I tried the xbean below but xbean service unit failed to deploy. 
>> <http:soap-provider service="mys:MyService" endpoint="soap" 
>>                            
>> locationURI="http://localhost:5555/MyService/usergroup.asmx"; 
>>                            
>> soapAction="http://schemas.microsoft.com/sharepoint/soap/directory/GetGroupInfo";>
>>  
>> </http:soap-provider>
>> 
>> Exception:
>> Caused by: org.springframework.beans.InvalidPropertyException: Invalid
>> property 'soapAction' of bean class
>> [org.apache.servicemix.http.endpoints.HttpSoapProviderEndpoint]: No
>> property
>> 'soapAction' found
>> 
>> Thanks.
>> 
>> 
>> Jean-Baptiste Onofré wrote:
>>> Hi Lee,
>>>
>>> please, try to use the new HTTP endpoints like this:
>>>
>>> <http:soap-provider service="mys:MyService" endpoint="soap"
>>>             locationURI="http:/....">
>>>             soapAction="...">
>>>       <http:basicAuthentication>
>>>      <http:basicAuthCredentials username="testuser" password="testpass"
>>> />
>>>    </http:basicAuthentication>
>>> </http:soap-provider>
>>>
>>> Keep us posted
>>>
>>> Regards
>>> JB
>>>
>>>
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/basic-authentication-of-http-provider-tp25147640p25165226.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to