Parsing the XML Response

As you can see in Figure 3-2, the Logon class has a method called {parse-xml}, which is responsible for initiating and returning the results of parsing the XML message returned from executing the server-side process. As seen in Figure 3-13, this method will only run if the call to the HTTPCommunicate.{connect} method indicates that it has worked correctly and has an XML message to process.

The {parse-xml} method is actually an empty method that will be overridden by applications based on this enterprise framework; therefore, you will find the implementation details in the next chapter.

Get Enterprise Curl now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.