WSRequest support of HTTP Basic auth in WSDL mode
-------------------------------------------------
Key: MASHUP-1136
URL: https://wso2.org/jira/browse/MASHUP-1136
Project: WSO2 Mashup Server
Issue Type: Bug
Reporter: Pavel Kriz
Assignee: Channa Gunawardena
Currently, there's no way to invoke web service secured with HTTP Basic auth in
WSDL mode. The following code results in Fault: Transport error: 401 Error:
Authorization Required.
var request = new WSRequest();
var options = new Array();
options["username"] = "myname";
options["password"] = "mypass";
request.openWSDL("http://url.to/the/service/wsdl",false, options);
request.send("operation",null);
return request.responseXML;
As far as I know, there no way to inform about HTTP Basic security in WSDL,
because it's not a "WS-Security/Policy scenario".
WSRequest would use user creditials for HTTP Basic auth (as it does in
"nonWSDL" mode) when no security scenario enforced in WSDL and creditials
specified in options.
(This issue may be related to MASHUP-983)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
Mashup-dev mailing list
[email protected]
https://wso2.org/cgi-bin/mailman/listinfo/mashup-dev