Mobile Web Services

A

Adacal

Hi,
Currently I am working on a project related with mobile web services.
So far I've developed sample applications in .NET CF using web
services. As the next step I'm planning to analyse the performance of
web services and figure out the ways to improve the performance.
However, I could not find any info about the underlying things done
automatically by .NET CF such as SOAP calls, parsing of XML Documents,
Marshalling etc. For example I would like to learn the size of the
SOAP packets sent and received by mobile client, get the time it takes
to parse the message etc. I wonder whether there is a way to learn
such things or change default parser from SAX to DOM or vice versa and
see the performance gain. Where can I find any resource (documents,
sample code etc) related with these issues?
Thanks for any help,
-adacal
 
C

casey chesnut

..NET CF handles web services the same as desktop .NET does.
(the desktop is a little different and generates code the 1st time an object
is serialized to improve performance,
CF does not get this speed-up, so is generally considered slow)
it does handle most everything for you.
you cannot change the way serialization happens,
nor does .NET offer a SAX-style parser.
if you need to hook the outgoing or incoming stream,
then you can use a SoapExtension.
the size of the SOAP packets will vary based on the message you are sending.

the other option is to handle everything yourself,
and use the HttpWebRequest object.
if you want to do advanced WS stuff, then you could check here:
http://www.brains-N-brawn.com/cfWSE2

Thanks,
casey
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top