plService


Click here for a complete list of operations.

GetPollingPlaceForAddressAJAX

Returns a the Polling Place Information for a given address query that is sent to the function.

Test

The test form is only available for requests from the local machine.

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /plService.asmx HTTP/1.1
Host: www.paportallocator.pa.gov
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.PAPollinglocator.state.pa.us/GetPollingPlaceForAddressAJAX"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <GetPollingPlaceForAddressAJAX xmlns="http://www.PAPollinglocator.state.pa.us/">
      <AddrQuery>
        <HouseNumber xmlns="http://tempuri.org/PA.DOS.SURE.Portal.PortalServices/PollingInformation">int</HouseNumber>
        <StreetPreDirectional xmlns="http://tempuri.org/PA.DOS.SURE.Portal.PortalServices/PollingInformation">string</StreetPreDirectional>
        <StreetName xmlns="http://tempuri.org/PA.DOS.SURE.Portal.PortalServices/PollingInformation">string</StreetName>
        <StreetSuffix xmlns="http://tempuri.org/PA.DOS.SURE.Portal.PortalServices/PollingInformation">string</StreetSuffix>
        <StreetPostDirectional xmlns="http://tempuri.org/PA.DOS.SURE.Portal.PortalServices/PollingInformation">string</StreetPostDirectional>
        <CityName xmlns="http://tempuri.org/PA.DOS.SURE.Portal.PortalServices/PollingInformation">string</CityName>
        <StateCode xmlns="http://tempuri.org/PA.DOS.SURE.Portal.PortalServices/PollingInformation">string</StateCode>
        <PostalCode xmlns="http://tempuri.org/PA.DOS.SURE.Portal.PortalServices/PollingInformation">string</PostalCode>
        <PollingPlaceID xmlns="http://tempuri.org/PA.DOS.SURE.Portal.PortalServices/PollingInformation">int</PollingPlaceID>
        <CountyID xmlns="http://tempuri.org/PA.DOS.SURE.Portal.PortalServices/PollingInformation">int</CountyID>
      </AddrQuery>
      <pPI>
        <Style xmlns="http://tempuri.org/PA.DOS.SURE.Portal.PortalServices/PollingInformation">string</Style>
        <Script xmlns="http://tempuri.org/PA.DOS.SURE.Portal.PortalServices/PollingInformation">string</Script>
        <HTML xmlns="http://tempuri.org/PA.DOS.SURE.Portal.PortalServices/PollingInformation">string</HTML>
        <SelectedPollAddress xmlns="http://tempuri.org/PA.DOS.SURE.Portal.PortalServices/PollingInformation">int</SelectedPollAddress>
        <PollingPlaces xmlns="http://tempuri.org/PA.DOS.SURE.Portal.PortalServices/PollingInformation">
          <PollingPlace>
            <Name>string</Name>
            <Address xsi:nil="true" />
            <Phone>string</Phone>
            <CountyID>int</CountyID>
            <HandicapAccessible>boolean</HandicapAccessible>
            <PollingPlaceID>int</PollingPlaceID>
          </PollingPlace>
          <PollingPlace>
            <Name>string</Name>
            <Address xsi:nil="true" />
            <Phone>string</Phone>
            <CountyID>int</CountyID>
            <HandicapAccessible>boolean</HandicapAccessible>
            <PollingPlaceID>int</PollingPlaceID>
          </PollingPlace>
        </PollingPlaces>
        <UserAddress xmlns="http://tempuri.org/PA.DOS.SURE.Portal.PortalServices/PollingInformation">
          <City>string</City>
          <County>string</County>
          <State>string</State>
          <Street1>string</Street1>
          <Street2>string</Street2>
          <PostalCode>string</PostalCode>
        </UserAddress>
        <DirectionURL xmlns="http://tempuri.org/PA.DOS.SURE.Portal.PortalServices/PollingInformation">string</DirectionURL>
        <DirectionHREF xmlns="http://tempuri.org/PA.DOS.SURE.Portal.PortalServices/PollingInformation">string</DirectionHREF>
        <PrecinctDescription xmlns="http://tempuri.org/PA.DOS.SURE.Portal.PortalServices/PollingInformation">string</PrecinctDescription>
      </pPI>
    </GetPollingPlaceForAddressAJAX>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <GetPollingPlaceForAddressAJAXResponse xmlns="http://www.PAPollinglocator.state.pa.us/">
      <GetPollingPlaceForAddressAJAXResult>int</GetPollingPlaceForAddressAJAXResult>
      <pPI>
        <Style xmlns="http://tempuri.org/PA.DOS.SURE.Portal.PortalServices/PollingInformation">string</Style>
        <Script xmlns="http://tempuri.org/PA.DOS.SURE.Portal.PortalServices/PollingInformation">string</Script>
        <HTML xmlns="http://tempuri.org/PA.DOS.SURE.Portal.PortalServices/PollingInformation">string</HTML>
        <SelectedPollAddress xmlns="http://tempuri.org/PA.DOS.SURE.Portal.PortalServices/PollingInformation">int</SelectedPollAddress>
        <PollingPlaces xmlns="http://tempuri.org/PA.DOS.SURE.Portal.PortalServices/PollingInformation">
          <PollingPlace>
            <Name>string</Name>
            <Address xsi:nil="true" />
            <Phone>string</Phone>
            <CountyID>int</CountyID>
            <HandicapAccessible>boolean</HandicapAccessible>
            <PollingPlaceID>int</PollingPlaceID>
          </PollingPlace>
          <PollingPlace>
            <Name>string</Name>
            <Address xsi:nil="true" />
            <Phone>string</Phone>
            <CountyID>int</CountyID>
            <HandicapAccessible>boolean</HandicapAccessible>
            <PollingPlaceID>int</PollingPlaceID>
          </PollingPlace>
        </PollingPlaces>
        <UserAddress xmlns="http://tempuri.org/PA.DOS.SURE.Portal.PortalServices/PollingInformation">
          <City>string</City>
          <County>string</County>
          <State>string</State>
          <Street1>string</Street1>
          <Street2>string</Street2>
          <PostalCode>string</PostalCode>
        </UserAddress>
        <DirectionURL xmlns="http://tempuri.org/PA.DOS.SURE.Portal.PortalServices/PollingInformation">string</DirectionURL>
        <DirectionHREF xmlns="http://tempuri.org/PA.DOS.SURE.Portal.PortalServices/PollingInformation">string</DirectionHREF>
        <PrecinctDescription xmlns="http://tempuri.org/PA.DOS.SURE.Portal.PortalServices/PollingInformation">string</PrecinctDescription>
      </pPI>
    </GetPollingPlaceForAddressAJAXResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /plService.asmx HTTP/1.1
