obiaf.ServerRequests=function(){};obiaf.ServerRequests.getChildren=function(b,a,c){var d=new obids.AjaxRequest("ActionRegistryGetChildren",b,null,c);d.getRequest().addArg("Path",a);d.post()};obiaf.ServerRequests.refreshNode=function(b,a,c){var d=new obids.AjaxRequest("ActionRegistryRefreshNode",b,null,c);d.getRequest().addArg("Path",a);d.post()};obiaf.ServerRequests.analyseWSDL=function(c,e,b,a){var d=new obids.AjaxRequest("ActionRegistryAnalyseWSDL",c,e,a);d.getRequest().addArg("Path",b);d.post()};obiaf.ServerRequests.getRegistriesByContentType=function(a,d){var b=new obids.AjaxRequest("ActionRegistryGetRegistriesByContentType",a);b.getRequest().addArg("TypeName",d);if(a){b.post()}else{var c=b.post();return c}};obiaf.ServerRequests.getActionDefinition=function(d,i,c){var h=new obids.AjaxRequest("ActionRegistryGetActionDefn",i,null,c);h.getRequest().addArg("Path",d);var f=[];if(i){h.post()}else{var b=h.post();if(b){b=obiaf.ActionsBase.replaceNamespaceID(b,saw.delivers.namespaceMap.jax,"jax");var e=obips.XMLDOM.selectSingleNode(b,".//saw:warnings",saw.delivers.namespaceMap);if(e&&e.firstChild&&e.firstChild.firstChild){f.push(e.firstChild.firstChild.nodeValue)}var a=obips.XMLDOM.selectSingleNode(b,".//jax:exception",saw.delivers.namespaceMap);if(a&&a.firstChild&&a.firstChild.firstChild){var g=a.firstChild.firstChild.nodeValue;f.push(g)}if(f.length>0){this._showErrors(f);b=null}}return b}};obiaf.ServerRequests.resolveNamedAction=function(b,d,a,e){var c=new obids.AjaxRequest("ResolveNamedAction",b,d);c.getRequest().addArg("Path",a);if(e){c.getRequest().addArg("State",e)}c.post()};obiaf.ServerRequests.resolveReferencedAction=function(d,f,c,b,a,g){var e=new obids.AjaxRequest("ResolveNamedAction",d,f);e.getRequest().addArg("Path",c);e.getRequest().addArg("CPID",b);e.getRequest().addArg("XPath",a);if(g){e.getRequest().addArg("State",g)}e.post()};obiaf.ServerRequests.resolveActionXML=function(b,d,a,e){var c=new obids.AjaxRequest("ResolveActionXML",b,d);c.getRequest().addArg("ActionXML",a);if(e){c.getRequest().addArg("State",e)}c.post()};obiaf.ServerRequests.executeAction=function(a,d,c){var b=new obids.AjaxRequest("ExecuteAction",a,d);b.getRequest().addArg("ActionXML",c);b.post()};obiaf.ServerRequests._showErrors=function(e){var d=obips.ResourceManager.getSingleton();var f=obips.FloatingWindow.Manager.getSingleton();var a=d.getResource(saw.delivers.resourceFile,"kmsgDeliversServerError").getString();var b=new obips.ExceptionDialog.SimpleModel(a,"http://www.oracle.com/");for(var c=0;c<e.length;c++){b.aErrMsgs.push((e[c]?e[c]:""))}new obips.ExceptionDialog.Viewer(b,f);NQWDefaultCursor()};obiaf.ServerRequests.getLocationAliases=function(b){var a=new obids.AjaxRequest("LocationServiceGetLocationAliases",null,b);return a.post()};obiaf.ServerRequests.LocationServiceGetRealURL=function(b,c){var a=new obids.AjaxRequest("LocationServiceGetRealURL",null,c);a.getRequest().addArg("AliasedURL",b);return a.post()};obiaf.ServerRequests.getVisibleActions=function(b){var a=new obids.AjaxRequest("ActionRegistryGetVisibleActions",null,b);return a.post()};