mandkcasey
10-01-2007, 07:56 PM
I searched on the web for this and there we lots of similar problems, but the fixes aren't working. This is all I am trying to do at the moment. I keep getting "Packages cannot be nested".
package {
import mx.rpc.soap.WebService;
import mx.rpc.soap.WSDL;
public class WikiUsers
{
public function RegisterUser(Email:String, Password:string):string
{
var wsUsers = new WebService();
var Active:int = 1;
wsUsers.wsdl = "http://localhost:2593/TranscriptionWiki/TranscriptionWiki.asmx?WSDL";
wsUsers.loadWSDL();
wsUsers.RegisterUser(Email, Password, Active);
}
}
}
package {
import mx.rpc.soap.WebService;
import mx.rpc.soap.WSDL;
public class WikiUsers
{
public function RegisterUser(Email:String, Password:string):string
{
var wsUsers = new WebService();
var Active:int = 1;
wsUsers.wsdl = "http://localhost:2593/TranscriptionWiki/TranscriptionWiki.asmx?WSDL";
wsUsers.loadWSDL();
wsUsers.RegisterUser(Email, Password, Active);
}
}
}