Robby
Ultimate Contributor
I'm posting the following on behalf of a colleague....
I am trying to decide which data format to work with from ASP.Net. Currently my Business layer assemblies communicate in XML. An XML request is formulated within the UI code and sent to the BusinessServices layer, which in turn processes the XML and returns an XML reply. This method was chosen for a number of reasons:
1) complete decoupling between the UI and Business Service layer
2) Before .Net and the advent of WebServices, it was a way for external clients integrate portions of the applications via this XML API
Question 1
---------------
Now that clients can communicate with my application via web services, should I continue to communicate with XML in both directions or does this add overhead in my Business services layer? Having to validate the XML and decode it.
Question 2
---------------
Formulating XML, sending it to the Business layer and then decoding the reply adds some overhead to my UI layer. Should I continue in this manner or pass dataset's (or arrays or whatever) back from the Business Services layer and work with that?
Thanks for reading DS.
I am trying to decide which data format to work with from ASP.Net. Currently my Business layer assemblies communicate in XML. An XML request is formulated within the UI code and sent to the BusinessServices layer, which in turn processes the XML and returns an XML reply. This method was chosen for a number of reasons:
1) complete decoupling between the UI and Business Service layer
2) Before .Net and the advent of WebServices, it was a way for external clients integrate portions of the applications via this XML API
Question 1
---------------
Now that clients can communicate with my application via web services, should I continue to communicate with XML in both directions or does this add overhead in my Business services layer? Having to validate the XML and decode it.
Question 2
---------------
Formulating XML, sending it to the Business layer and then decoding the reply adds some overhead to my UI layer. Should I continue in this manner or pass dataset's (or arrays or whatever) back from the Business Services layer and work with that?
Thanks for reading DS.