Provide the ability to configure WSRequest Host object programatically to 
invoke secure services
------------------------------------------------------------------------------------------------

                 Key: MASHUP-983
                 URL: https://wso2.org/jira/browse/MASHUP-983
             Project: WSO2 Mashup Server
          Issue Type: Improvement
            Reporter: Keith Godwin Chapman
            Assignee: Keith Godwin Chapman
             Fix For: Future


Currently users can call secured services as follows,

function testUTOverHttps(){
var request = new WSRequest();
var options = new Array();
options["username"] = "system";
options["password"] = "system";
options["encryptionUser"] = "test";
request.openWSDL("http://localhost:7762/services/system/version?wsdl",false, 
options);
request.send("getVersion",null);
return request.responseXML;
}

It would be great if the User could take control and configure WSRequest 
himself. Would help especially when the external WSDL do not advertise policy. 
Could support something such as,

function testUTOverHttps(){
var request = new WSRequest();
var options = new Array();
options["username"] = "system";
options["password"] = "system";
options["encryptionUser"] = "test";
options["policy"] = policy;
request.open("http://localhost:7762/services/system/version",false, options);
request.send(payloadl);
return request.responseXML;
}

-- 
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]
http://wso2.org/cgi-bin/mailman/listinfo/mashup-dev

Reply via email to