*** SDP
v=0
o=alice 2890844526 2890842807 IN IP4 atlanta.example.com
s=-
c=IN IP4 192.0.2.1
t=0 0
m=audio 20000 RTP/AVP 0
a=rtpmap:0 PCMU/8000
m=video 20002 RTP/AVP 31
a=rtpmap:31 H261/90000


*** PIDF
<?xml version="1.0" encoding="UTF-8"?>
    <presence xmlns="urn:ietf:params:xml:ns:pidf"
    entity="pres:3650n87934c@ls.example.com">
    <tuple id="b650sf789nd">
     <status>
      <geopriv xmlns="urn:ietf:params:xml:ns:pidf:geopriv10">
       <location-info>
        <Point xmlns="http://www.opengis.net/gml"
         srsName="urn:ogc:def:crs:EPSG::4326">
         <pos>12.00, 53.00</pos>
        </Point>
       </location-info>
       <usage-rules
        xmlns:gbp="urn:ietf:params:xml:ns:pidf:geopriv10:basicPolicy">
        <gbp:retention-expiry>2006-01-11T03:42:28+00:00
        </gbp:retention-expiry>
       </usage-rules>
       <method>Wiremap</method>
      </geopriv>
     </status>
     <timestamp>2006-01-10T03:42:28+00:00</timestamp>
    </tuple>
  </presence>

*** SDP_AND_PIDF_MULTIPART
 --boundary1
Content-Type: application/sdp

v=0
o=alice 2890844526 2890842807 IN IP4 atlanta.example.com
s=-
c=IN IP4 192.0.2.1
t=0 0
m=audio 20000 RTP/AVP 0
a=rtpmap:0 PCMU/8000
m=video 20002 RTP/AVP 31
a=rtpmap:31 H261/90000

--boundary1
 Content-Type: application/pidf+xml
   Content-ID: <target123@atlanta.example.com>
   <?xml version="1.0" encoding="UTF-8"?>
      <presence xmlns="urn:ietf:params:xml:ns:pidf"
      entity="pres:3650n87934c@ls.example.com">
      <tuple id="b650sf789nd">
       <status>
        <geopriv xmlns="urn:ietf:params:xml:ns:pidf:geopriv10">
         <location-info>
          <Point xmlns="http://www.opengis.net/gml"
           srsName="urn:ogc:def:crs:EPSG::4326">
           <pos>12.00, 53.00</pos>
          </Point>
         </location-info>
         <usage-rules
          xmlns:gbp="urn:ietf:params:xml:ns:pidf:geopriv10:basicPolicy">
          <gbp:retention-expiry>2006-01-11T03:42:28+00:00
          </gbp:retention-expiry>
         </usage-rules>
         <method>Wiremap</method>
        </geopriv>
       </status>
       <timestamp>2006-01-10T03:42:28+00:00</timestamp>
      </tuple>
     </presence>
--boundary1--


*** RECEIVED_INITITAL_INVITE_AND_SENT_LOST_REQUEST
the IUT entity receives a TCP SIP_INVITE containing
	Request_URI indicating value SERVICE_URN_1,
    Content_Type indicating value "multipart/mixed",
    body containing
        SDP_AND_PIDF_MULTIPART
    ;
 ;
 and the IUT entity sends a POST containing
 Content_type indicating value "application/lost+xml;charset=utf-8",
    body containing
        xmlMessage containing
            version indicating value "1.0",
            element "findService" inNamespace "urn:ietf:params:xml:ns:lost1" containing
                element "location" containing
                    element "Point" inNamespace "http://www.opengis.net/gml" containing
                        attribute "srsName" indicating value "urn:ogc:def:crs:EPSG::4326",
                        element "pos" indicating value LOCATION_1;
                ,
                element "service" indicating value SERVICE_URN_1;
            ;
        ;
    ;
 	; to the ECRF entity
 
 *** RECEIVES_LOST_RESPONSE_WITH [TARGET_URI]
 the IUT entity receives a httpResponse containing
    Status_Code indicating value "200 OK",
    version indicating value "1.0",
    Content_type indicating value "application/lost+xml;charset=utf-8",
    body containing
        xmlMessage containing
            version indicating value "1.0",
            element "findServiceResponse" inNamespace "urn:ietf:params:xml:ns:lost1" containing
                element "mapping" containing
                    attribute "source",
                    attribute "sourceId",
                    attribute "lastUpdated",
                    attribute "expires",
                    element "service" indicating value SERVICE_URN_1,
                    element "uri" indicating value [TARGET_URI];
                ,
                element "locationUsed"
            ;
        ;
    ;
  ; from the ECRF entity
  
  
