Soap Response performance
I have a soap webservice extended from
Lets say i have web method and have return type of following classes (either one of them)
Class ReturnTypeA
{
}
Class ReturnTypeB
{
}
Which return type class has better performance while in terms of xmL serialization ? A or B
my client application is in C#
Hi Bapu,
without having tested the actual performance difference of these different approaches yet. Usually in a webservice context, the serialisation itself is taking less time than the logic around it. The requests have to go through the webserver/csp gateway and you have your connections latency and bandwidth to consider as well.
That being said, why are you trying to use %XML.DataSet? Is your SelectDoses a %ResultSet? See http://docs.intersystems.com/latest/csp/documatic/%25CSP.Documatic.cls?APP=1&LIBRARY=%25SYS&CLASSNAME=%25XML.DataSet