Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

declaring Namespace for webservice in Jscript

Status
Not open for further replies.

GIGN

Programmer
Joined
Oct 6, 2000
Messages
1,082
Location
NZ
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=&quot;JSCRIPT&quot; class=&quot;XMLFileManager&quot; %>

import System;
import System.Text;
import System.Globalization;
import System.Web.Services;
import System.Web.Services.Protocols


WebService(namespace=&quot; class XMLFileManager extends WebService {


But get &quot;variable 'Namespace' has not been declared&quot;.

These do work:


WebMethod(Description=&quot;Saves editable elements to specified file&quot;,
EnableSession=true
)
public function save(xmlFilePath:String,xPath:String,pos:int):void
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top