[ https://issues.apache.org/jira/browse/CXF-1617?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Willem Jiang resolved CXF-1617. ------------------------------- Resolution: Fixed Fix Version/s: 2.0.8 2.1.2 Applied the patch into CXF trunk[1] and 2.0.x branch[2] [1] http://svn.apache.org/viewvc?rev=669396&view=rev [2] http://svn.apache.org/viewvc?rev=669398&view=rev > 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 > Fix For: 2.1.2, 2.0.8 > > > 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.