SOAP Method Section
The AddMethod method adds the name of the method element being processed. Additional attributes for this method can be set using the AddAttribute XmlNode method.
You don't have to specifically add a SOAP body section. The body is automatically added when you call the AddMethod method.
The AddParm method sets the parameters for the parameter element of the method as a name, value pair. Multiple parameters can be set and are used in the order that this method is called. If an XML Schema is defined, types can be used using the AddAttribute XmlNode method. Any number of parameter name-value pairs can be added for a method and are added to the XmlDoc in the order that the AddParm methods are called.
You can add parameters to a method only after you add the method. The parameters are added in the order you add them in the PeopleCode program.