Connecting SAP SOAP WebService with Android application

You are passing parameter in URL like this: http://XXX.com/xyz/api/sap-client=100&sap-user=username&sap-password=xxxxx"

Instead of this, you should pass parameter like this: request.addProperty("sap-client", "100"); request.addProperty("sap-user", "*"); request.addProperty("sap-password", "*");

Updated on: 2019-07-30T22:30:20+05:30

534 Views

Advertisements