#set( $package = $generated.packageName) #set( $serviceName = $generated.ServiceName) #set( $customMethodList = $generated.CustomMappings) package $package; import org.apache.ws.resource.ResourceContext; import org.apache.xmlbeans.XmlObject; import org.apache.xmlbeans.XmlException; import javax.xml.rpc.JAXRPCException; /** * A $serviceName service. * * This class is generated ONCE and never overwritten. * If there is a change to the WSDL, then the generated implemented interfaces * representing the implemented portTypes will change, thus showing a compile error to the * user. *

* NOTE: This file is generated, but is meant to be modified. * It will NOT be overwritten by subsequent runs of Wsdl2Java. */ public class ${serviceName}Service extends Abstract${serviceName}Service implements ${serviceName}CustomOperationsPortType { /** * Creates a new {@link ${serviceName}Service } object. * * @param resourceContext DOCUMENT_ME */ public ${serviceName}Service( ResourceContext resourceContext ) { super(resourceContext); init(); } #foreach( $key in $customMethodList.keySet() ) public $customMethodList.get($key).JavaMethodSignature { ${customMethodList.get($key).FullyQualifiedResponseClassName} responseDocument = ${customMethodList.get($key).FullyQualifiedResponseClassName}.Factory.newInstance(); /** * TODO implement method and populate the response object * * For more information on working-with/populating the XmlBean-generated types. * * See http://xmlbeans.apache.org/documentation/tutorial_getstarted.html#Results+of+Compiling+the+Schema */ return responseDocument; } #end }