View as "text/plain" | Blame | Last modification | View Log | Download | RSS feed
package net.brutex.sbm.wsclient;
/**
* Please modify this class to meet your needs
* This class is not complete
*/
import java.io.File;
import java.net.MalformedURLException;
import java.net.URL;
import javax.xml.namespace.QName;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.ws.RequestWrapper;
import javax.xml.ws.ResponseWrapper;
/**
* This class was generated by Apache CXF 2.2.8
* Sun May 30 10:35:30 CEST 2010
* Generated source version: 2.2.8
*
*/
public final class Aewebservices71PortType_Aewebservices71_Client {
private static final QName SERVICE_NAME = new QName("http://localhost:80/gsoap/aewebservices71.wsdl", "aewebservices71");
private Aewebservices71PortType_Aewebservices71_Client() {
}
public static void main(String args[]) throws Exception {
URL wsdlURL = Aewebservices71.WSDL_LOCATION;
if (args.length > 0) {
File wsdlFile = new File(args[0]);
try {
if (wsdlFile.exists()) {
wsdlURL = wsdlFile.toURI().toURL();
} else {
wsdlURL = new URL(args[0]);
}
} catch (MalformedURLException e) {
e.printStackTrace();
}
}
Aewebservices71 ss = new Aewebservices71(wsdlURL, SERVICE_NAME);
Aewebservices71PortType port = ss.getAewebservices71();
{
System.out.println("Invoking getNoteLoggerInfo...");
net.brutex.sbm.wsclient.Auth _getNoteLoggerInfo_auth = null;
try {
net.brutex.sbm.wsclient.NoteLoggerInfo _getNoteLoggerInfo__return = port.getNoteLoggerInfo(_getNoteLoggerInfo_auth);
System.out.println("getNoteLoggerInfo.result=" + _getNoteLoggerInfo__return);
} catch (AEWebservicesFaultFault e) {
System.out.println("Expected exception: AEWebservicesFaultFault has occurred.");
System.out.println(e.toString());
}
}
{
System.out.println("Invoking hasUserPrivilege...");
net.brutex.sbm.wsclient.Auth _hasUserPrivilege_auth = null;
java.lang.String _hasUserPrivilege_privilegeName = "";
java.lang.String _hasUserPrivilege_objectId = "";
java.lang.String _hasUserPrivilege_loginId = "";
try {
boolean _hasUserPrivilege__return = port.hasUserPrivilege(_hasUserPrivilege_auth, _hasUserPrivilege_privilegeName, _hasUserPrivilege_objectId, _hasUserPrivilege_loginId);
System.out.println("hasUserPrivilege.result=" + _hasUserPrivilege__return);
} catch (AEWebservicesFaultFault e) {
System.out.println("Expected exception: AEWebservicesFaultFault has occurred.");
System.out.println(e.toString());
}
}
{
System.out.println("Invoking getAvailableSubmitTransitions...");
net.brutex.sbm.wsclient.Auth _getAvailableSubmitTransitions_auth = null;
java.math.BigInteger _getAvailableSubmitTransitions_projectId = new java.math.BigInteger("0");
java.lang.String _getAvailableSubmitTransitions_attributeName = "";
try {
java.util.List<net.brutex.sbm.wsclient.Transition> _getAvailableSubmitTransitions__return = port.getAvailableSubmitTransitions(_getAvailableSubmitTransitions_auth, _getAvailableSubmitTransitions_projectId, _getAvailableSubmitTransitions_attributeName);
System.out.println("getAvailableSubmitTransitions.result=" + _getAvailableSubmitTransitions__return);
} catch (AEWebservicesFaultFault e) {
System.out.println("Expected exception: AEWebservicesFaultFault has occurred.");
System.out.println(e.toString());
}
}
{
System.out.println("Invoking updateItemsWithName...");
net.brutex.sbm.wsclient.Auth _updateItemsWithName_auth = null;
java.util.List<net.brutex.sbm.wsclient.TTItem> _updateItemsWithName_itemList = null;
java.lang.String _updateItemsWithName_transitionName = "";
java.lang.String _updateItemsWithName_responseOptions = "";
try {
java.util.List<net.brutex.sbm.wsclient.TTItem> _updateItemsWithName__return = port.updateItemsWithName(_updateItemsWithName_auth, _updateItemsWithName_itemList, _updateItemsWithName_transitionName, _updateItemsWithName_responseOptions);
System.out.println("updateItemsWithName.result=" + _updateItemsWithName__return);
} catch (AEWebservicesFaultFault e) {
System.out.println("Expected exception: AEWebservicesFaultFault has occurred.");
System.out.println(e.toString());
}
}
{
System.out.println("Invoking createPrimaryItemWithName...");
net.brutex.sbm.wsclient.Auth _createPrimaryItemWithName_auth = null;
java.lang.String _createPrimaryItemWithName_fullyQualifiedProjectName = "";
net.brutex.sbm.wsclient.TTItem _createPrimaryItemWithName_item = null;
java.lang.String _createPrimaryItemWithName_submitTransName = "";
java.lang.String _createPrimaryItemWithName_responseOptions = "";
try {
net.brutex.sbm.wsclient.TTItem _createPrimaryItemWithName__return = port.createPrimaryItemWithName(_createPrimaryItemWithName_auth, _createPrimaryItemWithName_fullyQualifiedProjectName, _createPrimaryItemWithName_item, _createPrimaryItemWithName_submitTransName, _createPrimaryItemWithName_responseOptions);
System.out.println("createPrimaryItemWithName.result=" + _createPrimaryItemWithName__return);
} catch (AEWebservicesFaultFault e) {
System.out.println("Expected exception: AEWebservicesFaultFault has occurred.");
System.out.println(e.toString());
}
}
{
System.out.println("Invoking getUser...");
net.brutex.sbm.wsclient.Auth _getUser_auth = null;
java.lang.String _getUser_userId = "";
try {
net.brutex.sbm.wsclient.User _getUser__return = port.getUser(_getUser_auth, _getUser_userId);
System.out.println("getUser.result=" + _getUser__return);
} catch (AEWebservicesFaultFault e) {
System.out.println("Expected exception: AEWebservicesFaultFault has occurred.");
System.out.println(e.toString());
}
}
{
System.out.println("Invoking getStateChangeHistory...");
net.brutex.sbm.wsclient.Auth _getStateChangeHistory_auth = null;
java.lang.String _getStateChangeHistory_itemID = "";
net.brutex.sbm.wsclient.QueryRange _getStateChangeHistory_queryRange = null;
try {
net.brutex.sbm.wsclient.GetStateChangeHistoryResult _getStateChangeHistory__return = port.getStateChangeHistory(_getStateChangeHistory_auth, _getStateChangeHistory_itemID, _getStateChangeHistory_queryRange);
System.out.println("getStateChangeHistory.result=" + _getStateChangeHistory__return);
} catch (AEWebservicesFaultFault e) {
System.out.println("Expected exception: AEWebservicesFaultFault has occurred.");
System.out.println(e.toString());
}
}
{
System.out.println("Invoking getUserPrivileges...");
net.brutex.sbm.wsclient.Auth _getUserPrivileges_auth = null;
java.lang.String _getUserPrivileges_privilegeType = "";
java.lang.String _getUserPrivileges_objectId = "";
java.lang.String _getUserPrivileges_loginId = "";
try {
java.util.List<net.brutex.sbm.wsclient.Privilege> _getUserPrivileges__return = port.getUserPrivileges(_getUserPrivileges_auth, _getUserPrivileges_privilegeType, _getUserPrivileges_objectId, _getUserPrivileges_loginId);
System.out.println("getUserPrivileges.result=" + _getUserPrivileges__return);
} catch (AEWebservicesFaultFault e) {
System.out.println("Expected exception: AEWebservicesFaultFault has occurred.");
System.out.println(e.toString());
}
}
{
System.out.println("Invoking createAuxItem...");
net.brutex.sbm.wsclient.Auth _createAuxItem_auth = null;
java.math.BigInteger _createAuxItem_tableID = new java.math.BigInteger("0");
net.brutex.sbm.wsclient.TTItem _createAuxItem_item = null;
java.lang.String _createAuxItem_responseOptions = "";
try {
net.brutex.sbm.wsclient.TTItem _createAuxItem__return = port.createAuxItem(_createAuxItem_auth, _createAuxItem_tableID, _createAuxItem_item, _createAuxItem_responseOptions);
System.out.println("createAuxItem.result=" + _createAuxItem__return);
} catch (AEWebservicesFaultFault e) {
System.out.println("Expected exception: AEWebservicesFaultFault has occurred.");
System.out.println(e.toString());
}
}
{
System.out.println("Invoking deleteItem...");
net.brutex.sbm.wsclient.Auth _deleteItem_auth = null;
java.lang.String _deleteItem_sItemID = "";
try {
port.deleteItem(_deleteItem_auth, _deleteItem_sItemID);
} catch (AEWebservicesFaultFault e) {
System.out.println("Expected exception: AEWebservicesFaultFault has occurred.");
System.out.println(e.toString());
}
}
{
System.out.println("Invoking getUserWithPreferences...");
net.brutex.sbm.wsclient.Auth _getUserWithPreferences_auth = null;
java.lang.String _getUserWithPreferences_userId = "";
try {
net.brutex.sbm.wsclient.UserWithPreferences _getUserWithPreferences__return = port.getUserWithPreferences(_getUserWithPreferences_auth, _getUserWithPreferences_userId);
System.out.println("getUserWithPreferences.result=" + _getUserWithPreferences__return);
} catch (AEWebservicesFaultFault e) {
System.out.println("Expected exception: AEWebservicesFaultFault has occurred.");
System.out.println(e.toString());
}
}
{
System.out.println("Invoking getAvailableTransitionsWithStateIDs...");
net.brutex.sbm.wsclient.Auth _getAvailableTransitionsWithStateIDs_auth = null;
java.lang.String _getAvailableTransitionsWithStateIDs_itemID = "";
java.lang.String _getAvailableTransitionsWithStateIDs_attributeName = "";
try {
java.util.List<net.brutex.sbm.wsclient.Transition> _getAvailableTransitionsWithStateIDs__return = port.getAvailableTransitionsWithStateIDs(_getAvailableTransitionsWithStateIDs_auth, _getAvailableTransitionsWithStateIDs_itemID, _getAvailableTransitionsWithStateIDs_attributeName);
System.out.println("getAvailableTransitionsWithStateIDs.result=" + _getAvailableTransitionsWithStateIDs__return);
} catch (AEWebservicesFaultFault e) {
System.out.println("Expected exception: AEWebservicesFaultFault has occurred.");
System.out.println(e.toString());
}
}
{
System.out.println("Invoking isUserValid...");
net.brutex.sbm.wsclient.Auth _isUserValid_auth = null;
java.lang.String _isUserValid_loginId = "";
try {
boolean _isUserValid__return = port.isUserValid(_isUserValid_auth, _isUserValid_loginId);
System.out.println("isUserValid.result=" + _isUserValid__return);
} catch (AEWebservicesFaultFault e) {
System.out.println("Expected exception: AEWebservicesFaultFault has occurred.");
System.out.println(e.toString());
}
}
{
System.out.println("Invoking deleteMashup...");
net.brutex.sbm.wsclient.Auth _deleteMashup_auth = null;
java.lang.String _deleteMashup_sMashupName = "";
try {
port.deleteMashup(_deleteMashup_auth, _deleteMashup_sMashupName);
} catch (AEWebservicesFaultFault e) {
System.out.println("Expected exception: AEWebservicesFaultFault has occurred.");
System.out.println(e.toString());
}
}
{
System.out.println("Invoking createFileAttachment...");
net.brutex.sbm.wsclient.Auth _createFileAttachment_auth = null;
java.lang.String _createFileAttachment_itemID = "";
net.brutex.sbm.wsclient.FileAttachmentContents _createFileAttachment_attachmentContents = null;
try {
net.brutex.sbm.wsclient.FileAttachment _createFileAttachment__return = port.createFileAttachment(_createFileAttachment_auth, _createFileAttachment_itemID, _createFileAttachment_attachmentContents);
System.out.println("createFileAttachment.result=" + _createFileAttachment__return);
} catch (AEWebservicesFaultFault e) {
System.out.println("Expected exception: AEWebservicesFaultFault has occurred.");
System.out.println(e.toString());
}
}
{
System.out.println("Invoking importStatus...");
net.brutex.sbm.wsclient.Auth _importStatus_auth = null;
java.lang.String _importStatus_importUUID = "";
try {
net.brutex.sbm.wsclient.ImportCurrentStatus _importStatus__return = port.importStatus(_importStatus_auth, _importStatus_importUUID);
System.out.println("importStatus.result=" + _importStatus__return);
} catch (AEWebservicesFaultFault e) {
System.out.println("Expected exception: AEWebservicesFaultFault has occurred.");
System.out.println(e.toString());
}
}
{
System.out.println("Invoking createPrimaryItemsWithName...");
net.brutex.sbm.wsclient.Auth _createPrimaryItemsWithName_auth = null;
java.lang.String _createPrimaryItemsWithName_fullyQualifiedProjectName = "";
java.util.List<net.brutex.sbm.wsclient.TTItem> _createPrimaryItemsWithName_itemList = null;
java.lang.String _createPrimaryItemsWithName_submitTransName = "";
java.lang.String _createPrimaryItemsWithName_responseOptions = "";
try {
java.util.List<net.brutex.sbm.wsclient.TTItem> _createPrimaryItemsWithName__return = port.createPrimaryItemsWithName(_createPrimaryItemsWithName_auth, _createPrimaryItemsWithName_fullyQualifiedProjectName, _createPrimaryItemsWithName_itemList, _createPrimaryItemsWithName_submitTransName, _createPrimaryItemsWithName_responseOptions);
System.out.println("createPrimaryItemsWithName.result=" + _createPrimaryItemsWithName__return);
} catch (AEWebservicesFaultFault e) {
System.out.println("Expected exception: AEWebservicesFaultFault has occurred.");
System.out.println(e.toString());
}
}
{
System.out.println("Invoking generateUUID...");
net.brutex.sbm.wsclient.Auth _generateUUID_auth = null;
try {
java.lang.String _generateUUID__return = port.generateUUID(_generateUUID_auth);
System.out.println("generateUUID.result=" + _generateUUID__return);
} catch (AEWebservicesFaultFault e) {
System.out.println("Expected exception: AEWebservicesFaultFault has occurred.");
System.out.println(e.toString());
}
}
{
System.out.println("Invoking getSubmitProjects...");
net.brutex.sbm.wsclient.Auth _getSubmitProjects_auth = null;
java.math.BigInteger _getSubmitProjects_tableID = new java.math.BigInteger("0");
try {
java.util.List<net.brutex.sbm.wsclient.ProjectData> _getSubmitProjects__return = port.getSubmitProjects(_getSubmitProjects_auth, _getSubmitProjects_tableID);
System.out.println("getSubmitProjects.result=" + _getSubmitProjects__return);
} catch (AEWebservicesFaultFault e) {
System.out.println("Expected exception: AEWebservicesFaultFault has occurred.");
System.out.println(e.toString());
}
}
{
System.out.println("Invoking getItemsByQueryWithName...");
net.brutex.sbm.wsclient.Auth _getItemsByQueryWithName_auth = null;
java.lang.String _getItemsByQueryWithName_tableDBName = "";
java.lang.String _getItemsByQueryWithName_queryWhereClause = "";
java.lang.String _getItemsByQueryWithName_orderByClause = "";
java.math.BigInteger _getItemsByQueryWithName_maxReturnSize = new java.math.BigInteger("0");
java.lang.String _getItemsByQueryWithName_responseOptions = "";
try {
java.util.List<net.brutex.sbm.wsclient.TTItem> _getItemsByQueryWithName__return = port.getItemsByQueryWithName(_getItemsByQueryWithName_auth, _getItemsByQueryWithName_tableDBName, _getItemsByQueryWithName_queryWhereClause, _getItemsByQueryWithName_orderByClause, _getItemsByQueryWithName_maxReturnSize, _getItemsByQueryWithName_responseOptions);
System.out.println("getItemsByQueryWithName.result=" + _getItemsByQueryWithName__return);
} catch (AEWebservicesFaultFault e) {
System.out.println("Expected exception: AEWebservicesFaultFault has occurred.");
System.out.println(e.toString());
}
}
{
System.out.println("Invoking deleteItems...");
net.brutex.sbm.wsclient.Auth _deleteItems_auth = null;
java.util.List<java.lang.String> _deleteItems_itemIdList = null;
try {
port.deleteItems(_deleteItems_auth, _deleteItems_itemIdList);
} catch (AEWebservicesFaultFault e) {
System.out.println("Expected exception: AEWebservicesFaultFault has occurred.");
System.out.println(e.toString());
}
}
{
System.out.println("Invoking getSubmitProjectsWithName...");
net.brutex.sbm.wsclient.Auth _getSubmitProjectsWithName_auth = null;
java.lang.String _getSubmitProjectsWithName_tableDBName = "";
try {
java.util.List<net.brutex.sbm.wsclient.ProjectData> _getSubmitProjectsWithName__return = port.getSubmitProjectsWithName(_getSubmitProjectsWithName_auth, _getSubmitProjectsWithName_tableDBName);
System.out.println("getSubmitProjectsWithName.result=" + _getSubmitProjectsWithName__return);
} catch (AEWebservicesFaultFault e) {
System.out.println("Expected exception: AEWebservicesFaultFault has occurred.");
System.out.println(e.toString());
}
}
{
System.out.println("Invoking export...");
net.brutex.sbm.wsclient.Auth _export_auth = null;
java.lang.String _export_applicationID = "";
net.brutex.sbm.wsclient.FileContents _export_xmlExportOptions = null;
try {
net.brutex.sbm.wsclient.FileContents _export__return = port.export(_export_auth, _export_applicationID, _export_xmlExportOptions);
System.out.println("export.result=" + _export__return);
} catch (AEWebservicesFaultFault e) {
System.out.println("Expected exception: AEWebservicesFaultFault has occurred.");
System.out.println(e.toString());
}
}
{
System.out.println("Invoking updateFileAttachment...");
net.brutex.sbm.wsclient.Auth _updateFileAttachment_auth = null;
java.lang.String _updateFileAttachment_itemID = "";
net.brutex.sbm.wsclient.FileAttachmentContents _updateFileAttachment_attachmentContents = null;
try {
net.brutex.sbm.wsclient.FileAttachment _updateFileAttachment__return = port.updateFileAttachment(_updateFileAttachment_auth, _updateFileAttachment_itemID, _updateFileAttachment_attachmentContents);
System.out.println("updateFileAttachment.result=" + _updateFileAttachment__return);
} catch (AEWebservicesFaultFault e) {
System.out.println("Expected exception: AEWebservicesFaultFault has occurred.");
System.out.println(e.toString());
}
}
{
System.out.println("Invoking createPrimaryItem...");
net.brutex.sbm.wsclient.Auth _createPrimaryItem_auth = null;
java.math.BigInteger _createPrimaryItem_projectID = new java.math.BigInteger("0");
net.brutex.sbm.wsclient.TTItem _createPrimaryItem_item = null;
java.math.BigInteger _createPrimaryItem_submitTransID = new java.math.BigInteger("0");
java.lang.String _createPrimaryItem_responseOptions = "";
try {
net.brutex.sbm.wsclient.TTItem _createPrimaryItem__return = port.createPrimaryItem(_createPrimaryItem_auth, _createPrimaryItem_projectID, _createPrimaryItem_item, _createPrimaryItem_submitTransID, _createPrimaryItem_responseOptions);
System.out.println("createPrimaryItem.result=" + _createPrimaryItem__return);
} catch (AEWebservicesFaultFault e) {
System.out.println("Expected exception: AEWebservicesFaultFault has occurred.");
System.out.println(e.toString());
}
}
{
System.out.println("Invoking getReports...");
net.brutex.sbm.wsclient.Auth _getReports_auth = null;
net.brutex.sbm.wsclient.QueryRange _getReports_queryRange = null;
net.brutex.sbm.wsclient.ReportsFilter _getReports_reportsFilter = null;
try {
net.brutex.sbm.wsclient.GetReportsResult _getReports__return = port.getReports(_getReports_auth, _getReports_queryRange, _getReports_reportsFilter);
System.out.println("getReports.result=" + _getReports__return);
} catch (AEWebservicesFaultFault e) {
System.out.println("Expected exception: AEWebservicesFaultFault has occurred.");
System.out.println(e.toString());
}
}
{
System.out.println("Invoking getItemsByQuery...");
net.brutex.sbm.wsclient.Auth _getItemsByQuery_auth = null;
java.math.BigInteger _getItemsByQuery_tableID = new java.math.BigInteger("0");
java.lang.String _getItemsByQuery_queryWhereClause = "";
java.lang.String _getItemsByQuery_orderByClause = "";
java.math.BigInteger _getItemsByQuery_maxReturnSize = new java.math.BigInteger("0");
java.lang.String _getItemsByQuery_responseOptions = "";
try {
java.util.List<net.brutex.sbm.wsclient.TTItem> _getItemsByQuery__return = port.getItemsByQuery(_getItemsByQuery_auth, _getItemsByQuery_tableID, _getItemsByQuery_queryWhereClause, _getItemsByQuery_orderByClause, _getItemsByQuery_maxReturnSize, _getItemsByQuery_responseOptions);
System.out.println("getItemsByQuery.result=" + _getItemsByQuery__return);
} catch (AEWebservicesFaultFault e) {
System.out.println("Expected exception: AEWebservicesFaultFault has occurred.");
System.out.println(e.toString());
}
}
{
System.out.println("Invoking createAuxItemWithName...");
net.brutex.sbm.wsclient.Auth _createAuxItemWithName_auth = null;
java.lang.String _createAuxItemWithName_tableDBName = "";
net.brutex.sbm.wsclient.TTItem _createAuxItemWithName_item = null;
java.lang.String _createAuxItemWithName_responseOptions = "";
try {
net.brutex.sbm.wsclient.TTItem _createAuxItemWithName__return = port.createAuxItemWithName(_createAuxItemWithName_auth, _createAuxItemWithName_tableDBName, _createAuxItemWithName_item, _createAuxItemWithName_responseOptions);
System.out.println("createAuxItemWithName.result=" + _createAuxItemWithName__return);
} catch (AEWebservicesFaultFault e) {
System.out.println("Expected exception: AEWebservicesFaultFault has occurred.");
System.out.println(e.toString());
}
}
{
System.out.println("Invoking createAuxItemsWithName...");
net.brutex.sbm.wsclient.Auth _createAuxItemsWithName_auth = null;
java.lang.String _createAuxItemsWithName_tableDBName = "";
java.util.List<net.brutex.sbm.wsclient.TTItem> _createAuxItemsWithName_itemList = null;
java.lang.String _createAuxItemsWithName_responseOptions = "";
try {
java.util.List<net.brutex.sbm.wsclient.TTItem> _createAuxItemsWithName__return = port.createAuxItemsWithName(_createAuxItemsWithName_auth, _createAuxItemsWithName_tableDBName, _createAuxItemsWithName_itemList, _createAuxItemsWithName_responseOptions);
System.out.println("createAuxItemsWithName.result=" + _createAuxItemsWithName__return);
} catch (AEWebservicesFaultFault e) {
System.out.println("Expected exception: AEWebservicesFaultFault has occurred.");
System.out.println(e.toString());
}
}
{
System.out.println("Invoking getTablesWithName...");
net.brutex.sbm.wsclient.Auth _getTablesWithName_auth = null;
java.lang.String _getTablesWithName_solutionName = "";
net.brutex.sbm.wsclient.TableType _getTablesWithName_tableType = null;
try {
java.util.List<net.brutex.sbm.wsclient.TableData> _getTablesWithName__return = port.getTablesWithName(_getTablesWithName_auth, _getTablesWithName_solutionName, _getTablesWithName_tableType);
System.out.println("getTablesWithName.result=" + _getTablesWithName__return);
} catch (AEWebservicesFaultFault e) {
System.out.println("Expected exception: AEWebservicesFaultFault has occurred.");
System.out.println(e.toString());
}
}
{
System.out.println("Invoking deleteItemsByQueryWithName...");
net.brutex.sbm.wsclient.Auth _deleteItemsByQueryWithName_auth = null;
java.lang.String _deleteItemsByQueryWithName_tableDBName = "";
java.lang.String _deleteItemsByQueryWithName_queryWhereClause = "";
try {
port.deleteItemsByQueryWithName(_deleteItemsByQueryWithName_auth, _deleteItemsByQueryWithName_tableDBName, _deleteItemsByQueryWithName_queryWhereClause);
} catch (AEWebservicesFaultFault e) {
System.out.println("Expected exception: AEWebservicesFaultFault has occurred.");
System.out.println(e.toString());
}
}
{
System.out.println("Invoking updateItemWithName...");
net.brutex.sbm.wsclient.Auth _updateItemWithName_auth = null;
net.brutex.sbm.wsclient.TTItem _updateItemWithName_item = null;
java.lang.String _updateItemWithName_transitionName = "";
java.lang.String _updateItemWithName_responseOptions = "";
try {
net.brutex.sbm.wsclient.TTItem _updateItemWithName__return = port.updateItemWithName(_updateItemWithName_auth, _updateItemWithName_item, _updateItemWithName_transitionName, _updateItemWithName_responseOptions);
System.out.println("updateItemWithName.result=" + _updateItemWithName__return);
} catch (AEWebservicesFaultFault e) {
System.out.println("Expected exception: AEWebservicesFaultFault has occurred.");
System.out.println(e.toString());
}
}
{
System.out.println("Invoking deleteAttachment...");
net.brutex.sbm.wsclient.Auth _deleteAttachment_auth = null;
java.math.BigInteger _deleteAttachment_attachmentID = new java.math.BigInteger("0");
try {
port.deleteAttachment(_deleteAttachment_auth, _deleteAttachment_attachmentID);
} catch (AEWebservicesFaultFault e) {
System.out.println("Expected exception: AEWebservicesFaultFault has occurred.");
System.out.println(e.toString());
}
}
{
System.out.println("Invoking deleteItemsByQuery...");
net.brutex.sbm.wsclient.Auth _deleteItemsByQuery_auth = null;
java.math.BigInteger _deleteItemsByQuery_tableID = new java.math.BigInteger("0");
java.lang.String _deleteItemsByQuery_queryWhereClause = "";
try {
port.deleteItemsByQuery(_deleteItemsByQuery_auth, _deleteItemsByQuery_tableID, _deleteItemsByQuery_queryWhereClause);
} catch (AEWebservicesFaultFault e) {
System.out.println("Expected exception: AEWebservicesFaultFault has occurred.");
System.out.println(e.toString());
}
}
{
System.out.println("Invoking getFileAttachment...");
net.brutex.sbm.wsclient.Auth _getFileAttachment_auth = null;
java.lang.String _getFileAttachment_itemID = "";
java.math.BigInteger _getFileAttachment_attachmentID = new java.math.BigInteger("0");
try {
net.brutex.sbm.wsclient.FileAttachmentContents _getFileAttachment__return = port.getFileAttachment(_getFileAttachment_auth, _getFileAttachment_itemID, _getFileAttachment_attachmentID);
System.out.println("getFileAttachment.result=" + _getFileAttachment__return);
} catch (AEWebservicesFaultFault e) {
System.out.println("Expected exception: AEWebservicesFaultFault has occurred.");
System.out.println(e.toString());
}
}
{
System.out.println("Invoking getItem...");
net.brutex.sbm.wsclient.Auth _getItem_auth = null;
java.lang.String _getItem_itemID = "";
java.lang.String _getItem_responseOptions = "";
try {
net.brutex.sbm.wsclient.TTItem _getItem__return = port.getItem(_getItem_auth, _getItem_itemID, _getItem_responseOptions);
System.out.println("getItem.result=" + _getItem__return);
} catch (AEWebservicesFaultFault e) {
System.out.println("Expected exception: AEWebservicesFaultFault has occurred.");
System.out.println(e.toString());
}
}
{
System.out.println("Invoking getUserExtended...");
net.brutex.sbm.wsclient.Auth _getUserExtended_auth = null;
java.lang.String _getUserExtended_userId = "";
try {
net.brutex.sbm.wsclient.UserExtended _getUserExtended__return = port.getUserExtended(_getUserExtended_auth, _getUserExtended_userId);
System.out.println("getUserExtended.result=" + _getUserExtended__return);
} catch (AEWebservicesFaultFault e) {
System.out.println("Expected exception: AEWebservicesFaultFault has occurred.");
System.out.println(e.toString());
}
}
{
System.out.println("Invoking runReport...");
net.brutex.sbm.wsclient.Auth _runReport_auth = null;
net.brutex.sbm.wsclient.QueryRange _runReport_queryRange = null;
java.lang.String _runReport_reportUUID = "";
java.lang.String _runReport_reportName = "";
java.math.BigInteger _runReport_reportID = new java.math.BigInteger("0");
java.math.BigInteger _runReport_solutionID = new java.math.BigInteger("0");
java.lang.String _runReport_solutionName = "";
java.math.BigInteger _runReport_projectID = new java.math.BigInteger("0");
java.lang.String _runReport_projectName = "";
java.lang.String _runReport_projectUUID = "";
java.math.BigInteger _runReport_tableID = new java.math.BigInteger("0");
java.lang.String _runReport_tableName = "";
net.brutex.sbm.wsclient.ReportCategory _runReport_reportCategory = null;
net.brutex.sbm.wsclient.ReportAccessLevel _runReport_reportAccessLevel = null;
try {
net.brutex.sbm.wsclient.RunReportResult _runReport__return = port.runReport(_runReport_auth, _runReport_queryRange, _runReport_reportUUID, _runReport_reportName, _runReport_reportID, _runReport_solutionID, _runReport_solutionName, _runReport_projectID, _runReport_projectName, _runReport_projectUUID, _runReport_tableID, _runReport_tableName, _runReport_reportCategory, _runReport_reportAccessLevel);
System.out.println("runReport.result=" + _runReport__return);
} catch (AEWebservicesFaultFault e) {
System.out.println("Expected exception: AEWebservicesFaultFault has occurred.");
System.out.println(e.toString());
}
}
{
System.out.println("Invoking createPrimaryItems...");
net.brutex.sbm.wsclient.Auth _createPrimaryItems_auth = null;
java.math.BigInteger _createPrimaryItems_projectID = new java.math.BigInteger("0");
java.util.List<net.brutex.sbm.wsclient.TTItem> _createPrimaryItems_itemList = null;
java.math.BigInteger _createPrimaryItems_submitTransID = new java.math.BigInteger("0");
java.lang.String _createPrimaryItems_responseOptions = "";
try {
java.util.List<net.brutex.sbm.wsclient.TTItem> _createPrimaryItems__return = port.createPrimaryItems(_createPrimaryItems_auth, _createPrimaryItems_projectID, _createPrimaryItems_itemList, _createPrimaryItems_submitTransID, _createPrimaryItems_responseOptions);
System.out.println("createPrimaryItems.result=" + _createPrimaryItems__return);
} catch (AEWebservicesFaultFault e) {
System.out.println("Expected exception: AEWebservicesFaultFault has occurred.");
System.out.println(e.toString());
}
}
{
System.out.println("Invoking updateItem...");
net.brutex.sbm.wsclient.Auth _updateItem_auth = null;
net.brutex.sbm.wsclient.TTItem _updateItem_item = null;
java.math.BigInteger _updateItem_transitionId = new java.math.BigInteger("0");
java.lang.String _updateItem_responseOptions = "";
try {
net.brutex.sbm.wsclient.TTItem _updateItem__return = port.updateItem(_updateItem_auth, _updateItem_item, _updateItem_transitionId, _updateItem_responseOptions);
System.out.println("updateItem.result=" + _updateItem__return);
} catch (AEWebservicesFaultFault e) {
System.out.println("Expected exception: AEWebservicesFaultFault has occurred.");
System.out.println(e.toString());
}
}
{
System.out.println("Invoking getItems...");
net.brutex.sbm.wsclient.Auth _getItems_auth = null;
java.util.List<java.lang.String> _getItems_itemIdList = null;
java.lang.String _getItems_responseOptions = "";
try {
java.util.List<net.brutex.sbm.wsclient.TTItem> _getItems__return = port.getItems(_getItems_auth, _getItems_itemIdList, _getItems_responseOptions);
System.out.println("getItems.result=" + _getItems__return);
} catch (AEWebservicesFaultFault e) {
System.out.println("Expected exception: AEWebservicesFaultFault has occurred.");
System.out.println(e.toString());
}
}
{
System.out.println("Invoking getTables...");
net.brutex.sbm.wsclient.Auth _getTables_auth = null;
java.math.BigInteger _getTables_solutionID = new java.math.BigInteger("0");
net.brutex.sbm.wsclient.TableType _getTables_tableType = null;
try {
java.util.List<net.brutex.sbm.wsclient.TableData> _getTables__return = port.getTables(_getTables_auth, _getTables_solutionID, _getTables_tableType);
System.out.println("getTables.result=" + _getTables__return);
} catch (AEWebservicesFaultFault e) {
System.out.println("Expected exception: AEWebservicesFaultFault has occurred.");
System.out.println(e.toString());
}
}
{
System.out.println("Invoking updateItems...");
net.brutex.sbm.wsclient.Auth _updateItems_auth = null;
java.util.List<net.brutex.sbm.wsclient.TTItem> _updateItems_itemList = null;
java.math.BigInteger _updateItems_transitionId = new java.math.BigInteger("0");
java.lang.String _updateItems_responseOptions = "";
try {
java.util.List<net.brutex.sbm.wsclient.TTItem> _updateItems__return = port.updateItems(_updateItems_auth, _updateItems_itemList, _updateItems_transitionId, _updateItems_responseOptions);
System.out.println("updateItems.result=" + _updateItems__return);
} catch (AEWebservicesFaultFault e) {
System.out.println("Expected exception: AEWebservicesFaultFault has occurred.");
System.out.println(e.toString());
}
}
{
System.out.println("Invoking getSolutionsWithUniqueName...");
net.brutex.sbm.wsclient.Auth _getSolutionsWithUniqueName_auth = null;
try {
java.util.List<net.brutex.sbm.wsclient.SolutionWithUniqueName> _getSolutionsWithUniqueName__return = port.getSolutionsWithUniqueName(_getSolutionsWithUniqueName_auth);
System.out.println("getSolutionsWithUniqueName.result=" + _getSolutionsWithUniqueName__return);
} catch (AEWebservicesFaultFault e) {
System.out.println("Expected exception: AEWebservicesFaultFault has occurred.");
System.out.println(e.toString());
}
}
{
System.out.println("Invoking getAvailableQuickTransitions...");
net.brutex.sbm.wsclient.Auth _getAvailableQuickTransitions_auth = null;
java.lang.String _getAvailableQuickTransitions_itemID = "";
java.lang.String _getAvailableQuickTransitions_attributeName = "";
java.util.List<net.brutex.sbm.wsclient.Transition> _getAvailableQuickTransitions__return = port.getAvailableQuickTransitions(_getAvailableQuickTransitions_auth, _getAvailableQuickTransitions_itemID, _getAvailableQuickTransitions_attributeName);
System.out.println("getAvailableQuickTransitions.result=" + _getAvailableQuickTransitions__return);
}
{
System.out.println("Invoking getAvailableSubmitTransitionsWithName...");
net.brutex.sbm.wsclient.Auth _getAvailableSubmitTransitionsWithName_auth = null;
java.lang.String _getAvailableSubmitTransitionsWithName_fullyQualifiedProjectName = "";
java.lang.String _getAvailableSubmitTransitionsWithName_attributeName = "";
try {
java.util.List<net.brutex.sbm.wsclient.Transition> _getAvailableSubmitTransitionsWithName__return = port.getAvailableSubmitTransitionsWithName(_getAvailableSubmitTransitionsWithName_auth, _getAvailableSubmitTransitionsWithName_fullyQualifiedProjectName, _getAvailableSubmitTransitionsWithName_attributeName);
System.out.println("getAvailableSubmitTransitionsWithName.result=" + _getAvailableSubmitTransitionsWithName__return);
} catch (AEWebservicesFaultFault e) {
System.out.println("Expected exception: AEWebservicesFaultFault has occurred.");
System.out.println(e.toString());
}
}
{
System.out.println("Invoking getAvailableTransitions...");
net.brutex.sbm.wsclient.Auth _getAvailableTransitions_auth = null;
java.lang.String _getAvailableTransitions_itemID = "";
java.lang.String _getAvailableTransitions_attributeName = "";
try {
java.util.List<net.brutex.sbm.wsclient.Transition> _getAvailableTransitions__return = port.getAvailableTransitions(_getAvailableTransitions_auth, _getAvailableTransitions_itemID, _getAvailableTransitions_attributeName);
System.out.println("getAvailableTransitions.result=" + _getAvailableTransitions__return);
} catch (AEWebservicesFaultFault e) {
System.out.println("Expected exception: AEWebservicesFaultFault has occurred.");
System.out.println(e.toString());
}
}
{
System.out.println("Invoking getVersion...");
try {
java.lang.String _getVersion__return = port.getVersion();
System.out.println("getVersion.result=" + _getVersion__return);
} catch (AEWebservicesFaultFault e) {
System.out.println("Expected exception: AEWebservicesFaultFault has occurred.");
System.out.println(e.toString());
}
}
{
System.out.println("Invoking _import...");
net.brutex.sbm.wsclient.Auth __import_auth = null;
net.brutex.sbm.wsclient.FileContents __import_xmlInFile = null;
java.lang.String __import_adminRepositoryID = "";
java.lang.String __import_importResponseEndPoint = "";
java.lang.String __import_importResponseID = "";
net.brutex.sbm.wsclient.FileContents __import_xmlImportOptions = null;
boolean __import_validateOnly = false;
try {
java.lang.String __import__return = port._import(__import_auth, __import_xmlInFile, __import_adminRepositoryID, __import_importResponseEndPoint, __import_importResponseID, __import_xmlImportOptions, __import_validateOnly);
System.out.println("_import.result=" + __import__return);
} catch (AEWebservicesFaultFault e) {
System.out.println("Expected exception: AEWebservicesFaultFault has occurred.");
System.out.println(e.toString());
}
}
{
System.out.println("Invoking logout...");
net.brutex.sbm.wsclient.Auth _logout_auth = null;
try {
port.logout(_logout_auth);
} catch (AEWebservicesFaultFault e) {
System.out.println("Expected exception: AEWebservicesFaultFault has occurred.");
System.out.println(e.toString());
}
}
{
System.out.println("Invoking createAuxItems...");
net.brutex.sbm.wsclient.Auth _createAuxItems_auth = null;
java.math.BigInteger _createAuxItems_tableID = new java.math.BigInteger("0");
java.util.List<net.brutex.sbm.wsclient.TTItem> _createAuxItems_itemList = null;
java.lang.String _createAuxItems_responseOptions = "";
try {
java.util.List<net.brutex.sbm.wsclient.TTItem> _createAuxItems__return = port.createAuxItems(_createAuxItems_auth, _createAuxItems_tableID, _createAuxItems_itemList, _createAuxItems_responseOptions);
System.out.println("createAuxItems.result=" + _createAuxItems__return);
} catch (AEWebservicesFaultFault e) {
System.out.println("Expected exception: AEWebservicesFaultFault has occurred.");
System.out.println(e.toString());
}
}
{
System.out.println("Invoking getSolutions...");
net.brutex.sbm.wsclient.Auth _getSolutions_auth = null;
try {
java.util.List<net.brutex.sbm.wsclient.SolutionData> _getSolutions__return = port.getSolutions(_getSolutions_auth);
System.out.println("getSolutions.result=" + _getSolutions__return);
} catch (AEWebservicesFaultFault e) {
System.out.println("Expected exception: AEWebservicesFaultFault has occurred.");
System.out.println(e.toString());
}
}
{
System.out.println("Invoking getApplications...");
net.brutex.sbm.wsclient.Auth _getApplications_auth = null;
try {
java.util.List<net.brutex.sbm.wsclient.ApplicationData> _getApplications__return = port.getApplications(_getApplications_auth);
System.out.println("getApplications.result=" + _getApplications__return);
} catch (AEWebservicesFaultFault e) {
System.out.println("Expected exception: AEWebservicesFaultFault has occurred.");
System.out.println(e.toString());
}
}
System.exit(0);
}
}