You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Andrea Chiodoni (JIRA)" <ji...@apache.org> on 2008/03/19 12:20:25 UTC

[jira] Created: (CXF-1480) Basic authentication header missing while accessing WSDL URL

Basic authentication header missing while accessing WSDL URL
------------------------------------------------------------

                 Key: CXF-1480
                 URL: https://issues.apache.org/jira/browse/CXF-1480
             Project: CXF
          Issue Type: Bug
    Affects Versions: 2.0.4
         Environment: Max os, Leopard, jetty, spring 2.5.2
            Reporter: Andrea Chiodoni
             Fix For: 2.0.5


While accessing the wsdl URL I get a 401. Service + WLS protected with basic auth.

Here my client context:

	<bean id="cassaService"
		class="ch.chiodoni.cassa.server.service.CassaService"
		factory-bean="clientFactory" factory-method="create" />

	<bean id="clientFactory"
		class="org.apache.cxf.jaxws.JaxWsProxyFactoryBean">
		<property name="serviceClass"
			value="ch.chiodoni.cassa.server.service.CassaService" />
		<!-- 
			<property name="address"
			value="http://cassa:cassa@localhost:8080/cassa-server/server/cassa?wsdl" />
			<property name="address"
			value="http://localhost:8080/cassa-server/cassa.wsdl" />
		-->

		<property name="wsdlURL"
			value="http://localhost:8080/cassa-server/server/cassa?wsdl" />
		<property name="username" value="cassa" />
		<property name="password" value="xxx" />
	</bean>

	<http:conduit
		name="{http://chiodoni.ch/cassa/server}CassaServiceImplPort.http-conduit">
		<http:client AutoRedirect="true" Connection="Keep-Alive" />
		<http:authorization>
			<sec:UserName>cassa</sec:UserName>
			<sec:Password>xxx</sec:Password>
		</http:authorization>
	</http:conduit>


Would be basic auth HTTP header sent with the provided context or I'm configuring something wrong?

Thanks
Andrea



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