Copy link to clipboard
Copied
Hello,
I'm trying to access the soap web Service using soap request. it's working only in Adobe Arrobat ,but if i'm trying to execute it from reader, it's giving me an error," NOT ALLOWED TO USE THIS METHOD"
I'm using the Below code
"Not Allowed Error Security Setting prevent to access this method". I have to use this from Internet explorer.
var cURL ="http://localhost:port/WebService.asmx?WSDL";
var oParam = "Location";
SOAP.wireDump = true;
var oAuthenticator = { UsePlatformAuth:"true"};
var ver = SOAPVersion.version_1_2;
var oRequest = {
soapValue:"<Query xmlns='http://tempuri.org/'>" +
"<QueryName>" + oParam + "</QueryName>" +
"</Query>"};
var cAction = "http://tempuri.org/Query";
var response = SOAP.request(
{
cURL: cURL,
oRequest: oRequest,
cAction: cAction,
oAuthenticate:oAuthenticator,
bEncoded:false,
cVersion:ver
});
I have tried Soap. connect method and getting the same error.
Copy link to clipboard
Copied