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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Flash + WebServices + Authenticate

Status
Not open for further replies.

urielk

Programmer
Jun 13, 2001
15
CA
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();

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top