web services - SoapUI basic authentication to c# code -
i have problem web service want connect to. in soapui used basic authentication username , password (domain empty), , changed wss-password type passwordtext , without problem connect web service. when try connect using c# code:
webservice service = new webservice(); service.clientcredentials.username.username = "user"; service.clientcredentials.username.password = "pass"; service.somemethod();
it returns "forbidden" error.
Comments
Post a Comment