1. How can I access the object types (e.g. Order, Customer) from within my client app? E.G. Order order = foo bar
2. Can objects be sent via http? I.E. If I call a method using the webservice that returns an order object, can I receive it on the client? My attepts at doing this so far have not succeeded.
In order to make the Order objects seriazible I added the [DataContract] attribute both in Order class as well as in baseEntity class. I also added [DataMember] attribute to each member of this class.
When from my client try to call this method I get HTTP error. The only way I have managed to get data from nopcommerce back to my client is by calling public DataSet ExecuteDataSet(string[] sqlStatements, string usernameOrEmail, string userPassword)
The problem is I do not want DATASETS. I need objects.
Any suggestions?
Thank you very much in advance
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.