WSDL file: "wsdl"

Target namespace: http://sbapp.hescloud.net/session/

Overview:

Services
HesAPI_SessionService
Bindings
HesAPI_SessionBinding
Port types
HesAPI_SessionPort
Messages
newSessionIn, newSessionOut, retrieveSessionByIdIn, retrieveSessionByIdOut, retrieveSessionById11In, retrieveSessionById11Out, retrieveSessionHistoryByGuidIn, retrieveSessionHistoryByGuidOut, retrieveSessionHistoryByGuid11In, retrieveSessionHistoryByGuid11Out, sessionHistoryManagementIn, sessionHistoryManagementOut, saveSessionIn, saveSessionOut, saveSession11In, saveSession11Out, retrieveSessionCompareIn, retrieveSessionCompareOut, retrieveSessionCompare11In, retrieveSessionCompare11Out, retrieveUpgradesResultIn, retrieveUpgradesResultOut, retrieveUpgradesResult11In, retrieveUpgradesResult11Out, recalcRetrofitsIn, recalcRetrofitsOut, retrieveSessionResultsIn, retrieveSessionResultsOut, retrieveSessionResults11In, retrieveSessionResults11Out, retrieveSummarySessionResults11In, retrieveSummarySessionResults11Out, retrieveDetailedSessionResults11In, retrieveDetailedSessionResults11Out, retrieveMonthlySessionResults11In, retrieveMonthlySessionResults11Out, retrieveLightingSummaryResults11In, retrieveLightingSummaryResults11Out, retrieveLightingDetailedResults11In, retrieveLightingDetailedResults11Out, retrieveHeatCoolSummaryResults11In, retrieveHeatCoolSummaryResults11Out, retrieveHeatCoolDetailedResults11In, retrieveHeatCoolDetailedResults11Out, retrieveLargeAppSummaryResults11In, retrieveLargeAppSummaryResults11Out, retrieveLargeAppDetailedResults11In, retrieveLargeAppDetailedResults11Out, retrieveSmallAppSummaryResults11In, retrieveSmallAppSummaryResults11Out, retrieveSmallAppDetailedResults11In, retrieveSmallAppDetailedResults11Out, retrieveSessionUpgradesIn, retrieveSessionUpgradesOut, retrieveSessionUpgrades11In, retrieveSessionUpgrades11Out, retrieveSessionReportsIn, retrieveSessionReportsOut, retrieveSessionReports11In, retrieveSessionReports11Out, switchSessionIn, switchSessionOut, retrieveMessageIn, retrieveMessageOut, cloneSessionIn, cloneSessionOut, importSessionDataIn, importSessionDataOut, importRangeSessionDataIn, importRangeSessionDataOut,

WSDL Definition
Name Documentation
HesAPI_Session N/A

Services
Name Documentation
HesAPI_SessionService
N/A


Service : HesAPI_SessionService
Port Name Binding Address Extensibility Documentation
HesAPI_SessionPort HesAPI_SessionBinding <soap:address location="http://sbapp.hescloud.net/session/"/>
N/A


Binding : HesAPI_SessionBinding
Port Type HesAPI_SessionPort
Extensibility <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
Operations newSession, retrieveSessionById, retrieveSessionById11, retrieveSessionHistoryByGuid, retrieveSessionHistoryByGuid11, sessionHistoryManagement, saveSession, saveSession11, retrieveSessionCompare, retrieveSessionCompare11, retrieveUpgradesResult, retrieveUpgradesResult11, recalcRetrofits, retrieveSessionResults, retrieveSessionResults11, retrieveSummarySessionResults11, retrieveDetailedSessionResults11, retrieveMonthlySessionResults11, retrieveLightingSummaryResults11, retrieveLightingDetailedResults11, retrieveHeatCoolSummaryResults11, retrieveHeatCoolDetailedResults11, retrieveLargeAppSummaryResults11, retrieveLargeAppDetailedResults11, retrieveSmallAppSummaryResults11, retrieveSmallAppDetailedResults11, retrieveSessionUpgrades, retrieveSessionUpgrades11, retrieveSessionReports, retrieveSessionReports11, switchSession, retrieveMessage, cloneSession, importSessionData, importRangeSessionData,


