You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Durgaprasad Guduguntla (JIRA)" <ji...@apache.org> on 2008/05/30 04:52:45 UTC
[jira] Commented: (CXF-1617) Basic Authentication failure
[ https://issues.apache.org/jira/browse/CXF-1617?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12601003#action_12601003 ]
Durgaprasad Guduguntla commented on CXF-1617:
---------------------------------------------
The temporary workaround is described in the following post
http://www.nabble.com/Basic-authentication-with-Spring-configured-client-td17500802.html
> 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
>
> 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.