Hi,
I would like to create a webservice for processing an order and I would like to know what would be the best practice in passing an Order object through my web method.
Currently, I created a class called Order which consist of all of the variable I would need to pass.
Is it better to pass this object as an XML object? IF so, why and how?
This is what I currently have:
[Webmethod]
public void createOrder(Order order)
{
}
Entity: order.cs
private string _orderNumber;
public string OrderNumber
{ get; set; }
etc.
Thanks in advance for your response.