Port Type : HesAPI_SessionPort
Operation Name Input message Output message Documentation
newSession newSessionIn newSessionOut
New Session The NewSession operation starts a new HES session Steps 1. create session (note: it is modeled off of hes_quick vars2.php) 2. call retrieveSessionById (see Session_old.php for old code)
retrieveSessionById retrieveSessionByIdIn retrieveSessionByIdOut
Retrieve Session By Id The RetrieveSessionById operation retrieves an existing HES session by id number (simple or detailed).
retrieveSessionById11 retrieveSessionById11In retrieveSessionById11Out
Retrieve Session By Id (ver 1.1) The RetrieveSessionById operation retrieves an existing HES session by id number (simple or detailed).
retrieveSessionHistoryByGuid retrieveSessionHistoryByGuidIn retrieveSessionHistoryByGuidOut
retrieve list of session from session_history table
retrieveSessionHistoryByGuid11 retrieveSessionHistoryByGuid11In retrieveSessionHistoryByGuid11Out
retrieve list of session from session_history table (ver 1.1)
sessionHistoryManagement sessionHistoryManagementIn sessionHistoryManagementOut
methods to manage session history
saveSession saveSessionIn saveSessionOut
Save Session The SaveSession operation saves a collection of inputs to the database for a given session
saveSession11 saveSession11In saveSession11Out
Save Session (1.1) The SaveSession operation saves a collection of inputs to the database for a given session
retrieveSessionCompare retrieveSessionCompareIn retrieveSessionCompareOut
Return Compare Tab Data, this is the results page that is called when session is first looked up
retrieveSessionCompare11 retrieveSessionCompare11In retrieveSessionCompare11Out
Return Compare Tab Data, this is the results page that is called when session is first looked up (ver 1.1)
retrieveUpgradesResult retrieveUpgradesResultIn retrieveUpgradesResultOut
return data form upgrades_result (retroarray)
retrieveUpgradesResult11 retrieveUpgradesResult11In retrieveUpgradesResult11Out
return data form upgrades_result (retroarray) (ver 1.1)
recalcRetrofits recalcRetrofitsIn recalcRetrofitsOut
recalc Retrofits and return status
retrieveSessionResults retrieveSessionResultsIn retrieveSessionResultsOut
Return Compare/results Data for summary and detailed
retrieveSessionResults11 retrieveSessionResults11In retrieveSessionResults11Out
Return Compare/results Data for summary and detailed (ver 1.1)
retrieveSummarySessionResults11 retrieveSummarySessionResults11In retrieveSummarySessionResults11Out
Return Compare/results Data for summary (ver 1.1)
retrieveDetailedSessionResults11 retrieveDetailedSessionResults11In retrieveDetailedSessionResults11Out
Return Compare/results Data for detailed (ver 1.1)
retrieveMonthlySessionResults11 retrieveMonthlySessionResults11In retrieveMonthlySessionResults11Out
Return monthly results Data (ver 1.1)
retrieveLightingSummaryResults11 retrieveLightingSummaryResults11In retrieveLightingSummaryResults11Out
Return lighting results Data for summary (ver 1.1)
retrieveLightingDetailedResults11 retrieveLightingDetailedResults11In retrieveLightingDetailedResults11Out
Return lighting results Data for detailed (ver 1.1)
retrieveHeatCoolSummaryResults11 retrieveHeatCoolSummaryResults11In retrieveHeatCoolSummaryResults11Out
Return heat/cool results Data for summary (ver 1.1)
retrieveHeatCoolDetailedResults11 retrieveHeatCoolDetailedResults11In retrieveHeatCoolDetailedResults11Out
Return heat/cool results Data for detailed (ver 1.1)
retrieveLargeAppSummaryResults11 retrieveLargeAppSummaryResults11In retrieveLargeAppSummaryResults11Out
Return large appliance results Data for summary (ver 1.1)
retrieveLargeAppDetailedResults11 retrieveLargeAppDetailedResults11In retrieveLargeAppDetailedResults11Out
Return large appliance results Data for detailed (ver 1.1)
retrieveSmallAppSummaryResults11 retrieveSmallAppSummaryResults11In retrieveSmallAppSummaryResults11Out
Return small appliance results Data for summary (ver 1.1)
retrieveSmallAppDetailedResults11 retrieveSmallAppDetailedResults11In retrieveSmallAppDetailedResults11Out
Return small appliance results Data for detailed (ver 1.1)
retrieveSessionUpgrades retrieveSessionUpgradesIn retrieveSessionUpgradesOut
Return Upgrade pages results Data for summary and detailed
retrieveSessionUpgrades11 retrieveSessionUpgrades11In retrieveSessionUpgrades11Out
Return Upgrade pages results Data for summary and detailed
retrieveSessionReports retrieveSessionReportsIn retrieveSessionReportsOut
Return Report pages results Data for summary and detailed
retrieveSessionReports11 retrieveSessionReports11In retrieveSessionReports11Out
Return Report pages results Data for summary and detailed
switchSession switchSessionIn switchSessionOut
Call to switch input types
retrieveMessage retrieveMessageIn retrieveMessageOut
Get Error By Number
cloneSession cloneSessionIn cloneSessionOut
Clone Session The CloneSession operation saves a duplicate of the given session, under a new session id
importSessionData importSessionDataIn importSessionDataOut
Create a new session from data from existing session in old db This code does... 1, reads in csv file that contains crossref from old field names to new 2. Opens up connection to old database and reads in data for session from all tables that hold session input data 3. Loops thru crossref array and combines crossref field names with data from old hes data 4. uses new framework to put that data into objects and call the insert functions
importRangeSessionData importRangeSessionDataIn importRangeSessionDataOut
Import Range Session Data


