Previous Topic: WebServicePluginMessageOperationsTemplate.wsdlNext Topic: WebServicePluginSampleClientTemplate.java


WebServicePluginClassicOperationTemplate.java

This template file is used to populate the wrapper program that calls the XML Java proxy. There is one method for every operation in the service. There is also a template called WebServicePluginOperationTemplate.java. This template is used with the AllFusion Gen Toolset and has the same overall structure as the WebServicePluginClassicOperationTemplate.java file.

The signature of the method uses the Axis message style that takes a single Document object parameter and returns a Document object result. The document object includes the entire SOAP body and allows the method to work directly with the XML.

The basic flow of the program is:

This template uses the variable <operation>, which is the name of the current operation.