Basic authentication as a client

2008-04-21 Thread Bitsch. Frederic
Hi, I'm facing a problem with basic authentication when consuming a service with CXF. Currently the cxf-configuration XML contains these lines for each service my client is invoking: http-conf:authorization UserName

Re: Basic authentication as a client

2008-04-21 Thread Vijay Allam
You may want to use JAX-WS code to accomplish this. QName SERVICE_NAME = new QName(http://yournamespace.com;, MyWebServiceService); QName PORT_NAME = new QName( http://yournamespace.com;, MyService); Service service = Service.create(SERVICE_NAME); service.addPort(PORT_NAME,