Host: www.paportallocator.pa.gov
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <GetPollingPlaceForAddressAJAX xmlns="http://www.PAPollinglocator.state.pa.us/">
      <AddrQuery>
        <HouseNumber xmlns="http://tempuri.org/PA.DOS.SURE.Portal.PortalServices/PollingInformation">int</HouseNumber>
        <StreetPreDirectional xmlns="http://tempuri.org/PA.DOS.SURE.Portal.PortalServices/PollingInformation">string</StreetPreDirectional>
        <StreetName xmlns="http://tempuri.org/PA.DOS.SURE.Portal.PortalServices/PollingInformation">string</StreetName>
        <StreetSuffix xmlns="http://tempuri.org/PA.DOS.SURE.Portal.PortalServices/PollingInformation">string</StreetSuffix>
        <StreetPostDirectional xmlns="http://tempuri.org/PA.DOS.SURE.Portal.PortalServices/PollingInformation">string</StreetPostDirectional>
        <CityName xmlns="http://tempuri.org/PA.DOS.SURE.Portal.PortalServices/PollingInformation">string</CityName>
        <StateCode xmlns="http://tempuri.org/PA.DOS.SURE.Portal.PortalServices/PollingInformation">string</StateCode>
        <PostalCode xmlns="http://tempuri.org/PA.DOS.SURE.Portal.PortalServices/PollingInformation">string</PostalCode>
        <PollingPlaceID xmlns="http://tempuri.org/PA.DOS.SURE.Portal.PortalServices/PollingInformation">int</PollingPlaceID>
        <CountyID xmlns="http://tempuri.org/PA.DOS.SURE.Portal.PortalServices/PollingInformation">int</CountyID>
      </AddrQuery>
      <pPI>
        <Style xmlns="http://tempuri.org/PA.DOS.SURE.Portal.PortalServices/PollingInformation">string</Style>
        <Script xmlns="http://tempuri.org/PA.DOS.SURE.Portal.PortalServices/PollingInformation">string</Script>
        <HTML xmlns="http://tempuri.org/PA.DOS.SURE.Portal.PortalServices/PollingInformation">string</HTML>
        <SelectedPollAddress xmlns="http://tempuri.org/PA.DOS.SURE.Portal.PortalServices/PollingInformation">int</SelectedPollAddress>
        <PollingPlaces xmlns="http://tempuri.org/PA.DOS.SURE.Portal.PortalServices/PollingInformation">
          <PollingPlace>
            <Name>string</Name>
            <Address xsi:nil="true" />
            <Phone>string</Phone>
            <CountyID>int</CountyID>
            <HandicapAccessible>boolean</HandicapAccessible>
            <PollingPlaceID>int</PollingPlaceID>
          </PollingPlace>
          <PollingPlace>
            <Name>string</Name>
            <Address xsi:nil="true" />
            <Phone>string</Phone>
            <CountyID>int</CountyID>
            <HandicapAccessible>boolean</HandicapAccessible>
            <PollingPlaceID>int</PollingPlaceID>
          </PollingPlace>
        </PollingPlaces>
        <UserAddress xmlns="http://tempuri.org/PA.DOS.SURE.Portal.PortalServices/PollingInformation">
          <City>string</City>
          <County>string</County>
          <State>string</State>
          <Street1>string</Street1>
          <Street2>string</Street2>
          <PostalCode>string</PostalCode>
        </UserAddress>
        <DirectionURL xmlns="http://tempuri.org/PA.DOS.SURE.Portal.PortalServices/PollingInformation">string</DirectionURL>
        <DirectionHREF xmlns="http://tempuri.org/PA.DOS.SURE.Portal.PortalServices/PollingInformation">string</DirectionHREF>
        <PrecinctDescription xmlns="http://tempuri.org/PA.DOS.SURE.Portal.PortalServices/PollingInformation">string</PrecinctDescription>
      </pPI>
    </GetPollingPlaceForAddressAJAX>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <GetPollingPlaceForAddressAJAXResponse xmlns="http://www.PAPollinglocator.state.pa.us/">
      <GetPollingPlaceForAddressAJAXResult>int</GetPollingPlaceForAddressAJAXResult>
      <pPI>
        <Style xmlns="http://tempuri.org/PA.DOS.SURE.Portal.PortalServices/PollingInformation">string</Style>
        <Script xmlns="http://tempuri.org/PA.DOS.SURE.Portal.PortalServices/PollingInformation">string</Script>
        <HTML xmlns="http://tempuri.org/PA.DOS.SURE.Portal.PortalServices/PollingInformation">string</HTML>
        <SelectedPollAddress xmlns="http://tempuri.org/PA.DOS.SURE.Portal.PortalServices/PollingInformation">int</SelectedPollAddress>
        <PollingPlaces xmlns="http://tempuri.org/PA.DOS.SURE.Portal.PortalServices/PollingInformation">
          <PollingPlace>
            <Name>string</Name>
            <Address xsi:nil="true" />
            <Phone>string</Phone>
            <CountyID>int</CountyID>
            <HandicapAccessible>boolean</HandicapAccessible>
            <PollingPlaceID>int</PollingPlaceID>
          </PollingPlace>
          <PollingPlace>
            <Name>string</Name>
            <Address xsi:nil="true" />
            <Phone>string</Phone>
            <CountyID>int</CountyID>
            <HandicapAccessible>boolean</HandicapAccessible>
            <PollingPlaceID>int</PollingPlaceID>
          </PollingPlace>
        </PollingPlaces>
        <UserAddress xmlns="http://tempuri.org/PA.DOS.SURE.Portal.PortalServices/PollingInformation">
          <City>string</City>
          <County>string</County>
          <State>string</State>
          <Street1>string</Street1>
          <Street2>string</Street2>
          <PostalCode>string</PostalCode>
        </UserAddress>
        <DirectionURL xmlns="http://tempuri.org/PA.DOS.SURE.Portal.PortalServices/PollingInformation">string</DirectionURL>
        <DirectionHREF xmlns="http://tempuri.org/PA.DOS.SURE.Portal.PortalServices/PollingInformation">string</DirectionHREF>
        <PrecinctDescription xmlns="http://tempuri.org/PA.DOS.SURE.Portal.PortalServices/PollingInformation">string</PrecinctDescription>
      </pPI>
    </GetPollingPlaceForAddressAJAXResponse>
  </soap12:Body>
</soap12:Envelope>