*** RECEIVED_INITITAL_INVITE_WITHOUT_LOCATION_AND_SENT_HELD_REQUEST_FOR [DEVICE_NUMBER]
the IUT entity receives a UDP SIP_INVITE containing
	Request_URI indicating value SERVICE_URN_1,
    Content_Type indicating value "application/sdp",
    P-Asserted-Identity indicating value tel:DEVICE_NUMBER,
    body containing
        SDP
    ;
 ;
 and the IUT entity sends a POST containing
 Content_type indicating value "application/lost+xml;charset=utf-8",
    body containing
        xmlMessage containing
          version indicating value "1.0",
          element "locationRequest" inNamespace "urn:ietf:params:xml:ns:geopriv:held" containing
          element "locationType" indicating value "geodetic" containing
            attribute "exact" indicating value "true"
          ;,
          element "device" inNamespace "urn:ietf:params:xml:ns:geopriv:held:id" containing
            element "uri" inNamespace "urn:ietf:params:xml:ns:geopriv:held:id" indicating value DEVICE_NUMBER
            ;
          ;
        ;
    ;
 	; to the LIS entity
 	
*** RECEIVES_HELD_RESPONSE_FOR [LOCATION]
the IUT entity receives a httpResponse containing
    Status_Code indicating value "200 OK",
      version indicating value "1.0",
      Content_type indicating value "application/held+xml;charset=utf-8",
      body containing
        xmlMessage containing
          version indicating value "1.0",
          element "locationResponse" inNamespace "urn:ietf:params:xml:ns:geopriv:held" containing
          element "presence" inNamespace "urn:ietf:params:xml:ns:pidf" containing
            attribute "entity" indicating value valid "pres:" uri,
            element "tuple" containing
              attribute "id",
              element "status" containing
                element "geopriv" inNamespace "urn:ietf:params:xml:ns:pidf:geopriv10" containing
                  element "location-info" containing
                  element "Point" inNamespace "http://www.opengis.net/gml" containing
                    attribute "srsName" indicating value "urn:ogc:def:crs:EPSG::4326",
                    element "pos" indicating value LOCATION
                    ;
                  ;
                ;
              ;
            ;
          ;
        ;
      ;
    ;
  ; from the LIS entity
 
 *** SENDS_LOST_REQUEST_FOR [LOCATION]
the IUT entity sends a POST containing
 Content_type indicating value "application/lost+xml;charset=utf-8",
    body containing
        xmlMessage containing
            version indicating value "1.0",
            element "findService" inNamespace "urn:ietf:params:xml:ns:lost1" containing
                element "location" containing
                    element "Point" inNamespace "http://www.opengis.net/gml" containing
                        attribute "srsName" indicating value "urn:ogc:def:crs:EPSG::4326",
                        element "pos" indicating value LOCATION;
                ,
                element "service" indicating value SERVICE_URN_1;
            ;
        ;
    ;
 	; to the ECRF entity
 	
*** RECEIVED_INITITAL_INVITE_WITH_LOCATIONREFERENCE_AND_SENT_GET_REQUEST_FOR [DEVICE_NUMBER]
the IUT entity receives a UDP SIP_INVITE containing
	Request_URI indicating value SERVICE_URN_1,
    Content_Type indicating value "application/sdp",
    Geolocation indicating value LOCATION_URI 
    body containing
        SDP
    ;
 ;
 and the IUT entity sends a GET to the LOCATION_URI
 
*** RECEIVES_LOCATION_RESPONSE_WITH [LOCATION]
the IUT entity receives a httpResponse containing
  Status_Code indicating value "200 OK",
  version indicating value "1.0",
  Content_type indicating value "application/pidf+xml;charset=utf-8",
  body containing
    xmlMessage containing	
    version indicating value "1.0",
    element "presence" inNamespace "urn:ietf:params:xml:ns:pidf" containing
      attribute "entity" indicating value valid "pres:" uri,
      element "tuple" containing
        attribute "id",
        element "status" containing
          element "geopriv" inNamespace "urn:ietf:params:xml:ns:pidf:geopriv10" containing
            element "location-info" containing
              element "Point" inNamespace "http://www.opengis.net/gml" containing
                attribute "srsName" indicating value "urn:ogc:def:crs:EPSG::4326",
                element "pos" indicating value LOCATION
                ;
              ;
            ;
          ;
        ;
      ;
    ;
  ; from the LIS entity
