Thanks for the post Freeman
That link was very helpful ( as is your blog ), not sure how I missed it .
So if I am only using basic authentication then i need the following
namespaces
<beans ...
xmlns:http-conf="http://cxf.apache.org/transports/http/configuration
...
xsi:schemaLocation="...
http://cxf.apache.org/transports/http/configuration
http://cxf.apache.org/schemas/configuration/http-conf.xsd
...>
and the following elements
<http-conf:conduit
name="{http://apache.org/hello_world}HelloWorld.http-conduit">
<http:authorization>
<sec:UserName>Betty</sec:UserName>
<sec:Password>password</sec:Password>
</http:authorization>
</http-conf:conduit>
and the conduit name is set for based on the format portQName.http-conduit
Should the <http:authorization> elements be changed to
<http-conf:authorization> to match the namespace in the example i posted
above ?
Do I need to add a xmlns:sec="http://cxf.apache.org/configuration/security"
and http://cxf.apache.org/schemas/configuration/security.xsd or are
those only when using SSL ?
thanks
--
View this message in context:
http://cxf.547215.n5.nabble.com/CXF-with-basic-authentication-with-wsdl2java-tp4452439p4454308.html
Sent from the cxf-user mailing list archive at Nabble.com.