Does anybody knows how to invoke a WebService that requires Authentication?
Actually I am trying to invoke a method on a WebService developed in .Net that requires a custom SoapHeader but can't find a way to do this in Flash.
To consume the method in c# client is pretty easy:
// instantiate the Web Service Proxy
WebService1 ws = new WebService1();
// instantiate the Header Object
AuthHeader myHeader = new AuthHeader();
myHeader.sSignature = <my password>;
// Set the Custom Soap Header
ws.AuthHeader = myHeader;
// This is the secure method.
String result = ws.SecureMethod();
Actually I am trying to invoke a method on a WebService developed in .Net that requires a custom SoapHeader but can't find a way to do this in Flash.
To consume the method in c# client is pretty easy:
// instantiate the Web Service Proxy
WebService1 ws = new WebService1();
// instantiate the Header Object
AuthHeader myHeader = new AuthHeader();
myHeader.sSignature = <my password>;
// Set the Custom Soap Header
ws.AuthHeader = myHeader;
// This is the secure method.
String result = ws.SecureMethod();