7 Replies Latest reply on Oct 24, 2011 5:18 AM by Bernd Alheit

    Notallowederror: security settings prevent access to this property or method

    steavefinner

      Hi,

       

      While calling webservice from pdf document i am passing all the required values properly, yet while calling the service i am getting the error

       

      Notallowederror: security settings prevent access to this property or method

       

      here is the piece of javascript i am enclosing below

       

       

      string strJq = @"try {  var oAuthenticator ={ Username: '', Password: ''}; " +

                       "var cURL = 'http://localhost:8099/default.aspx'; " +

      "var oRequest = {'http://localhost:8099/default.aspx':{CityName:'New York',CountryName:'United States'}}; " +

      "var cAction = 'http://localhost:8099/default.aspx'; " +

      "var ver = SOAPVersion.version_1_2; " +

      "SOAP.wireDump = 'true'; " +

      "var response = SOAP.request({cURL:cURL,oRequest:oRequest,cAction:cAction,oAuthenticate:oAuthenticator,bE ncoded:false,cVersion:ver}); app.alert(response); app.alert('ok');} catch (e) { app.alert(e);}";

       

      PdfAction chained = PdfAction.JavaScript(strJq, writer);

       

       

      please suggest if i am missing any steps in particular from the above or do i need to change any settings in pdf reader or pdf file itself

       

       

      Thanks in advance

      steave