[ http://issues.apache.org/jira/browse/AXIS2-656?page=comments#action_12378027 ]
Tom Jordahl commented on AXIS2-656: ----------------------------------- Lets not screw the users in the name of purity here. setUsername() and setPasword() are pretty obvious and important attrributes on the Stub class. +1 for including them in the Axis2 API! > Support for basic authentication > -------------------------------- > > Key: AXIS2-656 > URL: http://issues.apache.org/jira/browse/AXIS2-656 > Project: Apache Axis 2.0 (Axis2) > Type: New Feature > Components: client-api > Reporter: Petri Hakala > Priority: Minor > > There is no support for basic authentication when making webservice calls via > ServiceClient class. I see there is basic authentication support for proxy > server but not for direct connection. > It would be nice to have something following: > ServiceClient client = new ServiceClient(); > client.getOptions().setUsername("username"); > client.getOptions().setPassword("password"); > Axis 1.3 have these in class org.apache.axis.client.Stub. > -pete- -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
