-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ref #93 (also use an OrderedDict to keep report in same order as XML)
- Loading branch information
Showing
4 changed files
with
114 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
<?xml version="1.0" ?> | ||
<!--suppress CheckTagEmptyBody --> | ||
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"> | ||
<S:Body> | ||
<ns3:ReportResponse xmlns="http://www.niso.org/schemas/counter" | ||
xmlns:ns2="http://www.niso.org/schemas/sushi" | ||
xmlns:ns3="http://www.niso.org/schemas/sushi/counter"> | ||
<!--suppress CheckTagEmptyBody --> | ||
<ns2:Requestor> | ||
<ns2:ID>exampleRequestor</ns2:ID> | ||
<ns2:Name></ns2:Name> | ||
<ns2:Email></ns2:Email> | ||
</ns2:Requestor> | ||
<ns2:CustomerReference> | ||
<ns2:ID>exampleReference</ns2:ID> | ||
<ns2:Name></ns2:Name> | ||
</ns2:CustomerReference> | ||
<ns2:ReportDefinition Release="4" Name="BR3"> | ||
<ns2:Filters> | ||
<ns2:UsageDateRange> | ||
<ns2:Begin>2013-01-01</ns2:Begin> | ||
<ns2:End>2013-01-31</ns2:End> | ||
</ns2:UsageDateRange> | ||
</ns2:Filters> | ||
</ns2:ReportDefinition> | ||
<ns3:Report> | ||
<Report Title="Book Report 1" Name="BR1" Version="4" | ||
ID="exampleuser:BR1"> | ||
<Vendor> | ||
<Name>Example Vendor</Name> | ||
<ID>example</ID> | ||
<Contact> | ||
<Contact>Vendor Contact</Contact> | ||
<E-mail>vendor@example.com</E-mail> | ||
</Contact> | ||
</Vendor> | ||
<Customer> | ||
<ID>exampleLibrary</ID> | ||
<ReportItems> | ||
<ItemIdentifier> | ||
<Type>Print_ISBN</Type> | ||
<Value>9780011234569</Value> | ||
</ItemIdentifier> | ||
<ItemIdentifier> | ||
<Type>Online_ISBN</Type> | ||
<Value>9780011234549</Value> | ||
</ItemIdentifier> | ||
<ItemIdentifier> | ||
<Type>Proprietary</Type> | ||
<Value>FD</Value> | ||
</ItemIdentifier> | ||
<ItemPlatform>ExamplePlatform</ItemPlatform> | ||
<ItemName>Fake data</ItemName> | ||
<ItemDataType>Book</ItemDataType> | ||
<ItemPerformance> | ||
<Period> | ||
<Begin>2013-01-01</Begin> | ||
<End>2013-01-31</End> | ||
</Period> | ||
<Category>Access_denied</Category> | ||
<Instance> | ||
<MetricType>turnaway</MetricType> | ||
<Count>6</Count> | ||
</Instance> | ||
<Instance> | ||
<MetricType>no_license</MetricType> | ||
<Count>8</Count> | ||
</Instance> | ||
</ItemPerformance> | ||
</ReportItems> | ||
</Customer> | ||
</Report> | ||
</ns3:Report> | ||
</ns3:ReportResponse> | ||
</S:Body> | ||
</S:Envelope> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters