Reputation: 11
I'm testing Enterprise Store and managed to invoke Admin Services from custom jaggery file using ws.WSRequest(); Now i'm trybing to do the same with simple javascript code with $ajax calls I've managed to call 172.27.11.44:9443/admin/services/AuthenticationAdmin/getAuthenticatorName but not succedd with 172.27.11.44:9443/admin/services/AuthenticationAdmin/login, for example The only diference is on the message payload Using the following message
<soapenv:Envelope xmlns:soapenv="http://authentication.services.core.carbon.wso2.org"><soapenv:Body>
<aut:login xmlns:aut="http://authentication.services.core.carbon.wso2.org">
<aut:username>admin</aut:username>
<aut:password>admin</aut:password>
</aut:login>
</soapenv:Body>
</soapenv:Envelope>
i got the following error ArrayIndexOutOfBoundException : 3 but the same payload works ok with SOAP UI Can anyone give light?
Upvotes: 0
Views: 156