/SVN-ALFEventEmitter/trunk/src/net/brutex/emitter/ALFEmitter.java |
---|
21,14 → 21,10 |
import java.io.IOException; |
import java.io.StringWriter; |
import java.math.BigInteger; |
import java.net.MalformedURLException; |
import java.net.URL; |
import java.text.SimpleDateFormat; |
import java.util.ArrayList; |
import java.util.HashMap; |
import java.util.Iterator; |
import java.util.List; |
import java.util.Map; |
import java.util.UUID; |
import javax.xml.bind.JAXBContext; |
60,8 → 56,6 |
import net.brutex.sbm.sbmappservices72.api.SectionsOption; |
import net.brutex.sbm.sbmappservices72.api.TTItemList; |
import net.brutex.sbm.sbmappservices72.api.TableIdentifier; |
import net.brutex.svn.SVNAdminCommand; |
import net.brutex.svn.SVNAdminExecutor; |
import net.brutex.svn.SVNCommitInfo; |
import net.brutex.svn.SVNLookExecutor; |
94,9 → 88,7 |
import org.apache.log4j.Logger; |
import org.jaxen.JaxenException; |
import com.sun.xml.bind.v2.runtime.JAXBContextImpl; |
/** |
* The Class ALFEmitter. |
* |
112,7 → 104,6 |
// Keys to read from the configuration file. |
// |
private static final String OPTION_SVNLOOK = "svnlook"; |
private static final String OPTION_SVNADMIN = "svnadmin"; |
private static final String OPTION_LOCALE = "env.LANG"; |
private static final String OPTION_ENCODING = "env.encoding"; |
private static final String OPTION_ISSUEPATTERN = "issuepattern"; |
143,7 → 134,6 |
private static final String OPTION_IS_DROPENABLED = "isDropResponse"; |
private static final String OPTION_IS_FORCEFAILENABLED = "forcefail"; |
private static final String OPTION_IS_VERIFICATIONENABLED = "isWithVerification"; |
private static final String OPTION_IS_UPDATECOMMITMESSAGE = "isWithMessageUpdate"; |
private static final String OPTION_IS_WSTRACE = "trace"; |
private static final String OPTION_IS_XMLPROCESSINGENABLED = "isXmlProcessingEnabled"; |
176,8 → 166,6 |
private final List<String> internalissues = new ArrayList<String>(); |
//SBM IssueTypePrefix+IssueId, Title |
private final Map<String, String> issues_titles = new HashMap<String, String>(); |
/** |
* The main method. |
199,9 → 187,6 |
ALFEmitter emitter = new ALFEmitter(cmd, startTime); |
} catch (ConfigurationException e) { |
System.exit(1); |
} catch (MalformedURLException e) { |
logger.error("Could not find/ load wsdl url.", e); |
System.exit(1); |
} |
long endTime = System.currentTimeMillis(); |
logger.debug("Total execution took '"+(endTime-startTime)+"' milliseconds."); |
277,7 → 262,7 |
return b.booleanValue(); |
} |
private ALFEmitter(CommandLine cmd, long startTime) throws ConfigurationException, MalformedURLException { |
private ALFEmitter(CommandLine cmd, long startTime) throws ConfigurationException { |
this.startTime = startTime; |
repos = cmd.getOptionValue(PARAM_REPOS); |
txn = cmd.getOptionValue(PARAM_TXN); |
292,7 → 277,7 |
config = new PropertiesConfiguration(config_file); |
} catch (ConfigurationException e) { |
logger.error("Could not find/ load '"+config_file+"' file.", e); |
this.exit(1); |
System.exit(1); |
} |
/* |
315,7 → 300,6 |
final boolean isXmlProcessingEnabled = readConfPropertyAsBoolean(OPTION_IS_XMLPROCESSINGENABLED, true, true, null); |
final boolean isWithVerification= readConfPropertyAsBoolean(OPTION_IS_VERIFICATIONENABLED, false, true, null); |
final boolean isRemoveIssues = readConfPropertyAsBoolean(OPTION_REMOVE_ISSUES_FROM_COMMIT, false, true, ""); |
final boolean isWithCommitUpdate= readConfPropertyAsBoolean(OPTION_IS_UPDATECOMMITMESSAGE, false, true, ""); |
/* |
* SVNLook phase |
354,7 → 338,7 |
boolean isOK = verify(info.getIssues(), isTrace); |
if(! isOK ) { |
logger.error("Verification of issue failed. No matching issue was found."); |
this.exit(1); |
System.exit(1); |
} |
} else { |
sbm_user = null; sbm_pass=null; endpoint=null; querytable=null; query=null; |
361,31 → 345,6 |
} |
/* |
* Modify original commit message |
* using svnadmin command |
*/ |
if(isWithCommitUpdate) { |
String svnadmin = readConfPropertyAsString(OPTION_SVNADMIN, null, true, null); |
EmitterUtil.verifyFile(svnadmin, false, true); |
/* If verification was turned on, we do already have the titles |
* so only try to load the items when verification was off |
*/ |
if(! isWithVerification) { |
verify(info.getIssues(), isTrace); |
} |
/* Append associated items information and change log message */ |
StringBuffer newmessage = new StringBuffer(); |
newmessage.append(info.getLogmessage()); |
newmessage.append("\n\n Associated SBM items:\n"); |
for(String s : issues_titles.keySet()) { |
newmessage.append(s+": "); |
newmessage.append(issues_titles.get(s)); |
newmessage.append("\n"); |
} |
postCommitUpdate(new File(svnadmin), repos, locale, encoding, rev, newmessage.toString()); |
} |
/* |
* XML processing phase |
*/ |
if(isXmlProcessingEnabled) { |
393,7 → 352,8 |
} |
/* |
* ALF Event Send phase |
*/ |
440,24 → 400,25 |
} catch (FileNotFoundException e) { |
logger.error(e.getMessage(), e); |
this.exit(1); |
System.exit(1); |
} catch (ClientProtocolException e) { |
logger.error(e.getMessage(), e); |
this.exit(1); |
System.exit(1); |
} catch (IOException e) { |
logger.error(e.getMessage(), e); |
this.exit(1); |
System.exit(1); |
} catch (XMLStreamException e) { |
logger.error(e.getMessage(), e); |
this.exit(1); |
System.exit(1); |
} catch (JaxenException e) { |
logger.error(e.getMessage(), e); |
this.exit(1); |
System.exit(1); |
} finally { |
logger.debug("Total execution took '"+(System.currentTimeMillis()-startTime)+"' milliseconds."); |
String forcefail = config.getString(OPTION_IS_FORCEFAILENABLED, ""); |
if(forcefail.length()>0) { |
logger.warn("Force fail is active. All commits will be blocked."); |
this.exit(1); |
System.exit(1); |
} |
} |
529,7 → 490,7 |
.getDocument().getOMDocumentElement(); |
} catch (FileNotFoundException e1) { |
logger.error(String.format("Could not load XML event template from file '%s'.", eventtemplate), e1); |
this.exit(1); |
System.exit(1); |
} |
nss = readConfPropertyAsString(OPTION_EVENTNAMESPACE, "http://www.eclipse.org/alf/schema/EventBase/1", true, null); |
final String marker_logmessage = readConfPropertyAsString(OPTION_MARKER_LOGMESSAGE, "@@logmessage@@", true, null); |
561,25 → 522,9 |
} |
private boolean verify(List<String> issues, boolean isTrace) throws MalformedURLException { |
private boolean verify(List<String> issues, boolean isTrace) { |
for(String issueid : issues) { |
TTItemList items = getTTItems(issueid, isTrace); |
if(items == null) { |
return false; |
} |
} |
return true; |
} |
private TTItemList getTTItems(String issueid, boolean isTrace) throws MalformedURLException { |
long startTime = System.currentTimeMillis(); |
/* -- */ |
Sbmappservices72 ss = new Sbmappservices72(ClassLoader.getSystemResource("sbmappservices72.wsdl") ); |
logger.debug("Total execution of sbmappservices72 wsdl read took '"+(System.currentTimeMillis()-startTime)+"' milliseconds."); |
Sbmappservices72PortType port = ss.getSbmappservices72(); |
Client client = ClientProxy.getClient(port); |
590,9 → 535,7 |
BindingProvider bindingProvider = (BindingProvider) port; |
bindingProvider.getRequestContext().put( |
BindingProvider.ENDPOINT_ADDRESS_PROPERTY, endpoint); |
/* -- */ |
logger.debug("Total execution of sbmappservices72 initialisation took '"+(System.currentTimeMillis()-startTime)+"' milliseconds."); |
ObjectFactory fac = new ObjectFactory(); |
Auth auth = fac.createAuth(); |
auth.setUserId(fac.createAuthUserId(sbm_user)); |
602,18 → 545,15 |
table.setDbName(fac.createTableIdentifierDbName(querytable)); |
MultipleResponseItemOptions options = fac.createMultipleResponseItemOptions(); |
options.setSpecifiedSections(fac.createResponseItemOptionsSpecifiedSections("SECTION:FIXED")); |
options.setSections(SectionsOption.SECTIONS_SPECIFIED); |
options.setSections(SectionsOption.SECTIONS_NONE); |
issueid = issueid.replaceAll("[^0-9]", ""); |
String queryWhereClause = "TS_ISSUEID = '"+issueid+"'"; |
if(query!=null && query.length()>0) queryWhereClause = queryWhereClause + " And " + query; |
TTItemList items = null; |
logger.debug(String.format("Using query against table '%s'. Query where clause: '%s'", querytable, queryWhereClause )); |
try { |
startTime = System.currentTimeMillis(); |
items = port.getItemsByQuery(auth, table, queryWhereClause, "", null, BigInteger.valueOf(1), options); |
logger.debug("Total execution of sbmappservices72 GetItems took '"+(System.currentTimeMillis()-startTime)+"' milliseconds."); |
for(String issue : issues) { |
issue = issue.replaceAll("[^0-9]", ""); |
String queryWhereClause = "TS_ISSUEID = '"+issue+"'"; |
if(query!=null && query.length()>0) queryWhereClause = queryWhereClause + " And " + query; |
logger.debug(String.format("Using query against table '%s'. Query where clause: '%s'", querytable, queryWhereClause )); |
try { |
TTItemList items = port.getItemsByQuery(auth, table, queryWhereClause, "", null, BigInteger.valueOf(1), options); |
//Marshaller m = JAXBContext.newInstance(TTItemList.class).createMarshaller(); |
//m.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, Boolean.TRUE); |
621,35 → 561,23 |
logger.debug(String.format("Got Response from getItemsByQuery")); |
if(items!=null) { |
logger.debug(String.format("Verification query matched '%s' item(s) for issue '%s.'",items.getTotalCount(), issueid)); |
logger.debug(String.format("Verification query matched '%s' item(s) for issue '%s.'",items.getTotalCount(), issue)); |
} |
if(items.getTotalCount().intValue()<=0) { |
return null; |
return false; |
} else { |
/* store internal ids (tableid:itemid) */ |
internalissues.add(items.getItem().get(0).getId().getValue().getTableIdItemId().getValue()); |
/* Store a map entry with internal id and title */ |
issues_titles.put(items.getItem().get(0).getId().getValue().getDisplayName().getValue(), |
items.getItem().get(0).getTitle().getValue()); |
} |
} catch (AEWebservicesFaultFault e) { |
} catch (AEWebservicesFaultFault e) { |
logger.debug("Web service fault: " + e.getFaultInfo()); |
} catch (Exception e) { |
} catch (Exception e) { |
logger.debug("Unknown Exception", e); |
} |
} |
return items; |
} |
return true; |
private void postCommitUpdate(File svnadmin, String repos, String locale, String encoding, String revision, String newmessage) { |
SVNAdminExecutor exec = new SVNAdminExecutor(svnadmin, repos); |
exec.setRev(revision); |
exec.setMessage(newmessage); |
exec.setEncoding(encoding); |
exec.setLocale(locale); |
exec.executeSVNAdmin(SVNAdminCommand.SETLOG); |
} |
} |
private void addElement(String pattern, String newCdata, boolean wrapCDATA) throws JaxenException { |
OMComment comment = findComment(pattern); |
690,12 → 618,6 |
logger.warn("Comment '"+pattern+"' was not found in the XML template."); |
return null; |
} |
private void exit(int errorCode) { |
long endTime = System.currentTimeMillis(); |
logger.debug("Total execution took '"+(endTime-startTime)+"' milliseconds."); |
System.exit(errorCode); |
} |
@SuppressWarnings("static-access") |
private static Options getOptions() { |
734,7 → 656,7 |
// automatically generate the help statement |
HelpFormatter formatter = new HelpFormatter(); |
String header = "\nSVN-ALFEventEmitter " + VERSION +", a SVN hook implemented in Java to emit Eclipse ALFEvents on commit.\n\n"; |
String footer = "Please send bug reports to bru@brutex.de.\n(c)2014 Brian Rosenberger"; |
String footer = "Please send bug reports to bru@brutex.de.\n(c)2013 Brian Rosenberger"; |
formatter.printHelp("java -jar SVN-ALFEventEmitter", header, getOptions(), footer, true); |
} |
/SVN-ALFEventEmitter/trunk/src/net/brutex/svn/SVNAdminCommand.java |
---|
File deleted |
Property changes: |
Deleted: svn:mime-type |
-text/plain |
\ No newline at end of property |
/SVN-ALFEventEmitter/trunk/src/net/brutex/svn/SVNAdminExecutor.java |
---|
File deleted |
Property changes: |
Deleted: svn:mime-type |
-text/plain |
\ No newline at end of property |
/SVN-ALFEventEmitter/trunk/src/sbmappservices72.wsdl |
---|
2,8 → 2,8 |
<WSDL:definitions xmlns:c14n="http://www.w3.org/2001/10/xml-exc-c14n#" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:diag="urn:SerenaDiagnostics" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://localhost:80/gsoap/sbmappservices72.wsdl" xmlns:DIME="http://schemas.xmlsoap.org/ws/2002/04/dime/wsdl/" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:SOAP="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:MIME="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:ae="urn:sbmappservices72" xmlns="http://schemas.xmlsoap.org/wsdl/" name="sbmappservices72" targetNamespace="http://localhost:80/gsoap/sbmappservices72.wsdl" xmlns:WSDL="http://schemas.xmlsoap.org/wsdl/"> |
<WSDL:types> |
<xsd:schema xmlns="http://www.w3.org/2001/XMLSchema" attributeFormDefault="unqualified" elementFormDefault="unqualified" targetNamespace="urn:SerenaDiagnostics"> |
<!-- <xsd:import namespace="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" /> --> |
<!-- <xsd:import namespace="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" /> --> |
<xsd:import namespace="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" /> |
<xsd:import namespace="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" /> |
<xsd:import namespace="urn:sbmappservices72" /> |
<xsd:complexType name="SerenaDiagnostics"> |
<xsd:sequence> |
14,10 → 14,8 |
<xsd:element name="SerenaDiagnostics" type="diag:SerenaDiagnostics" /> |
</xsd:schema> |
<xsd:schema xmlns="http://www.w3.org/2001/XMLSchema" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="urn:sbmappservices72"> |
<!-- |
<xsd:import namespace="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" /> |
<xsd:import namespace="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" /> |
--> |
<xsd:import namespace="urn:SerenaDiagnostics" /> |
<xsd:element name="AEWebservicesFault" type="xsd:string" /> |
<xsd:simpleType name="PrivilegeKind"> |
1559,19 → 1557,78 |
<WSDL:message name="AEWebservicesFaultFault"> |
<WSDL:part name="fault" element="ae:AEWebservicesFault" /> |
</WSDL:message> |
- |
+ <WSDL:portType name="sbmappservices72PortType"> |
+ <WSDL:operation name="Logout"> |
+ <documentation>Logs out the current active session, releasing license.</documentation> |
+ <WSDL:input message="tns:Logout" /> |
+ <WSDL:output message="tns:LogoutResponse" /> |
+ <WSDL:fault name="AEWebservicesFault" message="tns:AEWebservicesFaultFault" /> |
+ </WSDL:operation> |
+ <WSDL:operation name="GetVersion"> |
+ <documentation>Gets the server version.</documentation> |
+ <WSDL:input message="tns:GetVersion" /> |
+ <WSDL:output message="tns:GetVersionResponse" /> |
+ <WSDL:fault name="AEWebservicesFault" message="tns:AEWebservicesFaultFault" /> |
+ </WSDL:operation> |
+ <WSDL:operation name="GetApplications"> |
+ <documentation>Gets the list of available applications.</documentation> |
+ <WSDL:input message="tns:GetApplications" /> |
+ <WSDL:output message="tns:GetApplicationsResponse" /> |
+ <WSDL:fault name="AEWebservicesFault" message="tns:AEWebservicesFaultFault" /> |
+ </WSDL:operation> |
+ <WSDL:operation name="GetSolutions"> |
+ <documentation>Gets the list of available solutions.</documentation> |
+ <WSDL:input message="tns:GetSolutions" /> |
+ <WSDL:output message="tns:GetSolutionsResponse" /> |
+ <WSDL:fault name="AEWebservicesFault" message="tns:AEWebservicesFaultFault" /> |
+ </WSDL:operation> |
+ <WSDL:operation name="GetTables"> |
+ <documentation>Gets the list of available tables, optionally filtered by solution and/or table type.</documentation> |
+ <WSDL:input message="tns:GetTables" /> |
+ <WSDL:output message="tns:GetTablesResponse" /> |
+ <WSDL:fault name="AEWebservicesFault" message="tns:AEWebservicesFaultFault" /> |
+ </WSDL:operation> |
+ <WSDL:operation name="GetReports"> |
+ <documentation>Gets a filtered list of reports.</documentation> |
+ <WSDL:input message="tns:GetReports" /> |
+ <WSDL:output message="tns:GetReportsResponse" /> |
+ <WSDL:fault name="AEWebservicesFault" message="tns:AEWebservicesFaultFault" /> |
+ </WSDL:operation> |
+ <WSDL:operation name="RunReport"> |
+ <documentation>Runs a specified report.</documentation> |
+ <WSDL:input message="tns:RunReport" /> |
+ <WSDL:output message="tns:RunReportResponse" /> |
+ <WSDL:fault name="AEWebservicesFault" message="tns:AEWebservicesFaultFault" /> |
+ </WSDL:operation> |
+ <WSDL:operation name="RunReportXml"> |
+ <documentation>Service definition of function ae__RunReportXml</documentation> |
+ <WSDL:input message="tns:RunReportXml" /> |
+ <WSDL:output message="tns:RunReportXmlResponse" /> |
+ </WSDL:operation> |
+ <WSDL:operation name="GetSubmitProjects"> |
+ <documentation>Gets the list of available projects available for submitting new items, optionally filtered by table id.</documentation> |
+ <WSDL:input message="tns:GetSubmitProjects" /> |
+ <WSDL:output message="tns:GetSubmitProjectsResponse" /> |
+ <WSDL:fault name="AEWebservicesFault" message="tns:AEWebservicesFaultFault" /> |
+ </WSDL:operation> |
+ <WSDL:operation name="CreatePrimaryItem"> |
+ <documentation>Creates a new item, given a project and item data. Creates the item as a sub-item if a parent item is specified.</documentation> |
+ <WSDL:input message="tns:CreatePrimaryItem" /> |
+ <WSDL:output message="tns:CreatePrimaryItemResponse" /> |
+ <WSDL:fault name="AEWebservicesFault" message="tns:AEWebservicesFaultFault" /> |
+ </WSDL:operation> |
+ <WSDL:operation name="CreatePrimaryItems"> |
+ <documentation>Creates new item(s), given a project and item data. Creates the item(s) as sub-items if a parent item is specified.</documentation> |
+ <WSDL:input message="tns:CreatePrimaryItems" /> |
+ <WSDL:output message="tns:CreatePrimaryItemsResponse" /> |
+ <WSDL:fault name="AEWebservicesFault" message="tns:AEWebservicesFaultFault" /> |
+ </WSDL:operation> |
+ <WSDL:operation name="LinkSubtask"> |
+ <documentation>Links one item to another as a sub-task.</documentation> |
+ <WSDL:input message="tns:LinkSubtask" /> |
+ <WSDL:output message="tns:LinkSubtaskResponse" /> |
+ <WSDL:fault name="AEWebservicesFault" message="tns:AEWebservicesFaultFault" /> |
+ </WSDL:operation> |
<WSDL:operation name="CreateAuxItem"> |
<documentation>Creates a new aux item, given a table id and item data.</documentation> |
<WSDL:input message="tns:CreateAuxItem" /> |
@@ -1589,8 +1646,13 @@ |
<WSDL:input message="tns:CreateFileAttachment" /> |
<WSDL:output message="tns:CreateFileAttachmentResponse" /> |
<WSDL:fault name="AEWebservicesFault" message="tns:AEWebservicesFaultFault" /> |
- |
+ </WSDL:operation> |
+ <WSDL:operation name="CreateNoteAttachment"> |
+ <documentation>attaches note.</documentation> |
+ <WSDL:input message="tns:CreateNoteAttachment" /> |
+ <WSDL:output message="tns:CreateNoteAttachmentResponse" /> |
+ <WSDL:fault name="AEWebservicesFault" message="tns:AEWebservicesFaultFault" /> |
+ </WSDL:operation> |
<WSDL:operation name="GetItem"> |
<documentation>Gets item, given an item id.</documentation> |
<WSDL:input message="tns:GetItem" /> |
@@ -1608,8 +1670,13 @@ |
<WSDL:input message="tns:GetItemsByQuery" /> |
<WSDL:output message="tns:GetItemsByQueryResponse" /> |
<WSDL:fault name="AEWebservicesFault" message="tns:AEWebservicesFaultFault" /> |
- |
+ </WSDL:operation> |
+ <WSDL:operation name="GetFileAttachment"> |
+ <documentation>Gets an existing file attachment, given an item id and attachment id.</documentation> |
+ <WSDL:input message="tns:GetFileAttachment" /> |
+ <WSDL:output message="tns:GetFileAttachmentResponse" /> |
+ <WSDL:fault name="AEWebservicesFault" message="tns:AEWebservicesFaultFault" /> |
+ </WSDL:operation> |
<WSDL:operation name="TransitionItem"> |
<documentation>Transitions existing item, given the the item id, plus any data to update, and transition id to use a non-default transition.</documentation> |
<WSDL:input message="tns:TransitionItem" /> |
@@ -1621,20 +1688,210 @@ |
<WSDL:input message="tns:TransitionItems" /> |
<WSDL:output message="tns:TransitionItemsResponse" /> |
<WSDL:fault name="AEWebservicesFault" message="tns:AEWebservicesFaultFault" /> |
- |
+ </WSDL:operation> |
+ <WSDL:operation name="GetAvailableTransitions"> |
+ <documentation>Return available transitions, given an item id and attribute name (may be null or empty).</documentation> |
+ <WSDL:input message="tns:GetAvailableTransitions" /> |
+ <WSDL:output message="tns:GetAvailableTransitionsResponse" /> |
+ <WSDL:fault name="AEWebservicesFault" message="tns:AEWebservicesFaultFault" /> |
+ </WSDL:operation> |
+ <WSDL:operation name="GetAvailableSubmitTransitions"> |
+ <documentation>Return available Submit transitions, given an item id and attribute name (may be null or empty).</documentation> |
+ <WSDL:input message="tns:GetAvailableSubmitTransitions" /> |
+ <WSDL:output message="tns:GetAvailableSubmitTransitionsResponse" /> |
+ <WSDL:fault name="AEWebservicesFault" message="tns:AEWebservicesFaultFault" /> |
+ </WSDL:operation> |
+ <WSDL:operation name="UpdateFileAttachment"> |
+ <documentation>Updates an existing attachment, given item id, and the file attachment contents.</documentation> |
+ <WSDL:input message="tns:UpdateFileAttachment" /> |
+ <WSDL:output message="tns:UpdateFileAttachmentResponse" /> |
+ <WSDL:fault name="AEWebservicesFault" message="tns:AEWebservicesFaultFault" /> |
+ </WSDL:operation> |
+ <WSDL:operation name="DeleteItems"> |
+ <documentation>Service definition of function ae__DeleteItems</documentation> |
+ <WSDL:input message="tns:DeleteItems" /> |
+ <WSDL:output message="tns:DeleteItemsResponse" /> |
+ </WSDL:operation> |
+ <WSDL:operation name="DeleteItemsByQuery"> |
+ <documentation>Deletes one or more items, given a table id and a query where clause.</documentation> |
+ <WSDL:input message="tns:DeleteItemsByQuery" /> |
+ <WSDL:output message="tns:DeleteItemsByQueryResponse" /> |
+ <WSDL:fault name="AEWebservicesFault" message="tns:AEWebservicesFaultFault" /> |
+ </WSDL:operation> |
+ <WSDL:operation name="DeleteAttachment"> |
+ <documentation>Deletes an existing attachment, which may be a note, item link, URL attachment or file attachment, given an attachment id.</documentation> |
+ <WSDL:input message="tns:DeleteAttachment" /> |
+ <WSDL:output message="tns:DeleteAttachmentResponse" /> |
+ <WSDL:fault name="AEWebservicesFault" message="tns:AEWebservicesFaultFault" /> |
+ </WSDL:operation> |
+ <WSDL:operation name="GetNoteLoggerInfo"> |
+ <documentation>Returns note logger information.</documentation> |
+ <WSDL:input message="tns:GetNoteLoggerInfo" /> |
+ <WSDL:output message="tns:GetNoteLoggerInfoResponse" /> |
+ <WSDL:fault name="AEWebservicesFault" message="tns:AEWebservicesFaultFault" /> |
+ </WSDL:operation> |
+ <WSDL:operation name="GetStateChangeHistory"> |
+ <documentation>Gets the state change history of an existing item, given a table id and internal item id.</documentation> |
+ <WSDL:input message="tns:GetStateChangeHistory" /> |
+ <WSDL:output message="tns:GetStateChangeHistoryResponse" /> |
+ <WSDL:fault name="AEWebservicesFault" message="tns:AEWebservicesFaultFault" /> |
+ </WSDL:operation> |
+ <WSDL:operation name="GetUsers"> |
+ <documentation>Returns user information one or more users. If getCurrentUser is true, then information about the current user is returned.</documentation> |
+ <WSDL:input message="tns:GetUsers" /> |
+ <WSDL:output message="tns:GetUsersResponse" /> |
+ <WSDL:fault name="AEWebservicesFault" message="tns:AEWebservicesFaultFault" /> |
+ </WSDL:operation> |
+ <WSDL:operation name="IsUserValid"> |
+ <documentation>Determine if the specified user is valid.</documentation> |
+ <WSDL:input message="tns:IsUserValid" /> |
+ <WSDL:output message="tns:IsUserValidResponse" /> |
+ <WSDL:fault name="AEWebservicesFault" message="tns:AEWebservicesFaultFault" /> |
+ </WSDL:operation> |
</WSDL:portType> |
<WSDL:binding name="sbmappservices72" type="tns:sbmappservices72PortType"> |
<SOAP:binding transport="http://schemas.xmlsoap.org/soap/http" /> |
+ <WSDL:operation name="Logout"> |
+ <SOAP:operation soapAction="" /> |
+ <WSDL:input> |
+ <SOAP:body use="literal" parts="parameters" /> |
+ </WSDL:input> |
+ <WSDL:output> |
+ <SOAP:body use="literal" parts="parameters" /> |
+ </WSDL:output> |
+ <WSDL:fault name="AEWebservicesFault"> |
+ <SOAP:fault use="literal" name="AEWebservicesFault" namespace="" /> |
+ </WSDL:fault> |
+ </WSDL:operation> |
+ <WSDL:operation name="GetVersion"> |
+ <SOAP:operation soapAction="" /> |
+ <WSDL:input> |
+ <SOAP:body use="literal" parts="parameters" /> |
+ </WSDL:input> |
+ <WSDL:output> |
+ <SOAP:body use="literal" parts="parameters" /> |
+ </WSDL:output> |
+ <WSDL:fault name="AEWebservicesFault"> |
+ <SOAP:fault use="literal" name="AEWebservicesFault" namespace="" /> |
+ </WSDL:fault> |
+ </WSDL:operation> |
+ <WSDL:operation name="GetApplications"> |
+ <SOAP:operation soapAction="" /> |
+ <WSDL:input> |
+ <SOAP:body use="literal" parts="parameters" /> |
+ </WSDL:input> |
+ <WSDL:output> |
+ <SOAP:body use="literal" parts="parameters" /> |
+ </WSDL:output> |
+ <WSDL:fault name="AEWebservicesFault"> |
+ <SOAP:fault use="literal" name="AEWebservicesFault" namespace="" /> |
+ </WSDL:fault> |
+ </WSDL:operation> |
+ <WSDL:operation name="GetSolutions"> |
+ <SOAP:operation soapAction="" /> |
+ <WSDL:input> |
+ <SOAP:body use="literal" parts="parameters" /> |
+ </WSDL:input> |
+ <WSDL:output> |
+ <SOAP:body use="literal" parts="parameters" /> |
+ </WSDL:output> |
+ <WSDL:fault name="AEWebservicesFault"> |
+ <SOAP:fault use="literal" name="AEWebservicesFault" namespace="" /> |
+ </WSDL:fault> |
+ </WSDL:operation> |
+ <WSDL:operation name="GetTables"> |
+ <SOAP:operation soapAction="" /> |
+ <WSDL:input> |
+ <SOAP:body use="literal" parts="parameters" /> |
+ </WSDL:input> |
+ <WSDL:output> |
+ <SOAP:body use="literal" parts="parameters" /> |
+ </WSDL:output> |
+ <WSDL:fault name="AEWebservicesFault"> |
+ <SOAP:fault use="literal" name="AEWebservicesFault" namespace="" /> |
+ </WSDL:fault> |
+ </WSDL:operation> |
+ <WSDL:operation name="GetReports"> |
+ <SOAP:operation soapAction="" /> |
+ <WSDL:input> |
+ <SOAP:body use="literal" parts="parameters" /> |
+ </WSDL:input> |
+ <WSDL:output> |
+ <SOAP:body use="literal" parts="parameters" /> |
+ </WSDL:output> |
+ <WSDL:fault name="AEWebservicesFault"> |
+ <SOAP:fault use="literal" name="AEWebservicesFault" namespace="" /> |
+ </WSDL:fault> |
+ </WSDL:operation> |
+ <WSDL:operation name="RunReport"> |
+ <SOAP:operation soapAction="" /> |
+ <WSDL:input> |
+ <SOAP:body use="literal" parts="parameters" /> |
+ </WSDL:input> |
+ <WSDL:output> |
+ <SOAP:body use="literal" parts="parameters" /> |
+ </WSDL:output> |
+ <WSDL:fault name="AEWebservicesFault"> |
+ <SOAP:fault use="literal" name="AEWebservicesFault" namespace="" /> |
+ </WSDL:fault> |
+ </WSDL:operation> |
+ <WSDL:operation name="RunReportXml"> |
+ <SOAP:operation soapAction="" /> |
+ <WSDL:input> |
+ <SOAP:body use="literal" parts="parameters" /> |
+ </WSDL:input> |
+ <WSDL:output> |
+ <SOAP:body use="literal" parts="parameters" /> |
+ </WSDL:output> |
+ </WSDL:operation> |
+ <WSDL:operation name="GetSubmitProjects"> |
+ <SOAP:operation soapAction="" /> |
+ <WSDL:input> |
+ <SOAP:body use="literal" parts="parameters" /> |
+ </WSDL:input> |
+ <WSDL:output> |
+ <SOAP:body use="literal" parts="parameters" /> |
+ </WSDL:output> |
+ <WSDL:fault name="AEWebservicesFault"> |
+ <SOAP:fault use="literal" name="AEWebservicesFault" namespace="" /> |
+ </WSDL:fault> |
+ </WSDL:operation> |
+ <WSDL:operation name="CreatePrimaryItem"> |
+ <SOAP:operation soapAction="" /> |
+ <WSDL:input> |
+ <SOAP:body use="literal" parts="parameters" /> |
+ </WSDL:input> |
+ <WSDL:output> |
+ <SOAP:body use="literal" parts="parameters" /> |
+ </WSDL:output> |
+ <WSDL:fault name="AEWebservicesFault"> |
+ <SOAP:fault use="literal" name="AEWebservicesFault" namespace="" /> |
+ </WSDL:fault> |
+ </WSDL:operation> |
+ <WSDL:operation name="CreatePrimaryItems"> |
+ <SOAP:operation soapAction="" /> |
+ <WSDL:input> |
+ <SOAP:body use="literal" parts="parameters" /> |
+ </WSDL:input> |
+ <WSDL:output> |
+ <SOAP:body use="literal" parts="parameters" /> |
+ </WSDL:output> |
+ <WSDL:fault name="AEWebservicesFault"> |
+ <SOAP:fault use="literal" name="AEWebservicesFault" namespace="" /> |
+ </WSDL:fault> |
+ </WSDL:operation> |
+ <WSDL:operation name="LinkSubtask"> |
+ <SOAP:operation soapAction="" /> |
+ <WSDL:input> |
+ <SOAP:body use="literal" parts="parameters" /> |
+ </WSDL:input> |
+ <WSDL:output> |
+ <SOAP:body use="literal" parts="parameters" /> |
+ </WSDL:output> |
+ <WSDL:fault name="AEWebservicesFault"> |
+ <SOAP:fault use="literal" name="AEWebservicesFault" namespace="" /> |
+ </WSDL:fault> |
+ </WSDL:operation> |
<WSDL:operation name="CreateAuxItem"> |
<SOAP:operation soapAction="" /> |
<WSDL:input> |
@@ -1671,6 +1928,18 @@ |
<SOAP:fault use="literal" name="AEWebservicesFault" namespace="" /> |
</WSDL:fault> |
</WSDL:operation> |
+ <WSDL:operation name="CreateNoteAttachment"> |
+ <SOAP:operation soapAction="" /> |
+ <WSDL:input> |
+ <SOAP:body use="literal" parts="parameters" /> |
+ </WSDL:input> |
+ <WSDL:output> |
+ <SOAP:body use="literal" parts="parameters" /> |
+ </WSDL:output> |
+ <WSDL:fault name="AEWebservicesFault"> |
+ <SOAP:fault use="literal" name="AEWebservicesFault" namespace="" /> |
+ </WSDL:fault> |
+ </WSDL:operation> |
<WSDL:operation name="GetItem"> |
<SOAP:operation soapAction="" /> |
<WSDL:input> |
@@ -1707,6 +1976,18 @@ |
<SOAP:fault use="literal" name="AEWebservicesFault" namespace="" /> |
</WSDL:fault> |
</WSDL:operation> |
+ <WSDL:operation name="GetFileAttachment"> |
+ <SOAP:operation soapAction="" /> |
+ <WSDL:input> |
+ <SOAP:body use="literal" parts="parameters" /> |
+ </WSDL:input> |
+ <WSDL:output> |
+ <SOAP:body use="literal" parts="parameters" /> |
+ </WSDL:output> |
+ <WSDL:fault name="AEWebservicesFault"> |
+ <SOAP:fault use="literal" name="AEWebservicesFault" namespace="" /> |
+ </WSDL:fault> |
+ </WSDL:operation> |
<WSDL:operation name="TransitionItem"> |
<SOAP:operation soapAction="" /> |
<WSDL:input> |
@@ -1731,6 +2012,123 @@ |
<SOAP:fault use="literal" name="AEWebservicesFault" namespace="" /> |
</WSDL:fault> |
</WSDL:operation> |
+ <WSDL:operation name="GetAvailableTransitions"> |
+ <SOAP:operation soapAction="" /> |
+ <WSDL:input> |
+ <SOAP:body use="literal" parts="parameters" /> |
+ </WSDL:input> |
+ <WSDL:output> |
+ <SOAP:body use="literal" parts="parameters" /> |
+ </WSDL:output> |
+ <WSDL:fault name="AEWebservicesFault"> |
+ <SOAP:fault use="literal" name="AEWebservicesFault" namespace="" /> |
+ </WSDL:fault> |
+ </WSDL:operation> |
+ <WSDL:operation name="GetAvailableSubmitTransitions"> |
+ <SOAP:operation soapAction="" /> |
+ <WSDL:input> |
+ <SOAP:body use="literal" parts="parameters" /> |
+ </WSDL:input> |
+ <WSDL:output> |
+ <SOAP:body use="literal" parts="parameters" /> |
+ </WSDL:output> |
+ <WSDL:fault name="AEWebservicesFault"> |
+ <SOAP:fault use="literal" name="AEWebservicesFault" namespace="" /> |
+ </WSDL:fault> |
+ </WSDL:operation> |
+ <WSDL:operation name="UpdateFileAttachment"> |
+ <SOAP:operation soapAction="" /> |
+ <WSDL:input> |
+ <SOAP:body use="literal" parts="parameters" /> |
+ </WSDL:input> |
+ <WSDL:output> |
+ <SOAP:body use="literal" parts="parameters" /> |
+ </WSDL:output> |
+ <WSDL:fault name="AEWebservicesFault"> |
+ <SOAP:fault use="literal" name="AEWebservicesFault" namespace="" /> |
+ </WSDL:fault> |
+ </WSDL:operation> |
+ <WSDL:operation name="DeleteItems"> |
+ <SOAP:operation soapAction="" /> |
+ <WSDL:input> |
+ <SOAP:body use="literal" parts="parameters" /> |
+ </WSDL:input> |
+ <WSDL:output> |
+ <SOAP:body use="literal" parts="parameters" /> |
+ </WSDL:output> |
+ </WSDL:operation> |
+ <WSDL:operation name="DeleteItemsByQuery"> |
+ <SOAP:operation soapAction="" /> |
+ <WSDL:input> |
+ <SOAP:body use="literal" parts="parameters" /> |
+ </WSDL:input> |
+ <WSDL:output> |
+ <SOAP:body use="literal" parts="parameters" /> |
+ </WSDL:output> |
+ <WSDL:fault name="AEWebservicesFault"> |
+ <SOAP:fault use="literal" name="AEWebservicesFault" namespace="" /> |
+ </WSDL:fault> |
+ </WSDL:operation> |
+ <WSDL:operation name="DeleteAttachment"> |
+ <SOAP:operation soapAction="" /> |
+ <WSDL:input> |
+ <SOAP:body use="literal" parts="parameters" /> |
+ </WSDL:input> |
+ <WSDL:output> |
+ <SOAP:body use="literal" parts="parameters" /> |
+ </WSDL:output> |
+ <WSDL:fault name="AEWebservicesFault"> |
+ <SOAP:fault use="literal" name="AEWebservicesFault" namespace="" /> |
+ </WSDL:fault> |
+ </WSDL:operation> |
+ <WSDL:operation name="GetNoteLoggerInfo"> |
+ <SOAP:operation soapAction="" /> |
+ <WSDL:input> |
+ <SOAP:body use="literal" parts="parameters" /> |
+ </WSDL:input> |
+ <WSDL:output> |
+ <SOAP:body use="literal" parts="parameters" /> |
+ </WSDL:output> |
+ <WSDL:fault name="AEWebservicesFault"> |
+ <SOAP:fault use="literal" name="AEWebservicesFault" namespace="" /> |
+ </WSDL:fault> |
+ </WSDL:operation> |
+ <WSDL:operation name="GetStateChangeHistory"> |
+ <SOAP:operation soapAction="" /> |
+ <WSDL:input> |
+ <SOAP:body use="literal" parts="parameters" /> |
+ </WSDL:input> |
+ <WSDL:output> |
+ <SOAP:body use="literal" parts="parameters" /> |
+ </WSDL:output> |
+ <WSDL:fault name="AEWebservicesFault"> |
+ <SOAP:fault use="literal" name="AEWebservicesFault" namespace="" /> |
+ </WSDL:fault> |
+ </WSDL:operation> |
+ <WSDL:operation name="GetUsers"> |
+ <SOAP:operation soapAction="" /> |
+ <WSDL:input> |
+ <SOAP:body use="literal" parts="parameters" /> |
+ </WSDL:input> |
+ <WSDL:output> |
+ <SOAP:body use="literal" parts="parameters" /> |
+ </WSDL:output> |
+ <WSDL:fault name="AEWebservicesFault"> |
+ <SOAP:fault use="literal" name="AEWebservicesFault" namespace="" /> |
+ </WSDL:fault> |
+ </WSDL:operation> |
+ <WSDL:operation name="IsUserValid"> |
+ <SOAP:operation soapAction="" /> |
+ <WSDL:input> |
+ <SOAP:body use="literal" parts="parameters" /> |
+ </WSDL:input> |
+ <WSDL:output> |
+ <SOAP:body use="literal" parts="parameters" /> |
+ </WSDL:output> |
+ <WSDL:fault name="AEWebservicesFault"> |
+ <SOAP:fault use="literal" name="AEWebservicesFault" namespace="" /> |
+ </WSDL:fault> |
+ </WSDL:operation> |
</WSDL:binding> |
<WSDL:service name="sbmappservices72"> |
<documentation>SBM Application Web Services Version 7.2</documentation> |
/SVN-ALFEventEmitter/trunk/.classpath |
---|
1,6 → 1,8 |
<?xml version="1.0" encoding="UTF-8"?> |
<classpath> |
<classpathentry kind="src" path="src"/> |
<classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.web.container"/> |
<classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.module.container"/> |
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"> |
<attributes> |
<attribute name="owner.project.facets" value="java"/> |
/SVN-ALFEventEmitter/trunk/WebContent/META-INF/MANIFEST.MF |
---|
0,0 → 1,3 |
Manifest-Version: 1.0 |
Class-Path: |
Property changes: |
Added: svn:mime-type |
+text/plain |
\ No newline at end of property |
/SVN-ALFEventEmitter/trunk/.settings/org.apache.ivyde.eclipse.prefs |
---|
File deleted |
Property changes: |
Deleted: svn:mime-type |
-text/plain |
\ No newline at end of property |
/SVN-ALFEventEmitter/trunk/.settings/org.eclipse.wst.common.project.facet.core.xml |
---|
1,6 → 1,8 |
<?xml version="1.0" encoding="UTF-8"?> |
<faceted-project> |
<fixed facet="wst.jsdt.web"/> |
<installed facet="jst.web" version="3.0"/> |
<installed facet="cxf.core" version="1.0"/> |
<installed facet="wst.jsdt.web" version="1.0"/> |
<installed facet="java" version="1.6"/> |
<installed facet="jpt.jaxb" version="2.1"/> |
/SVN-ALFEventEmitter/trunk/.settings/org.eclipse.wst.common.component |
---|
1,5 → 1,7 |
<?xml version="1.0" encoding="UTF-8"?><project-modules id="moduleCoreId" project-version="1.5.0"> |
<wb-module deploy-name="SVN-ALFEventEmitter"> |
<wb-resource deploy-path="/" source-path="/WebContent" tag="defaultRootSource"/> |
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src"/> |
<property name="context-root" value="SVN-ALFEventEmitter"/> |
<property name="java-output-path" value="/SVN-ALFEventEmitter/bin"/> |
</wb-module> |