OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Web Services Best Practice (was: Interesting XML-DIST-APP thread)

[ Lists Home | Date Index | Thread Index ]

I started this discussion on the other list and have been truly
fascinated by its flow.  Thanks everyone!

I have been trying to summarize and organize in my mind all of the
discussion.  It seems to me that the discussion is leading towards a
"best practice" for using XML messaging (i.e., SOAP):

1. Stay away from using XML messaging to do fine-grained RPC.  For
example, stay away from a service which returns the square root of a
number.  Stay away from a service that returns a stock quote (this is
the classic-cited example of a Web service).

2. Conversely, use course-grained RPC.  That is, use Web services that
"do a lot of work, and return a lot of information".

3. Consider making the XML messages asynchronous.

4. Always take the overall system performance into account.  Don't
fine-tune your XML messaging when it consumes a small percentage of the
overall system time.

Any other "best practices"?  /Roger





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS