FYP Final Report v1.0.0
Copyright and All Rights Reserved To: Pee-Lo Team @2003/04
48
The codes in Snippet 9 all seems very wordy, redundant, perhaps more difficult to read. Next, the
developer begins by declaring an object class will be used to contain data and be sent to the
servicing XML web services. The foundation to build this class is declared in the WSDL contract.
This code is shown in line 393. Line 391 will initialize a service object to accommodate all the Pee-
LoWS XML web services functions.
Line 395 to 403 is all the codes that the developer needs to code in order to bind the data stored
sent by the servicing XML web services. When compiled (and assuming no logic or syntax errors)
the whole application is done and ready to work.
Snippet 8 is about how the application consumes the Pee-LoWS XML Web Services. Snippet 10
focus on how Pee-LoAA sends information to Pee-LoWS.
Snippet 10: Code to Send Data to Pee-LoWS XML Web Services
The codes that we are focusing on in Snippet 10 will be between Line 943 to 953. Codes in Line
854 and 865 is as explained previously; are used to initialize the objects to interact with Pee-LoWS.
Line 943 to 951 actually does the assigning tasks. The developer only needs to assign the values
captured by the user interfaces and channeled it into an object which later, in Line 953, will be sent
to Pee-LoWS via the proxy class. That is just how simple it is.