Web service suggest

xiaoxiao2021-03-06  48

1) Return type is simple type, such as simple type, int, string, etc. 2) Return type is Structural 3) Return Type is a class object 4) Return type is an array

The reason is that only the above can be parsed into standard XML documents by vs.net, so that they can be easily called without re-analyzing in J2EE and Flash. Note: It is best to return to the result. If Microsoft's DataSet is a XSD specification, while trying to customize WebService when customizing WebService. If it is just .NET, use Dataset . If it is a heterogeneous platform such as J2EE or Flash, it is best not to use DataSet, very troublesome, to analyze yourself, remember!

Therefore, it is best to use ORM technology on the architecture to return an object.

转载请注明原文地址:https://www.9cbs.com/read-91823.html

New Post(0)