×

Loading...

Topic

This topic has been archived. It cannot be replied.
  • 工作学习 / 学科技术 / Web Service的Basic Anthentication是怎么一回事?
    我要访问一个有安全认证的Web Service,他们提供了SOAP和WSDL,我在SoapUI里,输入了username和password,能得到响应,他们说Web Service用的是Basic的认证。那么username和password是怎么传输的?是http://xxx/xxxService?userId=&password=这样?还是存在SOAP报文里?

    还有在我用wsimport生成的客户端代码里怎么处理username和password?我在哪里输入username和password?
    • 汗,你这是基本功都没过关就去搞框架....看链接吧,这是http协议的基础组成部分
    • 1st, basic authentication is deprecating. 2nd, you post a message to the remote service, the username and pwd should be sitting in the headers. the problem of basic is, you always pass name and pwd is each request +1