Messages:



newSessionIn

Documentation :

N/A

Part Name Element Type Documentation
client_guid N/A xsd:string
N/A
zipcode N/A xsd:string
N/A
website_type N/A xsd:int
N/A



newSessionOut

Documentation :

N/A

Part Name Element Type Documentation
return N/A tns:ArrayOfRetrieveSessionByIdResponse
N/A



retrieveSessionByIdIn

Documentation :

N/A

Part Name Element Type Documentation
client_guid N/A xsd:string
N/A
session_id N/A xsd:int
N/A
session_type N/A xsd:int
N/A
website_type N/A xsd:int
N/A



retrieveSessionByIdOut

Documentation :

N/A

Part Name Element Type Documentation
return N/A soap-enc:Array
N/A



retrieveSessionById11In

Documentation :

N/A

Part Name Element Type Documentation
client_guid N/A xsd:string
N/A
session_id N/A xsd:int
N/A
session_type N/A xsd:int
N/A
website_type N/A xsd:int
N/A



retrieveSessionById11Out

Documentation :

N/A

Part Name Element Type Documentation
return N/A tns:ArrayOfRetrieveSessionByIdResponse
N/A



retrieveSessionHistoryByGuidIn

Documentation :

N/A

Part Name Element Type Documentation
client_guid N/A xsd:string
N/A
GUID N/A xsd:string
N/A
facebookId N/A xsd:string
N/A



retrieveSessionHistoryByGuidOut

Documentation :

N/A

Part Name Element Type Documentation
return N/A soap-enc:Array
N/A



retrieveSessionHistoryByGuid11In

Documentation :

N/A

Part Name Element Type Documentation
client_guid N/A xsd:string
N/A
GUID N/A xsd:string
N/A
facebookId N/A xsd:string
N/A



retrieveSessionHistoryByGuid11Out

Documentation :

N/A

Part Name Element Type Documentation
return N/A tns:RetrieveSessionHistoryByGuidResponse
N/A



sessionHistoryManagementIn

Documentation :

N/A

Part Name Element Type Documentation
client_guid N/A xsd:string
N/A
GUID N/A xsd:string
N/A
session_id N/A xsd:string
N/A
function N/A xsd:string
N/A



sessionHistoryManagementOut

Documentation :

N/A

Part Name Element Type Documentation
return N/A soap-enc:Array
N/A



saveSessionIn

Documentation :

N/A

Part Name Element Type Documentation
client_guid N/A xsd:string
N/A
session_id N/A xsd:int
N/A
input_array N/A soap-enc:Array
N/A
validate N/A xsd:int
N/A



saveSessionOut

Documentation :

N/A

Part Name Element Type Documentation
return N/A soap-enc:Array
N/A



saveSession11In

Documentation :

N/A

Part Name Element Type Documentation
client_guid N/A xsd:string
N/A
session_id N/A xsd:int
N/A
input_object N/A tns:SaveSessionInput
N/A
validate N/A xsd:int
N/A



saveSession11Out

Documentation :

N/A

Part Name Element Type Documentation
return N/A tns:SaveSessionResponse
N/A



retrieveSessionCompareIn

Documentation :

N/A

Part Name Element Type Documentation
client_guid N/A xsd:string
N/A
session_id N/A xsd:int
N/A
page N/A xsd:string
N/A



retrieveSessionCompareOut

Documentation :

N/A

Part Name Element Type Documentation
return N/A soap-enc:Array
N/A



retrieveSessionCompare11In

Documentation :

N/A

