Hi All,

I'm getting an error while invoking the Salesforce login operation using
jaggery. I tried the same payload through SOAP UI and it is working fine.
The following is the jaggery code block.

var payload =  '<tns:login xmlns:tns="urn:enterprise.soap.sforce.com">' +
                                          '<tns:username>' +
salesforce_username + '</tns:username>' +
                                          '<tns:password>' +
salesforce_password + salesforce_security_token + '</tns:password>' +
                                       '</tns:login>';
                        var options = new Array();
                        options.useSOAP = 1.1;
                        options.CONNECTION_TIMEOUT = 120000;
                        salesforce.open(options, salesforce_url, false);
                        *salesforce.send(payload);*

The following is the error logged and the full error log is attached
herewith.

ERROR {org.jaggeryjs.modules.ws.WSRequestHostObject} -  Error occured while
invoking the service {org.jaggeryjs.modules.ws.WSRequestHostObject}
java.lang.NullPointerException

Any thoughts or help on this is highly appreciated.

Thanks & Regards,
Mushthaq
-- 
Mushthaq Rumy
*Software Engineer*
Mobile : +94 (0) 779 492140 <%2B94%20%280%29%20773%20451194>
Email : musht...@wso2.com
WSO2, Inc.; http://wso2.com/
lean . enterprise . middleware.

<http://wso2.com/signature>

Attachment: error
Description: Binary data

_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to