/// <summary> /// This method implements GET processing for inventory. /// Any remaining parameters are used to locate the /// corresponding subtree based upon node name. /// </summary> /// <param name=rdata>HTTP service request work area</param> private void DoGet(InventoryRequestData rdata) { rdata.initXmlWriter(); rdata.writer.WriteStartElement(String.Empty,"Inventory",String.Empty); // If there are additional parameters, then these represent // a path relative to the root of the inventory. This path // must be traversed before we format the sub-tree thus // identified. traverse(rdata, rdata.root, PARM_PATH); // Close all open elements rdata.writer.WriteFullEndElement(); // Indicate a successful request rdata.Complete(); // Send the response to the user. The body will be implicitly // constructed from the result of the XML writer. rdata.Respond(String.Format("Inventory {0} Normal completion", rdata.method)); }