问题描述
大家好,
我对网络服务很陌生,所以我很难理解我在回报等方面做了什么。我已经完成了设计和开发一项网络服务的任务,该服务将允许外部公司,b
访问我们的信息。对我来说,问题是这些公司将使用不同的平台来消费我们的网络服务。我的
问题是我应该用作更复杂数据的返回类型
结构。我是否应该使用内部数据集对象并返回它,
我应该创建一个类型化数据集,因为一个明确的XML Schema将会生成,或者我应该只构建和XML我从数据库中返回信息的字符串
并将其发送回来。
我知道所有的返回类型都被序列化为XML,但是这样做了是什么意思
当他们到达另一端时可以访问它们?我真的会在这里欣赏一些输入,如果有人能帮我理解这个,那将是很好的!
谢谢,
Rob
Hi All,
I am very new to web services, so am struggling to understand exactly what I
am doing with regards to its returns etc. I have been given the task of
designing and developing a web service which will allow external companies,
access to our information. The problem for me is that these companies will
be using different platforms from which to consume our web service. My
question is what I should use as the return type for more complex data
structures. Should I use the intrinsic dataset object and return that,
should I create a typed dataset as then a definitive XML Schema will be
produced, or should I just build and XML string from the information I return
from the database and send that back across.
I know that all the return types are serialized into XML, but does this mean
that they can be accessed when they get to other end?? I would really
appreciate some input here, if anyone can help me understand this that would
be great!
Thanks,
Rob
这篇关于DataSet Vs Xml字符串的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!