All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.codehaus.enunciate.modules.xfire.rpc-request-bean.fmt Maven / Gradle / Ivy

Go to download

The Enunciate XML module generates the artifacts required to deploy XFire-supported SOAP endpoints.

The newest version!
[#ftl]
[#--template for the client-side endpoint interface.--]
[#assign beanfqn=message.requestBeanName/]
[#assign beanPackage=beanfqn[0..(beanfqn?last_index_of(".") - 1)]/]
[#assign simpleBeanName=beanfqn[(beanfqn?last_index_of(".") + 1)..]/]
[@file name=(simpleBeanName + ".java")  package=beanPackage charset="utf-8"]
// Generated by Enunciate
package ${beanPackage};

/**
 * Request bean for the ${message.operationName} operation.
 */
@javax.xml.bind.annotation.XmlRootElement (
  name = "${message.operationName}",
  namespace = "${message.targetNamespace}"
)
@javax.xml.bind.annotation.XmlType (
  name = "${message.operationName}",
  namespace = "${message.targetNamespace}",
  propOrder = { [#list message.parts as part]"${part.partName?uncap_first}"[#if part_has_next], [/#if][/#list] }
)
public class ${simpleBeanName} {

  [#list message.parts as part]
  private ${part.type} ${part.partName};
  [/#list]
  [#list message.parts as part]

  /**
   * ${part.partDocs?default("(no documentation provided)")?chop_linebreak?replace("\n", "\n   * ")}
   */
  public ${part.type} get${part.partName?cap_first}() {
    return this.${part.partName};
  }

  /**
   * ${part.partDocs?default("(no documentation provided)")?chop_linebreak?replace("\n", "\n   * ")}
   */
  public void set${part.partName?cap_first}(${part.type} ${part.partName}) {
    this.${part.partName} = ${part.partName};
  }
  [/#list]
}
[/@file]




© 2015 - 2024 Weber Informatics LLC | Privacy Policy