[WebMethod]
public Response ValidateAddress(Request request)
{
return new test_AddressValidation().GenerateResponse(
test_AddressValidation.ResponseType.Ambiguous);
}
...
public class Request
{
public Address Address;
}
public class Address
{
public string Address1;
public string Address2;
public string City;
public string State;
public string Zip;
public AddressClassification AddressClassification;
}
public class AddressClassification
{
public int Code;
public string Description;
}
Showing posts with label WebService JSON AJAX C#. Show all posts
Showing posts with label WebService JSON AJAX C#. Show all posts
Saturday, October 2, 2010
Building JSON object to send to an AJAX WebService
เขียนโดย
abcomp01
ที่
11:12 AM
0
ความคิดเห็น
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
ป้ายกำกับ:
WebService JSON AJAX C#
Subscribe to:
Posts (Atom)