English 中文(简体)
• 如何实施网络服务客户,该用户与外部网络服务连接,并以国家空间活动局认证为基础进行认证
原标题:how to implement a web service client which connects to an external web service with authentication based on NTLM Authentication
  • 时间:2009-10-09 13:34:35
  •  标签:

i m quite new in implementing web service client in java. i found a tutorial very useful...http://wso2.org/library/tutorials/creating-web-service-client-3-steps-using-eclipse.

in my case i got 401 error: Unauthorized. It is normal as to access the wsdl i need to type the username/password. how one can do in that case? Some input on the security part:

WWW-Authenticate Negotiate NTLM + web services +HTTP 401 so i don t know which java library can help me in that case and how to integrate it in my code.

thanks for your help Lana

问题回答

如前所述,你重击了需要你认证的网络服务。 NTLM是一种认证机制,通常由Microsoft阶层使用。 http://wso2.org/library/161”rel=“nofollow noreferer”> WSO2 page描述了如何配置Axis2以认证使用NTLM。

不幸的是,如果你试图通过Eclipse这样做,那就没有帮助。 我就此建议的是下载WSDL(如果假定你知道用户名称和密码),而Eclipse要求你“选择服务定义”,则使用WSDL的当地版本。 你们需要编码来提供全权证书,但当你与网络服务连接时。

Edit: Edited to referenceing the WSDL.





相关问题
热门标签