我是web服務中的新成員。我使用CXF jax-ws實現創建了使用spring的Web服務。 假設我有「HelloWebService
」,因爲我的webmethod「sayHello()
」將返回字符串。如何保護Cxf jax-ws webservice?
時,我打網址:
localhost:8080/ProjName/service/HelloWebService?wsdl
這表明我的WSDL上的瀏覽器。
現在,我想請求username and password
當用戶在瀏覽器上點擊此網址。
我該怎麼做?