All pastes #392128 Raw Edit

Anonymous

public text v1 · immutable
·published 2007-03-12 18:01 UTC
rendered paste body
Module:map
Service:getPointsOfInterestOnWhiteList
Request:
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://web.context.commons.shs.com/jaws" xmlns:ns2="http://com.shs.ws/room20/service/local-info" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <SOAP-ENV:Body>
    <ns2:getPointsOfInterestOnWhiteList>
      <ns2:userContext>
        <ns1:bundleNumber>1</ns1:bundleNumber>
        <ns1:country>US</ns1:country>
        <ns1:locale>en_US</ns1:locale>
        <ns1:userName>SHS9/13</ns1:userName>
      </ns2:userContext>
      <ns2:locationContext>
        <ns1:locationCode>ch-core</ns1:locationCode>
        <ns1:nasId>ch-00-001</ns1:nasId>
        <ns1:roomNb xsi:nil="true"/>
        <ns1:subLocation>Room</ns1:subLocation>
        <ns1:wired>false</ns1:wired>
      </ns2:locationContext>
    </ns2:getPointsOfInterestOnWhiteList>
  </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Response:
<?xml version="1.0"?>
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
  <env:Header/>
  <env:Body>
    <ns1:getPointsOfInterestOnWhiteListResponse xmlns:ns1="http://com.shs.ws/room20/service/local-info" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <ns1:result>
        <ns_cachingStrategy:cachingStrategy xmlns:ns_cachingStrategy="http://webservice.localinfo.services.shs.com/jaws">LOCATION_CACHE</ns_cachingStrategy:cachingStrategy>
        <ns_items:items xmlns:ns_items="http://webservice.localinfo.services.shs.com/jaws">
          <ns_items:address/>
          <ns_items:categories>
            <ns_items:children xmlns:ns_items="http://webservice.localinfo.services.shs.com/jaws" xsi:nil="1"/>
            <ns_items:icon xmlns:ns_items="http://webservice.localinfo.services.shs.com/jaws" xsi:nil="1"/>
            <ns_items:id xmlns:ns_items="http://webservice.localinfo.services.shs.com/jaws">0</ns_items:id>
            <ns_items:label xmlns:ns_items="http://webservice.localinfo.services.shs.com/jaws">HOME_HOTSPOT</ns_items:label>
            <ns_items:pointsCount xmlns:ns_items="http://webservice.localinfo.services.shs.com/jaws">0</ns_items:pointsCount>
          </ns_items:categories>
          <ns_items:descriptions>Geneva HQ core</ns_items:descriptions>
          <ns_items:distanceFromHotel>0.0</ns_items:distanceFromHotel>
          <ns_items:faxNumber xsi:nil="1"/>
          <ns_items:id>0</ns_items:id>
          <ns_items:latitude>0.0</ns_items:latitude>
          <ns_items:longitude>0.0</ns_items:longitude>
          <ns_items:maxRating>5</ns_items:maxRating>
          <ns_items:name>Swisscom Eurospot Test GVA</ns_items:name>
          <ns_items:pictureURL xsi:nil="1"/>
          <ns_items:telNumber xsi:nil="1"/>
          <ns_items:userRating>4</ns_items:userRating>
        </ns_items:items>
      </ns1:result>
    </ns1:getPointsOfInterestOnWhiteListResponse>
  </env:Body>
</env:Envelope>