[ 
https://wso2.org/jira/browse/MASHUP-995?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Keith Godwin Chapman resolved MASHUP-995.
-----------------------------------------

    Resolution: Fixed

> NPE occurs if WSRequest send operation is called with a single parameter when 
> openWSDL method is used
> -----------------------------------------------------------------------------------------------------
>
>                 Key: MASHUP-995
>                 URL: https://wso2.org/jira/browse/MASHUP-995
>             Project: WSO2 Mashup Server
>          Issue Type: Improvement
>            Reporter: Keith Godwin Chapman
>            Assignee: Keith Godwin Chapman
>             Fix For: 1.1
>
>
> 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;
> }
> The above works while the one below causes a NPE.
> 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(null);
> 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