topical media & game development
professional-xml-21-Listing-21-5.txt / txt
using System;
using Microsoft.Web.Services3.Security.Tokens;
public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
localhost.ServiceWse ws = new localhost.ServiceWse();
UsernameToken ut = new UsernameToken("BEvjen", "BEvjen");
ws.SetClientCredential<UsernameToken>(ut);
ws.SetPolicy("examplePolicy");
int result = ws.Add(10, 20);
Response.Write(result.ToString());
}
}
(C) Æliens
20/2/2008
You may not copy or print any of this material without explicit permission of the author or the publisher.
In case of other copyright issues, contact the author.