Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Can someone help me to connect .net web services with nusoap

adassadass Posts: 1Member
Can someone help me to connect .net web services with nusoap,

Here are the sample .net code to access the web services,

public partial class WebServiceTest : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
this.cmdExecuteAction.ServerClick += new System.EventHandler(this.cmdExecuteAction_ServerClick);
}

private void cmdExecuteAction_ServerClick(object sender, System.EventArgs e)
{
localhost.TestService TestService = new localhost.TestService();
ExecuteActionRequest request = new ExecuteActionRequest();
ExecuteActionResponse response = new ExecuteActionResponse();

/**** add person ****/
request.Action = Actions.Add;
Person person = new Person();
person.FirstName = "Johnny";
person.LastName = "Roberts Jr";
person.UserTypeCode = "MEM";
person.HomePhone = "555-555-5555";
person.HomePhone = "555-555-5555";
person.CellPhone = "555-555-5555";
person.PasswordHash = "dsfadsfasdfasdfasfzxcvcx";
person.PasswordSalt = "jrob";

request.Person = person;

response = TestService.ExecuteAction(request);
}
}

Anyone please help me how to write the coding in php to access .net web services with using nusoap.

Thanks in advance.
Sign In or Register to comment.