For some reason I cannot get this to work - though the WebMethod stuff does - so how can I declare the namespace for my webservice using JSCRIPT.
I have tried variations on :
<%@ webservice language="JSCRIPT" class="XMLFileManager" %>
import System;
import System.Text;
import System.Globalization;
import System.Web.Services;
import System.Web.Services.Protocols
WebService(namespace=" class XMLFileManager extends WebService {
But get "variable 'Namespace' has not been declared".
These do work:
WebMethod(Description="Saves editable elements to specified file",
EnableSession=true
)
public function save(xmlFilePath:String,xPath:String,pos:int):void
I have tried variations on :
<%@ webservice language="JSCRIPT" class="XMLFileManager" %>
import System;
import System.Text;
import System.Globalization;
import System.Web.Services;
import System.Web.Services.Protocols
WebService(namespace=" class XMLFileManager extends WebService {
But get "variable 'Namespace' has not been declared".
These do work:
WebMethod(Description="Saves editable elements to specified file",
EnableSession=true
)
public function save(xmlFilePath:String,xPath:String,pos:int):void