Part Name Element Type Documentation
client_guid N/A xsd:string
N/A
session_id N/A xsd:int
N/A
page N/A xsd:string
N/A



retrieveSessionCompare11Out

Documentation :

N/A

Part Name Element Type Documentation
return N/A tns:RetrieveSessionCompareResponse
N/A



retrieveUpgradesResultIn

Documentation :

N/A

Part Name Element Type Documentation
client_guid N/A xsd:string
N/A
session_id N/A xsd:int
N/A



retrieveUpgradesResultOut

Documentation :

N/A

Part Name Element Type Documentation
return N/A soap-enc:Array
N/A



retrieveUpgradesResult11In

Documentation :

N/A

Part Name Element Type Documentation
client_guid N/A xsd:string
N/A
session_id N/A xsd:int
N/A



retrieveUpgradesResult11Out

Documentation :

N/A

Part Name Element Type Documentation
return N/A tns:RetrieveUpgradesResultResponse
N/A



recalcRetrofitsIn

Documentation :

N/A

Part Name Element Type Documentation
client_guid N/A xsd:string
N/A
session_id N/A xsd:int
N/A
retrofit_array N/A soap-enc:Array
N/A



recalcRetrofitsOut

Documentation :

N/A

Part Name Element Type Documentation
return N/A soap-enc:Array
N/A



retrieveSessionResultsIn

Documentation :

N/A

Part Name Element Type Documentation
client_guid N/A xsd:string
N/A
session_id N/A xsd:int
N/A
page N/A xsd:string
N/A



retrieveSessionResultsOut

Documentation :

N/A

Part Name Element Type Documentation
return N/A soap-enc:Array
N/A



retrieveSessionResults11In

Documentation :

N/A

Part Name Element Type Documentation
client_guid N/A xsd:string
N/A
session_id N/A xsd:int
N/A
page N/A xsd:string
N/A



retrieveSessionResults11Out

Documentation :

N/A

Part Name Element Type Documentation
return N/A tns:RetrieveSessionResultsResponse
N/A



retrieveSummarySessionResults11In

Documentation :

N/A

Part Name Element Type Documentation
client_guid N/A xsd:string
N/A
session_id N/A xsd:int
N/A



retrieveSummarySessionResults11Out

Documentation :

N/A

Part Name Element Type Documentation
return N/A tns:RetrieveSessionSummaryResponse
N/A



retrieveDetailedSessionResults11In

Documentation :

N/A

Part Name Element Type Documentation
client_guid N/A xsd:string
N/A
session_id N/A xsd:int
N/A



retrieveDetailedSessionResults11Out

Documentation :

N/A

Part Name Element Type Documentation
return N/A tns:RetrieveSessionDetailResponse
N/A



retrieveMonthlySessionResults11In

Documentation :

N/A

Part Name Element Type Documentation
client_guid N/A xsd:string
N/A
session_id N/A xsd:int
N/A



retrieveMonthlySessionResults11Out

Documentation :

N/A

Part Name Element Type Documentation
return N/A tns:RetrieveSessionMonthlyResponse
N/A



retrieveLightingSummaryResults11In

Documentation :

N/A

Part Name Element Type Documentation
client_guid N/A xsd:string
N/A
session_id N/A xsd:int
N/A



retrieveLightingSummaryResults11Out

Documentation :

N/A

Part Name Element Type Documentation
return N/A tns:RetrieveLightingSummaryResponse
N/A



retrieveLightingDetailedResults11In

Documentation :

N/A

Part Name Element Type Documentation
client_guid N/A xsd:string
N/A
session_id N/A xsd:int
N/A



retrieveLightingDetailedResults11Out

Documentation :

N/A

Part Name Element Type Documentation
return N/A tns:RetrieveLightingDetailResponse
N/A



retrieveHeatCoolSummaryResults11In

Documentation :

N/A

Part Name Element Type Documentation
client_guid N/A xsd:string
N/A
session_id N/A xsd:int
N/A



retrieveHeatCoolSummaryResults11Out

Documentation :

N/A

Part Name Element Type Documentation
return N/A tns:RetrieveHeatCoolSummaryResponse
N/A



retrieveHeatCoolDetailedResults11In

Documentation :

N/A

Part Name Element Type Documentation
client_guid N/A xsd:string
N/A
session_id N/A xsd:int
N/A



retrieveHeatCoolDetailedResults11Out

Documentation :

N/A

Part Name Element Type Documentation
return N/A tns:RetrieveHeatCoolDetailResponse
N/A



retrieveLargeAppSummaryResults11In

Documentation :

