Pensra offers a general purpose XML based mechanism permitting pre-approved sites to query the Pensra database for information stored within it.
Programmatic access to Pensra data via www.pensra.org is controlled by specific Internet IP Address. Thus, if you represent an organization that would like to interface to Pensra, you'll be required to be operating on an identifiable, static IP Address with appropriate/standard DNS (Domain Name Service) entries on the Internet.
Provide the IP Address, the Domain Name, and your Organization's identity to the Pensra Webmaster with a request for approval to access the XML service point.
Data requests (and responses) are sent and received using standard SOAP (Simple Object Access Protocol) mechanisms. The technical description and SOAP calling URL is at http://www.pensra.org/psrService.wsdl
The basic interface permits the caller to provide basic information about who the caller is and the action desired. Available actions are:
The following example represents an example Request to Display information about a single Match.
There are a wide variety of languages and mechanisms, as well as programming styles that can be used to request information from the Pensra SOAP Server. The following PHP code snippet represents a very simple example that will retrieve information from Pensra about Match 107660:
Once a response has been received, the $values variable will contain a multi-level PHP array of keywords and corresponding values.
Server will be an array containing at least:
The following example is an unparsed SOAP Response from the SFYS TimeSlots SOAP Server containing a Match Key, Date, Time, and Status for the Match:
Please note that the information presented on this page should not be taken literally. It is, instead, intended to introduce you to how to contact the SFYS TimeSlots SOAP Server for information transfer. The interface itself contains a substantial number of variations and alternatives including access requiring Userid and Password, searching capabilities to retrieve a series of responses meeting complex criteria, etc.
You are encouraged to experiment with the interface (provided your site is authorized to do so) and communicate with the SFYS TimeSlots Webmaster about more complicated requirements you may have.
For information regarding information transfer standards seehttp://www.w3.org/TR/REC-xml/
For information on how RidgeStar sites exchange XML data via the SOAP server/client see http://www.ridgestar.com/xml/processing
Revised: January 2012