[ 
https://issues.apache.org/jira/browse/CXF-1617?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Willem Jiang reassigned CXF-1617:
---------------------------------

    Assignee: Willem Jiang

> Basic Authentication failure
> ----------------------------
>
>                 Key: CXF-1617
>                 URL: https://issues.apache.org/jira/browse/CXF-1617
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-WS Runtime
>    Affects Versions: 2.0.3
>            Reporter: Durgaprasad Guduguntla
>            Assignee: Willem Jiang
>
> I have tried the following options to send username and password with basic 
> authentication credentials.  But I realized  from the server SOAP logs that 
> the basic authentication header is not passing to the server from the client 
> in both the cases.  I see the username and password attributes are available 
> in the XSD and used them in configuration of client in spring application 
> context.  I am using CXF-2.0.3 version.  
> Front end approach: 
> <bean id="searchClientFactory" 
>                 class="org.apache.cxf.jaxws.JaxWsProxyFactoryBean"> 
>      <property name="serviceClass" 
>                         value="com.client.service.SearchService" /> 
>      <property name="address" 
> value="${webservice.host.url}/${soapservice.url}" /> 
>      <property name="username" value="uname"/> 
>       <property name="password" value="pword"/> 
>  </bean> 
> jaxws approach: 
>         <jaxws:client id="searchClient" 
>         serviceClass="com.client.service.SearchService" 
>         address="${webservice.host.url}/${soapservice.url}"  username="uname" 
> password="pword"/> 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to