gov.grants.apply.soap.util
Class SoapUtils
java.lang.Object
gov.grants.apply.soap.util.SoapUtils
- All Implemented Interfaces:
- Constants
- public class SoapUtils
- extends java.lang.Object
- implements Constants
- Author:
- Brian Husted
TODO To change the template for this generated type comment go to Window -
Preferences - Java - Code Style - Code Templates
Fields inherited from interface gov.grants.apply.struts.Constants |
ACTION_CONTINUE, ACTION_FAILURE, ACTION_SUCCESS, APP_RECEIPT_DATE, APPLICATION_INFO, APPLICATION_XML, ATTACHMENTS, ERROR_DETAIL, GETOPPORTUNITY_LIST, GG_TRACKING_ID, SOAP_SERVER_PROPERTY_FILE, STATUS_DETAIL, XML_FILE_NAME |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
static final org.apache.log4j.Logger log
PROP_FILE
public static final java.lang.String PROP_FILE
- See Also:
- Constant Field Values
SOAP_HOST
public static final java.lang.String SOAP_HOST
- See Also:
- Constant Field Values
SOAP_PORT
public static final java.lang.String SOAP_PORT
- See Also:
- Constant Field Values
ENCODING_TYPE
public static final java.lang.String ENCODING_TYPE
- See Also:
- Constant Field Values
MIME_ENCODING
public static final java.lang.String MIME_ENCODING
- See Also:
- Constant Field Values
DIME_ENCODING
public static final java.lang.String DIME_ENCODING
- See Also:
- Constant Field Values
SoapUtils
public SoapUtils()
getProperty
public static java.lang.String getProperty(java.lang.String key)
throws java.io.IOException
- Get a property value from the soap server properties file.
- Parameters:
key
- An key value
- Returns:
- The property value or null if no property exists
- Throws:
java.io.IOException
getSoapURL
public static java.lang.String getSoapURL()
throws java.io.IOException
- Get Soap URL
- Returns:
- soap URL
- Throws:
java.io.IOException
getApplicantSoapStub
public static ApplicantIntegrationSoapBindingStub getApplicantSoapStub()
throws java.lang.Exception
- Get Application Soap Stub
- Returns:
- The ApplicantIntegrationSoapBindingStub
- Throws:
java.lang.Exception
getSoapServerPropFile
public static java.lang.String getSoapServerPropFile()
- Get soap server properties file
- Returns:
- The soapServerPropFile.
setSoapServerPropFile
public static void setSoapServerPropFile(java.lang.String soapServerPropFile)
- Set soap server property file
- Parameters:
soapServerPropFile
- The soapServerPropFile to set.