N/A

Part Name Element Type Documentation
client_guid N/A xsd:string
N/A
session_id N/A xsd:int
N/A



retrieveLargeAppSummaryResults11Out

Documentation :

N/A

Part Name Element Type Documentation
return N/A tns:RetrieveLargeAppSummaryResponse
N/A



retrieveLargeAppDetailedResults11In

Documentation :

N/A

Part Name Element Type Documentation
client_guid N/A xsd:string
N/A
session_id N/A xsd:int
N/A



retrieveLargeAppDetailedResults11Out

Documentation :

N/A

Part Name Element Type Documentation
return N/A tns:RetrieveLargeAppDetailResponse
N/A



retrieveSmallAppSummaryResults11In

Documentation :

N/A

Part Name Element Type Documentation
client_guid N/A xsd:string
N/A
session_id N/A xsd:int
N/A



retrieveSmallAppSummaryResults11Out

Documentation :

N/A

Part Name Element Type Documentation
return N/A tns:RetrieveSmallAppSummaryResponse
N/A



retrieveSmallAppDetailedResults11In

Documentation :

N/A

Part Name Element Type Documentation
client_guid N/A xsd:string
N/A
session_id N/A xsd:int
N/A



retrieveSmallAppDetailedResults11Out

Documentation :

N/A

Part Name Element Type Documentation
return N/A tns:RetrieveSmallAppDetailResponse
N/A



retrieveSessionUpgradesIn

Documentation :

N/A

Part Name Element Type Documentation
client_guid N/A xsd:string
N/A
session_id N/A xsd:int
N/A
page N/A xsd:string
N/A



retrieveSessionUpgradesOut

Documentation :

N/A

Part Name Element Type Documentation
return N/A soap-enc:Array
N/A



retrieveSessionUpgrades11In

Documentation :

N/A

Part Name Element Type Documentation
client_guid N/A xsd:string
N/A
session_id N/A xsd:int
N/A
page N/A xsd:string
N/A



retrieveSessionUpgrades11Out

Documentation :

N/A

Part Name Element Type Documentation
return N/A tns:RetrieveSessionUpgradesResponse
N/A



retrieveSessionReportsIn

Documentation :

N/A

Part Name Element Type Documentation
client_guid N/A xsd:string
N/A
session_id N/A xsd:anyType
N/A
page N/A xsd:anyType
N/A
website_type N/A xsd:anyType
N/A



retrieveSessionReportsOut

Documentation :

N/A

Part Name Element Type Documentation
return N/A soap-enc:Array
N/A



retrieveSessionReports11In

Documentation :

N/A

Part Name Element Type Documentation
client_guid N/A xsd:string
N/A
session_id N/A xsd:anyType
N/A
page N/A xsd:anyType
N/A
website_type N/A xsd:anyType
N/A



retrieveSessionReports11Out

Documentation :

N/A

Part Name Element Type Documentation
return N/A tns:RetrieveSessionReportsResponse
N/A



switchSessionIn

Documentation :

N/A

Part Name Element Type Documentation
client_guid N/A xsd:string
N/A
session_id N/A xsd:int
N/A
direction N/A xsd:string
N/A
website_type N/A xsd:int
N/A



switchSessionOut

Documentation :

N/A

Part Name Element Type Documentation
return N/A soap-enc:Array
N/A



retrieveMessageIn

Documentation :

N/A

Part Name Element Type Documentation
client_guid N/A xsd:string
N/A
error_number N/A xsd:string
N/A



retrieveMessageOut

Documentation :

N/A

Part Name Element Type Documentation
return N/A xsd:string
N/A



cloneSessionIn

Documentation :

N/A

Part Name Element Type Documentation
client_guid N/A xsd:string
N/A
session_id N/A xsd:int
N/A



cloneSessionOut

Documentation :

N/A

Part Name Element Type Documentation
return N/A xsd:boolean
N/A



importSessionDataIn

Documentation :

N/A

Part Name Element Type Documentation
client_guid N/A xsd:string
N/A
session_id N/A xsd:int
N/A



importSessionDataOut

Documentation :

N/A

Part Name Element Type Documentation
return N/A xsd:int
N/A



importRangeSessionDataIn

Documentation :

N/A

Part Name Element Type Documentation
client_guid N/A xsd:string
N/A
session_id_start N/A xsd:int
N/A
session_id_end N/A xsd:int
N/A



importRangeSessionDataOut

Documentation :

N/A

Part Name Element Type Documentation
return N/A xsd:int
N/A