Today started out ok, I got to work around 12:15, faster than most days, I get out of class at 11:30, and its a 15 minute walk home, and a 20 minute drive, so you can work out that math.
Anyway, what did I do? ASP XMLRPC is well on its way, I've got the basic types nearly working correctly, the fussy one being <struct>.
The simple types allow you to construct your parameters and be certain that you will provide the correct structure to your query. Thinking about this now, I'm probably not going to use this all too often, however; I do know that it works. :) I think building the XMLRPC <methodCall> using these built in types really helped build other aspects of the system.
The method response really works itself well now for error handling, I can easily built the xml for the error messages in a fault methodresponse. I can just return this:xmlrpc.faultresponse ("faultCode_goes_here","faultString_goes_here).as_xml()
Yup. So I have the factory object xmlrpc nearly done, handles most things, except the dict -> struct which for some reason I left out, well, I misplaced it. Also, there are some refactorings left to be done. All in all, it might be finished up and ready to actually use by Wednesday. Another note, I'm not sure whats up with the original xml parsing code, but I removed some of it and made it more simple I think. Anyhow, I like it better, 2 functions, xml_to_value(xmltree) and xmlnode_to_value (xmlnode) <--- assumes that you give it the first "value" node pointer. Yup. so, those are simplified. I'm going to change the rest to use the dom.firstChild() stuff, I'm not sure if its an extention or part of the spec... if it is part of the spec, the code will change. . .
I wake up. I go to class. I go to work. Learning french isn't that hard. Semantics is kinda difficult, have to pay attention to the notation the Prof. wants. And my english class... who would've thought I'd take a class about STYLE, where the things we write about are comparisions of the STYLE of two STYLE books. Go figure.