gov.grants.apply.soap.util
Class SoapUtils

java.lang.Object
  extended bygov.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

Field Summary
static java.lang.String DIME_ENCODING
           
static java.lang.String ENCODING_TYPE
           
(package private) static org.apache.log4j.Logger log
           
static java.lang.String MIME_ENCODING
           
static java.lang.String PROP_FILE
           
static java.lang.String SOAP_HOST
           
static java.lang.String SOAP_PORT
           
 
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
 
Constructor Summary
SoapUtils()
           
 
Method Summary
static ApplicantIntegrationSoapBindingStub getApplicantSoapStub()
          Get Application Soap Stub
static java.lang.String getProperty(java.lang.String key)
          Get a property value from the soap server properties file.
static java.lang.String getSoapServerPropFile()
          Get soap server properties file
static java.lang.String getSoapURL()
          Get Soap URL
static void setSoapServerPropFile(java.lang.String soapServerPropFile)
          Set soap server property file
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

SoapUtils

public SoapUtils()
Method Detail

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.