WSDL not accessible and getting exception while downloading the WSDLIssue User not authentication error message was seen while running a inbound SOAP call to servicenow from external system, also the WSDL was not accessible and while accessing the WSDL it is getting failed with below exception. Error loading [https://instancename.service-now.com/create_order_line.do?WSDL]: org.apache.xmlbeans.XmlException: org.apache.xmlbeans.XmlException: error: Unexpected end of file after nullCauseBelow exception can be seen from the app node logs while accessing the WSDL. 2020-07-30 07:30:22 (963) API_INT-thread-1 SYSTEM txid=c370594edbde WARNING *** WARNING *** Security restricted: Attempted access to restricted class name com.glide.util2020-07-30 07:30:22 (963) API_INT-thread-1 SYSTEM txid=c370594edbde WARNING *** WARNING *** Illegal attempt to access class 'com.glide.util' via scriptjava.lang.SecurityException: Illegal attempt to access class 'com.glide.util' via script at com.glide.sys.security.GlideSecurityChecks.throwSecurityException(GlideSecurityChecks.java:108) at com.glide.sys.security.GlideSecurityChecks.visibleToScripts(GlideSecurityChecks.java:99) at org.mozilla.javascript.NativeJavaPackage.getPkgProperty(NativeJavaPackage.java:124) at org.mozilla.javascript.NativeJavaPackage.get(NativeJavaPackage.java:82) at org.mozilla.javascript.ScriptableObject.getProperty(ScriptableObject.java:2315) at org.mozilla.javascript.ScriptRuntime.getObjectProp(ScriptRuntime.java:1533) at org.mozilla.javascript.ScriptRuntime.getObjectProp(ScriptRuntime.java:1526) at org.mozilla.javascript.gen.sys_script_include_6caae5c50a0a0b2b0083fa31560279a6_script_709._c_anonymous_2(sys_script_include.6caae5c50a0a0b2b0083fa31560279a6.script:12) at org.mozilla.javascript.gen.sys_script_include_6caae5c50a0a0b2b0083fa31560279a6_script_709.call(sys_script_include.6caae5c50a0a0b2b0083fa31560279a6.script) at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:563) at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3429) at org.mozilla.javascript.gen.sys_script_include_6caae5c50a0a0b2b0083fa31560279a6_script_709.call(sys_script_include.6caae5c50a0a0b2b0083fa31560279a6.script) at org.mozilla.javascript.ScriptRuntime.doCall2(ScriptRuntime.java:2651) at org.mozilla.javascript.ScriptRuntime.doCall(ScriptRuntime.java:2590) at org.mozilla.javascript.ScriptableObject.callMethod(ScriptableObject.java:2655) at org.mozilla.javascript.ScriptableObject.callMethod(ScriptableObject.java:2627) at com.glide.script.RhinoObject.callFunction(RhinoObject.java:169) at com.glide.script.RhinoObject.callFunction_String(RhinoObject.java:202) at com.glide.script.RhinoObject.callFunction_String(RhinoObject.java:199) at com.glide.sys.authenticate.HTTPAuthenticate.scriptedAuthorization(HTTPAuthenticate.java:143) at com.glide.sys.authenticate.HTTPAuthenticate.authenticate(HTTPAuthenticate.java:70) at com.glide.sys.authenticate.AuthProxy.authenticate(AuthProxy.java:36) at com.glide.sys.security.HTTPAuthorization.isAuthorized(HTTPAuthorization.java:102) at com.glide.processors.HTTPAuthProcessor.hasValidAuthenticationHeader(HTTPAuthProcessor.java:175) at com.glide.processors.HTTPAuthProcessor.isAuthorized(HTTPAuthProcessor.java:114) at com.glide.processors.AProcessor.isProcessorAuthorized(AProcessor.java:632) at com.glide.processors.AProcessor.shouldContinue(AProcessor.java:339) at com.glide.processors.Processor.shouldContinue(Processor.java:83) at com.glide.processors.AProcessor.processTransaction(AProcessor.java:146) at com.glide.processors.ProcessorRegistry.process0(ProcessorRegistry.java:188) at com.glide.processors.ProcessorRegistry.process(ProcessorRegistry.java:177) at com.glide.ui.GlideServletTransaction.process(GlideServletTransaction.java:31) at com.glide.sys.Transaction.run(Transaction.java:2136) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748)ResolutionOOB script include which is responsible to validate the basic authentication before granting access to the WSDL is causing this issue and it is throwing below exception. Script include https://instancename.service-now.com/nav_to.do?uri=sys_script_include.do?sys_id=6caae5c50a0a0b2b0083fa31560279a6 2020-07-30 07:30:22 (963) API_INT-thread-1 SYSTEM txid=c370594edbde WARNING *** WARNING *** Security restricted: Attempted access to restricted class name com.glide.util2020-07-30 07:30:22 (963) API_INT-thread-1 SYSTEM txid=c370594edbde WARNING *** WARNING *** Illegal attempt to access class 'com.glide.util' via scriptjava.lang.SecurityException: Illegal attempt to access class 'com.glide.util' via script. Problematic instance is having a package call defined in the function getAuthorized, which is causing this issue. getAuthorized : function() { var up = Packages.com.glide.util.StringUtil.base64Decode(this.auth_value); var split = up.indexOf(":"); OOB script without package call. getAuthorized : function() { var up = GlideStringUtil.base64Decode(this.auth_value); var split = up.indexOf(":"); Inorder to overcome this issue, replace the package call [ Packages.com.glide.util.StringUtil ] with GlideScriptable Object [ GlideStringUtil] Note : Packages calls to ServiceNow Java classes will be prevented in a future release.