|
It would be fairly easy to assemble an XML document to make a request, but when the response comes back you need to have a way to parse. An XML parser can server the document up in its various pieces; however, if that functionality is not available to you there needs to be some way to break the document up into its appropriate pieces. Otherwise your program will have the ability to send the request without the ability of reading the response.
It would be possible to break up the document using a series of substring and other string-parsing methods, but the location of the elements can vary inside the document. Thus, there is no guarantee this method would work. Figure 13.3 illustrates how reading the response is the next piece of the puzzle.
Figure 13.3: Reading the response is the next part of designing your Web Services software.
|