FYI We were able to fix this issue in WSO2 AS using the patch [1]
[1] https://svn.wso2.com/wso2/custom/projects/projects/carbon/wilkes/patches/patch0052 Thanks, Suhan On Fri, Jul 14, 2017 at 2:03 PM, Mushthaq Rumy <[email protected]> wrote: > 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 : [email protected] > WSO2, Inc.; http://wso2.com/ > lean . enterprise . middleware. > > <http://wso2.com/signature> > -- Suhan Dharmasuriya Software Engineer *WSO2, Inc. * lean . enterprise . middleware Tel: +94 112 145345 Mob: +94 779 869138 LinkedIn: https://www.linkedin.com/in/suhan1985 Blog: https://suhan-opensource.blogspot.com/ <http://wso2.com/signature>
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
