WsdlPortType portType = createPortType(portTypeName, operationName, inputMessage, null);
return portType;
}
private void addComment() {
XmlComment comment = this.definitions.xml().newComment(
"\nThis document is automatically generated by " + WorkflowConstants.APPLICATION_NAME + " "
+ ApplicationVersion.VERSION + ".\n");
this.definitions.xml().insertChild(0, "\n");
this.definitions.xml().insertChild(0, comment);
this.definitions.xml().insertChild(0, "\n");