LP 1673971: Write a README.
[working/NCIPServer.git] / t / sample_data / LookupUser.xml
index 84e9940..04024ce 100644 (file)
@@ -1,16 +1,44 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\r
-\r
-<ns1:NCIPMessage xmlns:ns1="http://www.niso.org/2008/ncip" ns1:version="http://www.niso.org/schemas/ncip/v2_01/ncip_v2_01.xsd">\r
-    <ns1:LookupUser>\r
-\r
-        <ns1:UserId>\r
-            <ns1:UserIdentifierValue>381</ns1:UserIdentifierValue>\r
-        </ns1:UserId>\r
-        \r
-        <ns1:LoanedItemsDesired/>\r
-        <ns1:RequestedItemsDesired/>\r
-        <ns1:UserFiscalAccountDesired/>\r
-\r
-    </ns1:LookupUser>\r
-</ns1:NCIPMessage>\r
-\r
+<?xml version="1.0" encoding="utf-8"?><!DOCTYPE NCIPMessage PUBLIC "-//NISO//NCIP DTD Version 1//EN" "http://www.niso.org/ncip/v1_0/imp1/dtd/ncip_v1_0.dtd">
+<NCIPMessage version="http://www.niso.org/ncip/v1_0/imp1/dtd/ncip_v1_0.dtd">
+  <LookupUser>
+    <InitiationHeader>
+      <FromAgencyId>
+        <UniqueAgencyId>
+          <Scheme>http://www.auto-graphics.com/ncip/schemes/uniqueagencyid/agencynames.scm</Scheme>
+          <Value>CPomAG:massvc:FLO-WENTWORTH</Value>
+        </UniqueAgencyId>
+      </FromAgencyId>
+      <ToAgencyId>
+        <UniqueAgencyId>
+          <Scheme>HTTP://schema.flo.org/ncip/ag</Scheme>
+          <Value>FLO-WENTWORTH</Value>
+        </UniqueAgencyId>
+      </ToAgencyId>
+    </InitiationHeader>
+    <UniqueUserId>
+      <UniqueAgencyId>
+        <Scheme>HTTP://schema.flo.org/ncip/ag</Scheme>
+        <Value>FLO-WENTWORTH</Value>
+      </UniqueAgencyId>
+      <UserIdentifierValue>FLO-WHEELOCK</UserIdentifierValue>
+    </UniqueUserId>
+    <UserElementType>
+      <Scheme>http://www.niso.org/ncip/v1_0/schemes/userelementtype/userelementtype.scm</Scheme>
+      <Value>Name Information</Value>
+    </UserElementType>
+    <UserElementType>
+      <Scheme>http://www.niso.org/ncip/v1_0/schemes/userelementtype/userelementtype.scm</Scheme>
+      <Value>User Address Information</Value>
+    </UserElementType>
+    <UserElementType>
+      <Scheme>http://www.niso.org/ncip/v1_0/schemes/userelementtype/userelementtype.scm</Scheme>
+      <Value>User Privilege</Value>
+    </UserElementType>
+    <UserElementType>
+      <Scheme>http://www.niso.org/ncip/v1_0/schemes/userelementtype/userelementtype.scm</Scheme>
+      <Value>Block Or Trap</Value>
+    </UserElementType>
+  </LookupUser>
+</NCIPMessage>
+
+