You need to set up a conduit to support Basic authentication.
See http://cwiki.apache.org/CXF20DOC/client-http-transport.html and then
Google http:authorization since the documentation seems to be a little thin
yet.
Something like:
<http:conduit name="{http://some.com/service}port.http-conduit">
<http:authorization>
<sec:UserName>firefly</sec:UserName>
<sec:Password>serenity</sec:Password>
</http:authorization>
</http:conduit>
Frank61 wrote:
>
> Hi !
>
> I am making a web service client using CXF framework
> I have made Java classes using wsdl2Java.
>
>
> The service requires HTTP Basic Autenthication so
> how can add this feature to my program?
>
>
> Frank
>
--
View this message in context:
http://www.nabble.com/Basic-authentication-with-CXF-tf4488719.html#a12806626
Sent from the cxf-user mailing list archive at Nabble.com.