Hi all, thanks in advance for any help. I have added a Service reference to a Land Registry web Service which generated a reference.cs file to help in building an xml document to submit a request. Code below:
using System;
namespace ProcessTitlesFromDBFs.LROfficialCopyTitleKnownV2_1 {
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
[System.ServiceModel.ServiceContractAttribute(Namespace="http://officialcopyv2_1.ws.bg.lr.gov/", ConfigurationName="LROfficialCopyTitleKnownV2_1.OC1TitleKnownV2_1Service")]
public interface OC1TitleKnownV2_1Service {
[System.ServiceModel.OperationContractAttribute(Action="", ReplyAction="*")]
[System.ServiceModel.FaultContractAttribute(typeof(string), Action="", Name="SOAPEngineSystemException")]
[System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
[return: System.ServiceModel.MessageParameterAttribute(Name="return")]
ProcessTitlesFromDBFs.LROfficialCopyTitleKnownV2_1.performTitleKnownSearchResponse performTitleKnownSearch(ProcessTitlesFromDBFs.LROfficialCopyTitleKnownV2_1.performTitleKnownSearchRequest request);
[System.ServiceModel.OperationContractAttribute(Action="", ReplyAction="*")]
System.Threading.Tasks.Task<ProcessTitlesFromDBFs.LROfficialCopyTitleKnownV2_1.performTitleKnownSearchResponse> performTitleKnownSearchAsync(ProcessTitlesFromDBFs.LROfficialCopyTitleKnownV2_1.performTitleKnownSearchRequest request);
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.7.3056.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.oscre.org/ns/eReg-Final/2011/RequestTitleKnownOfficialCopyV2_1")]
public partial class RequestTitleKnownOfficialCopyV2_1Type : object, System.ComponentModel.INotifyPropertyChanged {
private Q1IdentifierType idField;
private Q1ProductType productField;
[System.Xml.Serialization.XmlElementAttribute(Order=0)]
public Q1IdentifierType ID {
get {
return this.idField;
}
set {
this.idField = value;
this.RaisePropertyChanged("ID");
}
}
[System.Xml.Serialization.XmlElementAttribute(Order=1)]
public Q1ProductType Product {
get {
return this.productField;
}
set {
this.productField = value;
this.RaisePropertyChanged("Product");
}
}
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
protected void RaisePropertyChanged(string propertyName) {
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
if ((propertyChanged != null)) {
propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
}
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.7.3056.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.oscre.org/ns/eReg-Final/2011/RequestTitleKnownOfficialCopyV2_1")]
public partial class Q1IdentifierType : object, System.ComponentModel.INotifyPropertyChanged {
private Q1TextType messageIDField;
[System.Xml.Serialization.XmlElementAttribute(Order=0)]
public Q1TextType MessageID {
get {
return this.messageIDField;
}
set {
this.messageIDField = value;
this.RaisePropertyChanged("MessageID");
}
}
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
protected void RaisePropertyChanged(string propertyName) {
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
if ((propertyChanged != null)) {
propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
}
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.7.3056.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.oscre.org/ns/eReg-Final/2011/RequestTitleKnownOfficialCopyV2_1")]
public partial class Q1TextType : object, System.ComponentModel.INotifyPropertyChanged {
private string valueField;
[System.Xml.Serialization.XmlTextAttribute()]
public string Value {
get {
return this.valueField;
}
set {
this.valueField = value;
this.RaisePropertyChanged("Value");
}
}
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
protected void RaisePropertyChanged(string propertyName) {
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
if ((propertyChanged != null)) {
propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
}
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.7.3056.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.oscre.org/ns/eReg-Final/2011/ResponseTitleKnownOfficialCopyV2_0")]
public partial class ResultCodeType : object, System.ComponentModel.INotifyPropertyChanged {
private ResultCodeContentType valueField;
[System.Xml.Serialization.XmlTextAttribute()]
public ResultCodeContentType Value {
get {
return this.valueField;
}
set {
this.valueField = value;
this.RaisePropertyChanged("Value");
}
}
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
protected void RaisePropertyChanged(string propertyName) {
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
if ((propertyChanged != null)) {
propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
}
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.7.3056.0")]
[System.SerializableAttribute()]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.oscre.org/ns/eReg-Final/2011/ResponseTitleKnownOfficialCopyV2_0")]
public enum ResultCodeContentType {
[System.Xml.Serialization.XmlEnumAttribute("10")]
Item10,
[System.Xml.Serialization.XmlEnumAttribute("20")]
Item20,
[System.Xml.Serialization.XmlEnumAttribute("30")]
Item30,
[System.Xml.Serialization.XmlEnumAttribute("40")]
Item40,
[System.Xml.Serialization.XmlEnumAttribute("50")]
Item50,
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.7.3056.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(TypeName="DateType", Namespace="http://www.oscre.org/ns/eReg-Final/2011/ResponseTitleKnownOfficialCopyV2_0")]
public partial class DateType1 : object, System.ComponentModel.INotifyPropertyChanged {
private System.DateTime valueField;
[System.Xml.Serialization.XmlTextAttribute(DataType="date")]
public System.DateTime Value {
get {
return this.valueField;
}
set {
this.valueField = value;
this.RaisePropertyChanged("Value");
}
}
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
protected void RaisePropertyChanged(string propertyName) {
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
if ((propertyChanged != null)) {
propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
}
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.7.3056.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.oscre.org/ns/eReg-Final/2011/ResponseTitleKnownOfficialCopyV2_0")]
public partial class BinaryObjectType : object, System.ComponentModel.INotifyPropertyChanged {
private string filenameField;
private string formatField;
private string mimeCodeField;
private string characterSetCodeField;
private byte[] valueField;
[System.Xml.Serialization.XmlAttributeAttribute(Form=System.Xml.Schema.XmlSchemaForm.Qualified)]
public string filename {
get {
return this.filenameField;
}
set {
this.filenameField = value;
this.RaisePropertyChanged("filename");
}
}
[System.Xml.Serialization.XmlAttributeAttribute(Form=System.Xml.Schema.XmlSchemaForm.Qualified)]
public string format {
get {
return this.formatField;
}
set {
this.formatField = value;
this.RaisePropertyChanged("format");
}
}
[System.Xml.Serialization.XmlAttributeAttribute(Form=System.Xml.Schema.XmlSchemaForm.Qualified, DataType="normalizedString")]
public string mimeCode {
get {
return this.mimeCodeField;
}
set {
this.mimeCodeField = value;
this.RaisePropertyChanged("mimeCode");
}
}
[System.Xml.Serialization.XmlAttributeAttribute(Form=System.Xml.Schema.XmlSchemaForm.Qualified, DataType="normalizedString")]
public string characterSetCode {
get {
return this.characterSetCodeField;
}
set {
this.characterSetCodeField = value;
this.RaisePropertyChanged("characterSetCode");
}
}
[System.Xml.Serialization.XmlTextAttribute(DataType="base64Binary")]
public byte[] Value {
get {
return this.valueField;
}
set {
this.valueField = value;
this.RaisePropertyChanged("Value");
}
}
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
protected void RaisePropertyChanged(string propertyName) {
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
if ((propertyChanged != null)) {
propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
}
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.7.3056.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.oscre.org/ns/eReg-Final/2011/ResponseTitleKnownOfficialCopyV2_0")]
public partial class Q1AttachmentType : object, System.ComponentModel.INotifyPropertyChanged {
private BinaryObjectType embeddedFileBinaryObjectField;
private TextType titleField;
private TextType descriptionField;
private DateType1 dateField;
private TextType copyrightNoticesField;
[System.Xml.Serialization.XmlElementAttribute(Order=0)]
public BinaryObjectType EmbeddedFileBinaryObject {
get {
return this.embeddedFileBinaryObjectField;
}
set {
this.embeddedFileBinaryObjectField = value;
this.RaisePropertyChanged("EmbeddedFileBinaryObject");
}
}
[System.Xml.Serialization.XmlElementAttribute(Order=1)]
public TextType Title {
get {
return this.titleField;
}
set {
this.titleField = value;
this.RaisePropertyChanged("Title");
}
}
[System.Xml.Serialization.XmlElementAttribute(Order=2)]
public TextType Description {
get {
return this.descriptionField;
}
set {
this.descriptionField = value;
this.RaisePropertyChanged("Description");
}
}
[System.Xml.Serialization.XmlElementAttribute(Order=3)]
public DateType1 Date {
get {
return this.dateField;
}
set {
this.dateField = value;
this.RaisePropertyChanged("Date");
}
}
[System.Xml.Serialization.XmlElementAttribute(Order=4)]
public TextType CopyrightNotices {
get {
return this.copyrightNoticesField;
}
set {
this.copyrightNoticesField = value;
this.RaisePropertyChanged("CopyrightNotices");
}
}
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
protected void RaisePropertyChanged(string propertyName) {
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
if ((propertyChanged != null)) {
propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
}
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.7.3056.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.oscre.org/ns/eReg-Final/2011/ResponseTitleKnownOfficialCopyV2_0")]
public partial class TextType : object, System.ComponentModel.INotifyPropertyChanged {
private string valueField;
[System.Xml.Serialization.XmlTextAttribute()]
public string Value {
get {
return this.valueField;
}
set {
this.valueField = value;
this.RaisePropertyChanged("Value");
}
}
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
protected void RaisePropertyChanged(string propertyName) {
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
if ((propertyChanged != null)) {
propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
}
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.7.3056.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.oscre.org/ns/eReg-Final/2011/ResponseTitleKnownOfficialCopyV2_0")]
public partial class Q1MessageDetailsType : object, System.ComponentModel.INotifyPropertyChanged {
private TextType descriptionField;
[System.Xml.Serialization.XmlElementAttribute(Order=0)]
public TextType Description {
get {
return this.descriptionField;
}
set {
this.descriptionField = value;
this.RaisePropertyChanged("Description");
}
}
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
protected void RaisePropertyChanged(string propertyName) {
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
if ((propertyChanged != null)) {
propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
}
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.7.3056.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.oscre.org/ns/eReg-Final/2011/ResponseTitleKnownOfficialCopyV2_0")]
public partial class Q1ResultsType : object, System.ComponentModel.INotifyPropertyChanged {
private Q1MessageDetailsType messageDetailsField;
private Q1ExternalReferenceType1 externalReferenceField;
private Q1ActualPriceType actualPriceField;
private Q1AttachmentType attachmentField;
private ResultCodeType resultTypeCodeField;
private Q1HMLRReferenceType hMLRReferenceField;
[System.Xml.Serialization.XmlElementAttribute(Order=0)]
public Q1MessageDetailsType MessageDetails {
get {
return this.messageDetailsField;
}
set {
this.messageDetailsField = value;
this.RaisePropertyChanged("MessageDetails");
}
}
[System.Xml.Serialization.XmlElementAttribute(Order=1)]
public Q1ExternalReferenceType1 ExternalReference {
get {
return this.externalReferenceField;
}
set {
this.externalReferenceField = value;
this.RaisePropertyChanged("ExternalReference");
}
}
[System.Xml.Serialization.XmlElementAttribute(Order=2)]
public Q1ActualPriceType ActualPrice {
get {
return this.actualPriceField;
}
set {
this.actualPriceField = value;
this.RaisePropertyChanged("ActualPrice");
}
}
[System.Xml.Serialization.XmlElementAttribute(Order=3)]
public Q1AttachmentType Attachment {
get {
return this.attachmentField;
}
set {
this.attachmentField = value;
this.RaisePropertyChanged("Attachment");
}
}
[System.Xml.Serialization.XmlElementAttribute(Order=4)]
public ResultCodeType ResultTypeCode {
get {
return this.resultTypeCodeField;
}
set {
this.resultTypeCodeField = value;
this.RaisePropertyChanged("ResultTypeCode");
}
}
[System.Xml.Serialization.XmlElementAttribute(Order=5)]
public Q1HMLRReferenceType HMLRReference {
get {
return this.hMLRReferenceField;
}
set {
this.hMLRReferenceField = value;
this.RaisePropertyChanged("HMLRReference");
}
}
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
protected void RaisePropertyChanged(string propertyName) {
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
if ((propertyChanged != null)) {
propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
}
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.7.3056.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(TypeName="Q1ExternalReferenceType", Namespace="http://www.oscre.org/ns/eReg-Final/2011/ResponseTitleKnownOfficialCopyV2_0")]
public partial class Q1ExternalReferenceType1 : object, System.ComponentModel.INotifyPropertyChanged {
private TextType referenceField;
private TextType allocatedByField;
private TextType descriptionField;
[System.Xml.Serialization.XmlElementAttribute(Order=0)]
public TextType Reference {
get {
return this.referenceField;
}
set {
this.referenceField = value;
this.RaisePropertyChanged("Reference");
}
}
[System.Xml.Serialization.XmlElementAttribute(Order=1)]
public TextType AllocatedBy {
get {
return this.allocatedByField;
}
set {
this.allocatedByField = value;
this.RaisePropertyChanged("AllocatedBy");
}
}
[System.Xml.Serialization.XmlElementAttribute(Order=2)]
public TextType Description {
get {
return this.descriptionField;
}
set {
this.descriptionField = value;
this.RaisePropertyChanged("Description");
}
}
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
protected void RaisePropertyChanged(string propertyName) {
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
if ((propertyChanged != null)) {
propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
}
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.7.3056.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.oscre.org/ns/eReg-Final/2011/ResponseTitleKnownOfficialCopyV2_0")]
public partial class Q1ActualPriceType : object, System.ComponentModel.INotifyPropertyChanged {
private AmountType1 grossPriceAmountField;
private AmountType1 netPriceAmountField;
private AmountType1 vATAmountField;
[System.Xml.Serialization.XmlElementAttribute(Order=0)]
public AmountType1 GrossPriceAmount {
get {
return this.grossPriceAmountField;
}
set {
this.grossPriceAmountField = value;
this.RaisePropertyChanged("GrossPriceAmount");
}
}
[System.Xml.Serialization.XmlElementAttribute(Order=1)]
public AmountType1 NetPriceAmount {
get {
return this.netPriceAmountField;
}
set {
this.netPriceAmountField = value;
this.RaisePropertyChanged("NetPriceAmount");
}
}
[System.Xml.Serialization.XmlElementAttribute(Order=2)]
public AmountType1 VATAmount {
get {
return this.vATAmountField;
}
set {
this.vATAmountField = value;
this.RaisePropertyChanged("VATAmount");
}
}
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
protected void RaisePropertyChanged(string propertyName) {
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
if ((propertyChanged != null)) {
propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
}
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.7.3056.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(TypeName="AmountType", Namespace="http://www.oscre.org/ns/eReg-Final/2011/ResponseTitleKnownOfficialCopyV2_0")]
public partial class AmountType1 : object, System.ComponentModel.INotifyPropertyChanged {
private string currencyIDField;
private decimal valueField;
[System.Xml.Serialization.XmlAttributeAttribute(Form=System.Xml.Schema.XmlSchemaForm.Qualified, DataType="normalizedString")]
public string currencyID {
get {
return this.currencyIDField;
}
set {
this.currencyIDField = value;
this.RaisePropertyChanged("currencyID");
}
}
[System.Xml.Serialization.XmlTextAttribute()]
public decimal Value {
get {
return this.valueField;
}
set {
this.valueField = value;
this.RaisePropertyChanged("Value");
}
}
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
protected void RaisePropertyChanged(string propertyName) {
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
if ((propertyChanged != null)) {
propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
}
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.7.3056.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.oscre.org/ns/eReg-Final/2011/ResponseTitleKnownOfficialCopyV2_0")]
public partial class Q1HMLRReferenceType : object, System.ComponentModel.INotifyPropertyChanged {
private HMLRReferenceTextType referenceField;
private OrganisationNameTextType allocatedByField;
private DescriptionTextType descriptionField;
[System.Xml.Serialization.XmlElementAttribute(Order=0)]
public HMLRReferenceTextType Reference {
get {
return this.referenceField;
}
set {
this.referenceField = value;
this.RaisePropertyChanged("Reference");
}
}
[System.Xml.Serialization.XmlElementAttribute(Order=1)]
public OrganisationNameTextType AllocatedBy {
get {
return this.allocatedByField;
}
set {
this.allocatedByField = value;
this.RaisePropertyChanged("AllocatedBy");
}
}
[System.Xml.Serialization.XmlElementAttribute(Order=2)]
public DescriptionTextType Description {
get {
return this.descriptionField;
}
set {
this.descriptionField = value;
this.RaisePropertyChanged("Description");
}
}
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
protected void RaisePropertyChanged(string propertyName) {
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
if ((propertyChanged != null)) {
propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
}
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.7.3056.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.oscre.org/ns/eReg-Final/2011/ResponseTitleKnownOfficialCopyV2_0")]
public partial class HMLRReferenceTextType : object, System.ComponentModel.INotifyPropertyChanged {
private string valueField;
[System.Xml.Serialization.XmlTextAttribute()]
public string Value {
get {
return this.valueField;
}
set {
this.valueField = value;
this.RaisePropertyChanged("Value");
}
}
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
protected void RaisePropertyChanged(string propertyName) {
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
if ((propertyChanged != null)) {
propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
}
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.7.3056.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.oscre.org/ns/eReg-Final/2011/ResponseTitleKnownOfficialCopyV2_0")]
public partial class OrganisationNameTextType : object, System.ComponentModel.INotifyPropertyChanged {
private string valueField;
[System.Xml.Serialization.XmlTextAttribute()]
public string Value {
get {
return this.valueField;
}
set {
this.valueField = value;
this.RaisePropertyChanged("Value");
}
}
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
protected void RaisePropertyChanged(string propertyName) {
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
if ((propertyChanged != null)) {
propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
}
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.7.3056.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.oscre.org/ns/eReg-Final/2011/ResponseTitleKnownOfficialCopyV2_0")]
public partial class DescriptionTextType : object, System.ComponentModel.INotifyPropertyChanged {
private string valueField;
[System.Xml.Serialization.XmlTextAttribute()]
public string Value {
get {
return this.valueField;
}
set {
this.valueField = value;
this.RaisePropertyChanged("Value");
}
}
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
protected void RaisePropertyChanged(string propertyName) {
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
if ((propertyChanged != null)) {
propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
}
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.7.3056.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.oscre.org/ns/eReg-Final/2011/ResponseTitleKnownOfficialCopyV2_0")]
public partial class Q1ValidationErrorsType : object, System.ComponentModel.INotifyPropertyChanged {
private TextType codeField;
private TextType descriptionField;
[System.Xml.Serialization.XmlElementAttribute(Order=0)]
public TextType Code {
get {
return this.codeField;
}
set {
this.codeField = value;
this.RaisePropertyChanged("Code");
}
}
[System.Xml.Serialization.XmlElementAttribute(Order=1)]
public TextType Description {
get {
return this.descriptionField;
}
set {
this.descriptionField = value;
this.RaisePropertyChanged("Description");
}
}
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
protected void RaisePropertyChanged(string propertyName) {
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
if ((propertyChanged != null)) {
propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
}
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.7.3056.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.oscre.org/ns/eReg-Final/2011/ResponseTitleKnownOfficialCopyV2_0")]
public partial class Q1RejectionResponseType : object, System.ComponentModel.INotifyPropertyChanged {
private TextType reasonField;
private TextType codeField;
private TextType otherDescriptionField;
private Q1ValidationErrorsType[] validationErrorsField;
[System.Xml.Serialization.XmlElementAttribute(Order=0)]
public TextType Reason {
get {
return this.reasonField;
}
set {
this.reasonField = value;
this.RaisePropertyChanged("Reason");
}
}
[System.Xml.Serialization.XmlElementAttribute(Order=1)]
public TextType Code {
get {
return this.codeField;
}
set {
this.codeField = value;
this.RaisePropertyChanged("Code");
}
}
[System.Xml.Serialization.XmlElementAttribute(Order=2)]
public TextType OtherDescription {
get {
return this.otherDescriptionField;
}
set {
this.otherDescriptionField = value;
this.RaisePropertyChanged("OtherDescription");
}
}
[System.Xml.Serialization.XmlElementAttribute("ValidationErrors", Order=3)]
public Q1ValidationErrorsType[] ValidationErrors {
get {
return this.validationErrorsField;
}
set {
this.validationErrorsField = value;
this.RaisePropertyChanged("ValidationErrors");
}
}
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
protected void RaisePropertyChanged(string propertyName) {
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
if ((propertyChanged != null)) {
propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
}
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.7.3056.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.oscre.org/ns/eReg-Final/2011/ResponseTitleKnownOfficialCopyV2_0")]
public partial class Q1RejectionType : object, System.ComponentModel.INotifyPropertyChanged {
private Q1ExternalReferenceType1 externalReferenceField;
private Q1ActualPriceType actualPriceField;
private Q1RejectionResponseType rejectionResponseField;
[System.Xml.Serialization.XmlElementAttribute(Order=0)]
public Q1ExternalReferenceType1 ExternalReference {
get {
return this.externalReferenceField;
}
set {
this.externalReferenceField = value;
this.RaisePropertyChanged("ExternalReference");
}
}
[System.Xml.Serialization.XmlElementAttribute(Order=1)]
public Q1ActualPriceType ActualPrice {
get {
return this.actualPriceField;
}
set {
this.actualPriceField = value;
this.RaisePropertyChanged("ActualPrice");
}
}
[System.Xml.Serialization.XmlElementAttribute(Order=2)]
public Q1RejectionResponseType RejectionResponse {
get {
return this.rejectionResponseField;
}
set {
this.rejectionResponseField = value;
this.RaisePropertyChanged("RejectionResponse");
}
}
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
protected void RaisePropertyChanged(string propertyName) {
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
if ((propertyChanged != null)) {
propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
}
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.7.3056.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.oscre.org/ns/eReg-Final/2011/ResponseTitleKnownOfficialCopyV2_0")]
public partial class DateTimeType : object, System.ComponentModel.INotifyPropertyChanged {
private System.DateTime valueField;
[System.Xml.Serialization.XmlTextAttribute()]
public System.DateTime Value {
get {
return this.valueField;
}
set {
this.valueField = value;
this.RaisePropertyChanged("Value");
}
}
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
protected void RaisePropertyChanged(string propertyName) {
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
if ((propertyChanged != null)) {
propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
}
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.7.3056.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.oscre.org/ns/eReg-Final/2011/ResponseTitleKnownOfficialCopyV2_0")]
public partial class IdentifierType : object, System.ComponentModel.INotifyPropertyChanged {
private string schemeAgencyNameField;
private string schemeNameField;
private string valueField;
[System.Xml.Serialization.XmlAttributeAttribute(Form=System.Xml.Schema.XmlSchemaForm.Qualified)]
public string schemeAgencyName {
get {
return this.schemeAgencyNameField;
}
set {
this.schemeAgencyNameField = value;
this.RaisePropertyChanged("schemeAgencyName");
}
}
[System.Xml.Serialization.XmlAttributeAttribute(Form=System.Xml.Schema.XmlSchemaForm.Qualified)]
public string schemeName {
get {
return this.schemeNameField;
}
set {
this.schemeNameField = value;
this.RaisePropertyChanged("schemeName");
}
}
[System.Xml.Serialization.XmlTextAttribute(DataType="normalizedString")]
public string Value {
get {
return this.valueField;
}
set {
this.valueField = value;
this.RaisePropertyChanged("Value");
}
}
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
protected void RaisePropertyChanged(string propertyName) {
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
if ((propertyChanged != null)) {
propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
}
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.7.3056.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.oscre.org/ns/eReg-Final/2011/ResponseTitleKnownOfficialCopyV2_0")]
public partial class Q1AcknowledgementDetailsType : object, System.ComponentModel.INotifyPropertyChanged {
private IdentifierType uniqueIDField;
private DateTimeType expectedResponseDateTimeField;
private TextType messageDescriptionField;
[System.Xml.Serialization.XmlElementAttribute(Order=0)]
public IdentifierType UniqueID {
get {
return this.uniqueIDField;
}
set {
this.uniqueIDField = value;
this.RaisePropertyChanged("UniqueID");
}
}
[System.Xml.Serialization.XmlElementAttribute(Order=1)]
public DateTimeType ExpectedResponseDateTime {
get {
return this.expectedResponseDateTimeField;
}
set {
this.expectedResponseDateTimeField = value;
this.RaisePropertyChanged("ExpectedResponseDateTime");
}
}
[System.Xml.Serialization.XmlElementAttribute(Order=2)]
public TextType MessageDescription {
get {
return this.messageDescriptionField;
}
set {
this.messageDescriptionField = value;
this.RaisePropertyChanged("MessageDescription");
}
}
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
protected void RaisePropertyChanged(string propertyName) {
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
if ((propertyChanged != null)) {
propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
}
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.7.3056.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.oscre.org/ns/eReg-Final/2011/ResponseTitleKnownOfficialCopyV2_0")]
public partial class Q1AcknowledgementType : object, System.ComponentModel.INotifyPropertyChanged {
private Q1AcknowledgementDetailsType acknowledgementDetailsField;
private Q1HMLRReferenceType hMLRReferenceField;
[System.Xml.Serialization.XmlElementAttribute(Order=0)]
public Q1AcknowledgementDetailsType AcknowledgementDetails {
get {
return this.acknowledgementDetailsField;
}
set {
this.acknowledgementDetailsField = value;
this.RaisePropertyChanged("AcknowledgementDetails");
}
}
[System.Xml.Serialization.XmlElementAttribute(Order=1)]
public Q1HMLRReferenceType HMLRReference {
get {
return this.hMLRReferenceField;
}
set {
this.hMLRReferenceField = value;
this.RaisePropertyChanged("HMLRReference");
}
}
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
protected void RaisePropertyChanged(string propertyName) {
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
if ((propertyChanged != null)) {
propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
}
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.7.3056.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.oscre.org/ns/eReg-Final/2011/ResponseTitleKnownOfficialCopyV2_0")]
public partial class ProductResponseCodeType : object, System.ComponentModel.INotifyPropertyChanged {
private ProductResponseCodeContentType valueField;
[System.Xml.Serialization.XmlTextAttribute()]
public ProductResponseCodeContentType Value {
get {
return this.valueField;
}
set {
this.valueField = value;
this.RaisePropertyChanged("Value");
}
}
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
protected void RaisePropertyChanged(string propertyName) {
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
if ((propertyChanged != null)) {
propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
}
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.7.3056.0")]
[System.SerializableAttribute()]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.oscre.org/ns/eReg-Final/2011/ResponseTitleKnownOfficialCopyV2_0")]
public enum ProductResponseCodeContentType {
[System.Xml.Serialization.XmlEnumAttribute("0")]
Item0,
[System.Xml.Serialization.XmlEnumAttribute("10")]
Item10,
[System.Xml.Serialization.XmlEnumAttribute("20")]
Item20,
[System.Xml.Serialization.XmlEnumAttribute("30")]
Item30,
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.7.3056.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.oscre.org/ns/eReg-Final/2011/ResponseTitleKnownOfficialCopyV2_0")]
public partial class Q1GatewayResponseType : object, System.ComponentModel.INotifyPropertyChanged {
private ProductResponseCodeType typeCodeField;
private Q1AcknowledgementType acknowledgementField;
private Q1RejectionType rejectionField;
private Q1ResultsType resultsField;
[System.Xml.Serialization.XmlElementAttribute(Order=0)]
public ProductResponseCodeType TypeCode {
get {
return this.typeCodeField;
}
set {
this.typeCodeField = value;
this.RaisePropertyChanged("TypeCode");
}
}
[System.Xml.Serialization.XmlElementAttribute(Order=1)]
public Q1AcknowledgementType Acknowledgement {
get {
return this.acknowledgementField;
}
set {
this.acknowledgementField = value;
this.RaisePropertyChanged("Acknowledgement");
}
}
[System.Xml.Serialization.XmlElementAttribute(Order=2)]
public Q1RejectionType Rejection {
get {
return this.rejectionField;
}
set {
this.rejectionField = value;
this.RaisePropertyChanged("Rejection");
}
}
[System.Xml.Serialization.XmlElementAttribute(Order=3)]
public Q1ResultsType Results {
get {
return this.resultsField;
}
set {
this.resultsField = value;
this.RaisePropertyChanged("Results");
}
}
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
protected void RaisePropertyChanged(string propertyName) {
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
if ((propertyChanged != null)) {
propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
}
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.7.3056.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.oscre.org/ns/eReg-Final/2011/ResponseTitleKnownOfficialCopyV2_0")]
public partial class ResponseTitleKnownOfficialCopyV2_0Type : object, System.ComponentModel.INotifyPropertyChanged {
private Q1GatewayResponseType gatewayResponseField;
[System.Xml.Serialization.XmlElementAttribute(Order=0)]
public Q1GatewayResponseType GatewayResponse {
get {
return this.gatewayResponseField;
}
set {
this.gatewayResponseField = value;
this.RaisePropertyChanged("GatewayResponse");
}
}
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
protected void RaisePropertyChanged(string propertyName) {
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
if ((propertyChanged != null)) {
propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
}
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.7.3056.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.oscre.org/ns/eReg-Final/2011/RequestTitleKnownOfficialCopyV2_1")]
public partial class Q1DXDetailsType : object, System.ComponentModel.INotifyPropertyChanged {
private Q3TextType dXNumberField;
private Q3TextType exchangeNameField;
[System.Xml.Serialization.XmlElementAttribute(Order=0)]
public Q3TextType DXNumber {
get {
return this.dXNumberField;
}
set {
this.dXNumberField = value;
this.RaisePropertyChanged("DXNumber");
}
}
[System.Xml.Serialization.XmlElementAttribute(Order=1)]
public Q3TextType ExchangeName {
get {
return this.exchangeNameField;
}
set {
this.exchangeNameField = value;
this.RaisePropertyChanged("ExchangeName");
}
}
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
protected void RaisePropertyChanged(string propertyName) {
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
if ((propertyChanged != null)) {
propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
}
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.7.3056.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.oscre.org/ns/eReg-Final/2011/RequestTitleKnownOfficialCopyV2_1")]
public partial class Q3TextType : object, System.ComponentModel.INotifyPropertyChanged {
private string valueField;
[System.Xml.Serialization.XmlTextAttribute()]
public string Value {
get {
return this.valueField;
}
set {
this.valueField = value;
this.RaisePropertyChanged("Value");
}
}
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
protected void RaisePropertyChanged(string propertyName) {
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
if ((propertyChanged != null)) {
propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
}
}
public static implicit operator Q3TextType(Q1ContactType v)
{
throw new NotImplementedException();
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.7.3056.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.oscre.org/ns/eReg-Final/2011/RequestTitleKnownOfficialCopyV2_1")]
public partial class Q1AlternativePostalAddressType : object, System.ComponentModel.INotifyPropertyChanged {
private Q3TextType[] addressLineField;
private Q3TextType postcodeField;
[System.Xml.Serialization.XmlElementAttribute("AddressLine", Order=0)]
public Q3TextType[] AddressLine {
get {
return this.addressLineField;
}
set {
this.addressLineField = value;
this.RaisePropertyChanged("AddressLine");
}
}
[System.Xml.Serialization.XmlElementAttribute(Order=1)]
public Q3TextType Postcode {
get {
return this.postcodeField;
}
set {
this.postcodeField = value;
this.RaisePropertyChanged("Postcode");
}
}
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
protected void RaisePropertyChanged(string propertyName) {
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
if ((propertyChanged != null)) {
propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
}
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.7.3056.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.oscre.org/ns/eReg-Final/2011/RequestTitleKnownOfficialCopyV2_1")]
public partial class Q1AlternativeDespatchAddressType : object, System.ComponentModel.INotifyPropertyChanged {
private object itemField;
[System.Xml.Serialization.XmlElementAttribute("DXDetails", typeof(Q1DXDetailsType), Order=0)]
[System.Xml.Serialization.XmlElementAttribute("PostalAddress", typeof(Q1AlternativePostalAddressType), Order=0)]
public object Item {
get {
return this.itemField;
}
set {
this.itemField = value;
this.RaisePropertyChanged("Item");
}
}
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
protected void RaisePropertyChanged(string propertyName) {
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
if ((propertyChanged != null)) {
propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
}
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.7.3056.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.oscre.org/ns/eReg-Final/2011/RequestTitleKnownOfficialCopyV2_1")]
public partial class Q1AlternativeDespatchDetailsType : object, System.ComponentModel.INotifyPropertyChanged {
private string alternativeDespatchNameField;
private string alternativeDespatchReferenceField;
private Q1AlternativeDespatchAddressType alternativeDespatchAddressField;
[System.Xml.Serialization.XmlElementAttribute(Order=0)]
public string AlternativeDespatchName {
get {
return this.alternativeDespatchNameField;
}
set {
this.alternativeDespatchNameField = value;
this.RaisePropertyChanged("AlternativeDespatchName");
}
}
[System.Xml.Serialization.XmlElementAttribute(Order=1)]
public string AlternativeDespatchReference {
get {
return this.alternativeDespatchReferenceField;
}
set {
this.alternativeDespatchReferenceField = value;
this.RaisePropertyChanged("AlternativeDespatchReference");
}
}
[System.Xml.Serialization.XmlElementAttribute(Order=2)]
public Q1AlternativeDespatchAddressType AlternativeDespatchAddress {
get {
return this.alternativeDespatchAddressField;
}
set {
this.alternativeDespatchAddressField = value;
this.RaisePropertyChanged("AlternativeDespatchAddress");
}
}
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
protected void RaisePropertyChanged(string propertyName) {
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
if ((propertyChanged != null)) {
propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
}
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.7.3056.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.oscre.org/ns/eReg-Final/2011/RequestTitleKnownOfficialCopyV2_1")]
public partial class NumericType : object, System.ComponentModel.INotifyPropertyChanged {
private decimal valueField;
[System.Xml.Serialization.XmlTextAttribute()]
public decimal Value {
get {
return this.valueField;
}
set {
this.valueField = value;
this.RaisePropertyChanged("Value");
}
}
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
protected void RaisePropertyChanged(string propertyName) {
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
if ((propertyChanged != null)) {
propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
}
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.7.3056.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.oscre.org/ns/eReg-Final/2011/RequestTitleKnownOfficialCopyV2_1")]
public partial class IndicatorType : object, System.ComponentModel.INotifyPropertyChanged {
private bool valueField;
[System.Xml.Serialization.XmlTextAttribute()]
public bool Value {
get {
return this.valueField;
}
set {
this.valueField = value;
this.RaisePropertyChanged("Value");
}
}
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
protected void RaisePropertyChanged(string propertyName) {
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
if ((propertyChanged != null)) {
propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
}
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.7.3056.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.oscre.org/ns/eReg-Final/2011/RequestTitleKnownOfficialCopyV2_1")]
public partial class OfficialCopyCodeType : object, System.ComponentModel.INotifyPropertyChanged {
private OfficialCopyCodeContentType valueField;
[System.Xml.Serialization.XmlTextAttribute()]
public OfficialCopyCodeContentType Value {
get {
return this.valueField;
}
set {
this.valueField = value;
this.RaisePropertyChanged("Value");
}
}
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
protected void RaisePropertyChanged(string propertyName) {
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
if ((propertyChanged != null)) {
propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
}
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.7.3056.0")]
[System.SerializableAttribute()]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.oscre.org/ns/eReg-Final/2011/RequestTitleKnownOfficialCopyV2_1")]
public enum OfficialCopyCodeContentType {
[System.Xml.Serialization.XmlEnumAttribute("10")]
Item10,
[System.Xml.Serialization.XmlEnumAttribute("20")]
Item20,
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.7.3056.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.oscre.org/ns/eReg-Final/2011/RequestTitleKnownOfficialCopyV2_1")]
public partial class RequestedOfficialCopyCodeType : object, System.ComponentModel.INotifyPropertyChanged {
private RequestedOfficialCopyCodeContentType valueField;
[System.Xml.Serialization.XmlTextAttribute()]
public RequestedOfficialCopyCodeContentType Value {
get {
return this.valueField;
}
set {
this.valueField = value;
this.RaisePropertyChanged("Value");
}
}
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
protected void RaisePropertyChanged(string propertyName) {
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
if ((propertyChanged != null)) {
propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
}
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.7.3056.0")]
[System.SerializableAttribute()]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.oscre.org/ns/eReg-Final/2011/RequestTitleKnownOfficialCopyV2_1")]
public enum RequestedOfficialCopyCodeContentType {
[System.Xml.Serialization.XmlEnumAttribute("10")]
Item10,
[System.Xml.Serialization.XmlEnumAttribute("20")]
Item20,
[System.Xml.Serialization.XmlEnumAttribute("30")]
Item30,
[System.Xml.Serialization.XmlEnumAttribute("40")]
Item40,
[System.Xml.Serialization.XmlEnumAttribute("50")]
Item50,
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.7.3056.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.oscre.org/ns/eReg-Final/2011/RequestTitleKnownOfficialCopyV2_1")]
public partial class Q1TitleKnownOfficialCopyType : object, System.ComponentModel.INotifyPropertyChanged {
private RequestedOfficialCopyCodeType requestedOfficialCopyCodeField;
private string propertyDescriptionField;
private OfficialCopyCodeType officialCopyTypeCodeField;
private IndicatorType continueIfTitleIsClosedAndContinuedIndicatorField;
private IndicatorType notifyIfPendingFirstRegistrationIndicatorField;
private IndicatorType notifyIfPendingApplicationIndicatorField;
private IndicatorType sendBackDatedIndicatorField;
private IndicatorType continueIfActualFeeExceedsExpectedFeeIndicatorField;
private NumericType[] certificateInFormCIField;
[System.Xml.Serialization.XmlElementAttribute(Order=0)]
public RequestedOfficialCopyCodeType RequestedOfficialCopyCode {
get {
return this.requestedOfficialCopyCodeField;
}
set {
this.requestedOfficialCopyCodeField = value;
this.RaisePropertyChanged("RequestedOfficialCopyCode");
}
}
[System.Xml.Serialization.XmlElementAttribute(Order=1)]
public string PropertyDescription {
get {
return this.propertyDescriptionField;
}
set {
this.propertyDescriptionField = value;
this.RaisePropertyChanged("PropertyDescription");
}
}
[System.Xml.Serialization.XmlElementAttribute(Order=2)]
public OfficialCopyCodeType OfficialCopyTypeCode {
get {
return this.officialCopyTypeCodeField;
}
set {
this.officialCopyTypeCodeField = value;
this.RaisePropertyChanged("OfficialCopyTypeCode");
}
}
[System.Xml.Serialization.XmlElementAttribute(Order=3)]
public IndicatorType ContinueIfTitleIsClosedAndContinuedIndicator {
get {
return this.continueIfTitleIsClosedAndContinuedIndicatorField;
}
set {
this.continueIfTitleIsClosedAndContinuedIndicatorField = value;
this.RaisePropertyChanged("ContinueIfTitleIsClosedAndContinuedIndicator");
}
}
[System.Xml.Serialization.XmlElementAttribute(Order=4)]
public IndicatorType NotifyIfPendingFirstRegistrationIndicator {
get {
return this.notifyIfPendingFirstRegistrationIndicatorField;
}
set {
this.notifyIfPendingFirstRegistrationIndicatorField = value;
this.RaisePropertyChanged("NotifyIfPendingFirstRegistrationIndicator");
}
}
[System.Xml.Serialization.XmlElementAttribute(Order=5)]
public IndicatorType NotifyIfPendingApplicationIndicator {
get {
return this.notifyIfPendingApplicationIndicatorField;
}
set {
this.notifyIfPendingApplicationIndicatorField = value;
this.RaisePropertyChanged("NotifyIfPendingApplicationIndicator");
}
}
[System.Xml.Serialization.XmlElementAttribute(Order=6)]
public IndicatorType SendBackDatedIndicator {
get {
return this.sendBackDatedIndicatorField;
}
set {
this.sendBackDatedIndicatorField = value;
this.RaisePropertyChanged("SendBackDatedIndicator");
}
}
[System.Xml.Serialization.XmlElementAttribute(Order=7)]
public IndicatorType ContinueIfActualFeeExceedsExpectedFeeIndicator {
get {
return this.continueIfActualFeeExceedsExpectedFeeIndicatorField;
}
set {
this.continueIfActualFeeExceedsExpectedFeeIndicatorField = value;
this.RaisePropertyChanged("ContinueIfActualFeeExceedsExpectedFeeIndicator");
}
}
[System.Xml.Serialization.XmlArrayAttribute(Order=8)]
[System.Xml.Serialization.XmlArrayItemAttribute("EstatePlanPlotNumberNumeric", IsNullable=false)]
public NumericType[] CertificateInFormCI {
get {
return this.certificateInFormCIField;
}
set {
this.certificateInFormCIField = value;
this.RaisePropertyChanged("CertificateInFormCI");
}
}
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
protected void RaisePropertyChanged(string propertyName) {
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
if ((propertyChanged != null)) {
propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
}
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.7.3056.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.oscre.org/ns/eReg-Final/2011/RequestTitleKnownOfficialCopyV2_1")]
public partial class Q1CommunicationType : object, System.ComponentModel.INotifyPropertyChanged {
private Q3TextType telephoneField;
[System.Xml.Serialization.XmlElementAttribute(Order=0)]
public Q3TextType Telephone {
get {
return this.telephoneField;
}
set {
this.telephoneField = value;
this.RaisePropertyChanged("Telephone");
}
}
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
protected void RaisePropertyChanged(string propertyName) {
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
if ((propertyChanged != null)) {
propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
}
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.7.3056.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.oscre.org/ns/eReg-Final/2011/RequestTitleKnownOfficialCopyV2_1")]
public partial class Q1ContactType : object, System.ComponentModel.INotifyPropertyChanged {
private Q3TextType nameField;
private Q1CommunicationType communicationField;
[System.Xml.Serialization.XmlElementAttribute(Order=0)]
public Q3TextType Name {
get {
return this.nameField;
}
set {
this.nameField = value;
this.RaisePropertyChanged("Name");
}
}
[System.Xml.Serialization.XmlElementAttribute(Order=1)]
public Q1CommunicationType Communication {
get {
return this.communicationField;
}
set {
this.communicationField = value;
this.RaisePropertyChanged("Communication");
}
}
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
protected void RaisePropertyChanged(string propertyName) {
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
if ((propertyChanged != null)) {
propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
}
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.7.3056.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.oscre.org/ns/eReg-Final/2011/RequestTitleKnownOfficialCopyV2_1")]
public partial class AmountType : object, System.ComponentModel.INotifyPropertyChanged {
private string currencyIDField;
private decimal valueField;
[System.Xml.Serialization.XmlAttributeAttribute(Form=System.Xml.Schema.XmlSchemaForm.Qualified, DataType="normalizedString")]
public string currencyID {
get {
return this.currencyIDField;
}
set {
this.currencyIDField = value;
this.RaisePropertyChanged("currencyID");
}
}
[System.Xml.Serialization.XmlTextAttribute()]
public decimal Value {
get {
return this.valueField;
}
set {
this.valueField = value;
this.RaisePropertyChanged("Value");
}
}
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
protected void RaisePropertyChanged(string propertyName) {
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
if ((propertyChanged != null)) {
propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
}
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.7.3056.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.oscre.org/ns/eReg-Final/2011/RequestTitleKnownOfficialCopyV2_1")]
public partial class Q1ExpectedPriceType : object, System.ComponentModel.INotifyPropertyChanged {
private AmountType grossPriceAmountField;
private AmountType netPriceAmountField;
private AmountType vATAmountField;
[System.Xml.Serialization.XmlElementAttribute(Order=0)]
public AmountType GrossPriceAmount {
get {
return this.grossPriceAmountField;
}
set {
this.grossPriceAmountField = value;
this.RaisePropertyChanged("GrossPriceAmount");
}
}
[System.Xml.Serialization.XmlElementAttribute(Order=1)]
public AmountType NetPriceAmount {
get {
return this.netPriceAmountField;
}
set {
this.netPriceAmountField = value;
this.RaisePropertyChanged("NetPriceAmount");
}
}
[System.Xml.Serialization.XmlElementAttribute(Order=2)]
public AmountType VATAmount {
get {
return this.vATAmountField;
}
set {
this.vATAmountField = value;
this.RaisePropertyChanged("VATAmount");
}
}
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
protected void RaisePropertyChanged(string propertyName) {
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
if ((propertyChanged != null)) {
propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
}
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.7.3056.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.oscre.org/ns/eReg-Final/2011/RequestTitleKnownOfficialCopyV2_1")]
public partial class TenureCodeType : object, System.ComponentModel.INotifyPropertyChanged {
private TenureCodeContentType valueField;
[System.Xml.Serialization.XmlTextAttribute()]
public TenureCodeContentType Value {
get {
return this.valueField;
}
set {
this.valueField = value;
this.RaisePropertyChanged("Value");
}
}
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
protected void RaisePropertyChanged(string propertyName) {
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
if ((propertyChanged != null)) {
propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
}
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.7.3056.0")]
[System.SerializableAttribute()]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.oscre.org/ns/eReg-Final/2011/RequestTitleKnownOfficialCopyV2_1")]
public enum TenureCodeContentType {
[System.Xml.Serialization.XmlEnumAttribute("0")]
Item0,
[System.Xml.Serialization.XmlEnumAttribute("10")]
Item10,
[System.Xml.Serialization.XmlEnumAttribute("20")]
Item20,
[System.Xml.Serialization.XmlEnumAttribute("30")]
Item30,
[System.Xml.Serialization.XmlEnumAttribute("40")]
Item40,
[System.Xml.Serialization.XmlEnumAttribute("100")]
Item100,
[System.Xml.Serialization.XmlEnumAttribute("110")]
Item110,
[System.Xml.Serialization.XmlEnumAttribute("120")]
Item120,
[System.Xml.Serialization.XmlEnumAttribute("130")]
Item130,
[System.Xml.Serialization.XmlEnumAttribute("140")]
Item140,
[System.Xml.Serialization.XmlEnumAttribute("150")]
Item150,
[System.Xml.Serialization.XmlEnumAttribute("160")]
Item160,
[System.Xml.Serialization.XmlEnumAttribute("170")]
Item170,
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.7.3056.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.oscre.org/ns/eReg-Final/2011/RequestTitleKnownOfficialCopyV2_1")]
public partial class Q1SubjectPropertyType : object, System.ComponentModel.INotifyPropertyChanged {
private Q2TextType titleNumberField;
private TenureCodeType tenureTypeCodeField;
[System.Xml.Serialization.XmlElementAttribute(Order=0)]
public Q2TextType TitleNumber {
get {
return this.titleNumberField;
}
set {
this.titleNumberField = value;
this.RaisePropertyChanged("TitleNumber");
}
}
[System.Xml.Serialization.XmlElementAttribute(Order=1)]
public TenureCodeType TenureTypeCode {
get {
return this.tenureTypeCodeField;
}
set {
this.tenureTypeCodeField = value;
this.RaisePropertyChanged("TenureTypeCode");
}
}
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
protected void RaisePropertyChanged(string propertyName) {
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
if ((propertyChanged != null)) {
propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
}
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.7.3056.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.oscre.org/ns/eReg-Final/2011/RequestTitleKnownOfficialCopyV2_1")]
public partial class Q2TextType : object, System.ComponentModel.INotifyPropertyChanged {
private string valueField;
[System.Xml.Serialization.XmlTextAttribute()]
public string Value {
get {
return this.valueField;
}
set {
this.valueField = value;
this.RaisePropertyChanged("Value");
}
}
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
protected void RaisePropertyChanged(string propertyName) {
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
if ((propertyChanged != null)) {
propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
}
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.7.3056.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.oscre.org/ns/eReg-Final/2011/RequestTitleKnownOfficialCopyV2_1")]
public partial class Q1CustomerReferenceType : object, System.ComponentModel.INotifyPropertyChanged {
private string referenceField;
private Q3TextType allocatedByField;
private Q3TextType descriptionField;
[System.Xml.Serialization.XmlElementAttribute(Order=0)]
public string Reference {
get {
return this.referenceField;
}
set {
this.referenceField = value;
this.RaisePropertyChanged("Reference");
}
}
[System.Xml.Serialization.XmlElementAttribute(Order=1)]
public Q3TextType AllocatedBy {
get {
return this.allocatedByField;
}
set {
this.allocatedByField = value;
this.RaisePropertyChanged("AllocatedBy");
}
}
[System.Xml.Serialization.XmlElementAttribute(Order=2)]
public Q3TextType Description {
get {
return this.descriptionField;
}
set {
this.descriptionField = value;
this.RaisePropertyChanged("Description");
}
}
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
protected void RaisePropertyChanged(string propertyName) {
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
if ((propertyChanged != null)) {
propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
}
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.7.3056.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.oscre.org/ns/eReg-Final/2011/RequestTitleKnownOfficialCopyV2_1")]
public partial class Q1ExternalReferenceType : object, System.ComponentModel.INotifyPropertyChanged {
private string referenceField;
private Q3TextType allocatedByField;
private Q3TextType descriptionField;
[System.Xml.Serialization.XmlElementAttribute(Order=0)]
public string Reference {
get {
return this.referenceField;
}
set {
this.referenceField = value;
this.RaisePropertyChanged("Reference");
}
}
[System.Xml.Serialization.XmlElementAttribute(Order=1)]
public Q3TextType AllocatedBy {
get {
return this.allocatedByField;
}
set {
this.allocatedByField = value;
this.RaisePropertyChanged("AllocatedBy");
}
}
[System.Xml.Serialization.XmlElementAttribute(Order=2)]
public Q3TextType Description {
get {
return this.descriptionField;
}
set {
this.descriptionField = value;
this.RaisePropertyChanged("Description");
}
}
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
protected void RaisePropertyChanged(string propertyName) {
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
if ((propertyChanged != null)) {
propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
}
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.7.3056.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.oscre.org/ns/eReg-Final/2011/RequestTitleKnownOfficialCopyV2_1")]
public partial class DateType : object, System.ComponentModel.INotifyPropertyChanged {
private System.DateTime valueField;
[System.Xml.Serialization.XmlTextAttribute(DataType="date")]
public System.DateTime Value {
get {
return this.valueField;
}
set {
this.valueField = value;
this.RaisePropertyChanged("Value");
}
}
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
protected void RaisePropertyChanged(string propertyName) {
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
if ((propertyChanged != null)) {
propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
}
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.7.3056.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.oscre.org/ns/eReg-Final/2011/RequestTitleKnownOfficialCopyV2_1")]
public partial class TypeOfDocumentCodeType : object, System.ComponentModel.INotifyPropertyChanged {
private TypeOfDocumentCodeContentType valueField;
[System.Xml.Serialization.XmlTextAttribute()]
public TypeOfDocumentCodeContentType Value {
get {
return this.valueField;
}
set {
this.valueField = value;
this.RaisePropertyChanged("Value");
}
}
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
protected void RaisePropertyChanged(string propertyName) {
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
if ((propertyChanged != null)) {
propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
}
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.7.3056.0")]
[System.SerializableAttribute()]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.oscre.org/ns/eReg-Final/2011/RequestTitleKnownOfficialCopyV2_1")]
public enum TypeOfDocumentCodeContentType {
[System.Xml.Serialization.XmlEnumAttribute("10")]
Item10,
[System.Xml.Serialization.XmlEnumAttribute("20")]
Item20,
[System.Xml.Serialization.XmlEnumAttribute("30")]
Item30,
[System.Xml.Serialization.XmlEnumAttribute("40")]
Item40,
[System.Xml.Serialization.XmlEnumAttribute("50")]
Item50,
[System.Xml.Serialization.XmlEnumAttribute("60")]
Item60,
[System.Xml.Serialization.XmlEnumAttribute("70")]
Item70,
[System.Xml.Serialization.XmlEnumAttribute("80")]
Item80,
[System.Xml.Serialization.XmlEnumAttribute("90")]
Item90,
[System.Xml.Serialization.XmlEnumAttribute("100")]
Item100,
[System.Xml.Serialization.XmlEnumAttribute("110")]
Item110,
[System.Xml.Serialization.XmlEnumAttribute("120")]
Item120,
[System.Xml.Serialization.XmlEnumAttribute("130")]
Item130,
[System.Xml.Serialization.XmlEnumAttribute("140")]
Item140,
[System.Xml.Serialization.XmlEnumAttribute("150")]
Item150,
[System.Xml.Serialization.XmlEnumAttribute("160")]
Item160,
[System.Xml.Serialization.XmlEnumAttribute("170")]
Item170,
[System.Xml.Serialization.XmlEnumAttribute("180")]
Item180,
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.7.3056.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.oscre.org/ns/eReg-Final/2011/RequestTitleKnownOfficialCopyV2_1")]
public partial class Q1DocumentDetailsType : object, System.ComponentModel.INotifyPropertyChanged {
private TypeOfDocumentCodeType typeOfDocumentCodeField;
private DateType dateOfDocumentDateField;
private Q2TextType titleNumberFiledUnderField;
private Q3TextType additionalInformationField;
[System.Xml.Serialization.XmlElementAttribute(Order=0)]
public TypeOfDocumentCodeType TypeOfDocumentCode {
get {
return this.typeOfDocumentCodeField;
}
set {
this.typeOfDocumentCodeField = value;
this.RaisePropertyChanged("TypeOfDocumentCode");
}
}
[System.Xml.Serialization.XmlElementAttribute(Order=1)]
public DateType DateOfDocumentDate {
get {
return this.dateOfDocumentDateField;
}
set {
this.dateOfDocumentDateField = value;
this.RaisePropertyChanged("DateOfDocumentDate");
}
}
[System.Xml.Serialization.XmlElementAttribute(Order=2)]
public Q2TextType TitleNumberFiledUnder {
get {
return this.titleNumberFiledUnderField;
}
set {
this.titleNumberFiledUnderField = value;
this.RaisePropertyChanged("TitleNumberFiledUnder");
}
}
[System.Xml.Serialization.XmlElementAttribute(Order=3)]
public Q3TextType AdditionalInformation {
get {
return this.additionalInformationField;
}
set {
this.additionalInformationField = value;
this.RaisePropertyChanged("AdditionalInformation");
}
}
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
protected void RaisePropertyChanged(string propertyName) {
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
if ((propertyChanged != null)) {
propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
}
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.7.3056.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.oscre.org/ns/eReg-Final/2011/RequestTitleKnownOfficialCopyV2_1")]
public partial class Q1ProductType : object, System.ComponentModel.INotifyPropertyChanged {
private Q1DocumentDetailsType[] documentDetailsField;
private Q1ExternalReferenceType externalReferenceField;
private Q1CustomerReferenceType customerReferenceField;
private Q1SubjectPropertyType subjectPropertyField;
private Q1ExpectedPriceType expectedPriceField;
private Q1ContactType[] contactField;
private Q1TitleKnownOfficialCopyType titleKnownOfficialCopyField;
private Q1AlternativeDespatchDetailsType alternativeDespatchDetailsField;
[System.Xml.Serialization.XmlElementAttribute("DocumentDetails", Order=0)]
public Q1DocumentDetailsType[] DocumentDetails {
get {
return this.documentDetailsField;
}
set {
this.documentDetailsField = value;
this.RaisePropertyChanged("DocumentDetails");
}
}
[System.Xml.Serialization.XmlElementAttribute(Order=1)]
public Q1ExternalReferenceType ExternalReference {
get {
return this.externalReferenceField;
}
set {
this.externalReferenceField = value;
this.RaisePropertyChanged("ExternalReference");
}
}
[System.Xml.Serialization.XmlElementAttribute(Order=2)]
public Q1CustomerReferenceType CustomerReference {
get {
return this.customerReferenceField;
}
set {
this.customerReferenceField = value;
this.RaisePropertyChanged("CustomerReference");
}
}
[System.Xml.Serialization.XmlElementAttribute(Order=3)]
public Q1SubjectPropertyType SubjectProperty {
get {
return this.subjectPropertyField;
}
set {
this.subjectPropertyField = value;
this.RaisePropertyChanged("SubjectProperty");
}
}
[System.Xml.Serialization.XmlElementAttribute(Order=4)]
public Q1ExpectedPriceType ExpectedPrice {
get {
return this.expectedPriceField;
}
set {
this.expectedPriceField = value;
this.RaisePropertyChanged("ExpectedPrice");
}
}
[System.Xml.Serialization.XmlElementAttribute("Contact", Order=5)]
public Q1ContactType[] Contact {
get {
return this.contactField;
}
set {
this.contactField = value;
this.RaisePropertyChanged("Contact");
}
}
[System.Xml.Serialization.XmlElementAttribute(Order=6)]
public Q1TitleKnownOfficialCopyType TitleKnownOfficialCopy {
get {
return this.titleKnownOfficialCopyField;
}
set {
this.titleKnownOfficialCopyField = value;
this.RaisePropertyChanged("TitleKnownOfficialCopy");
}
}
[System.Xml.Serialization.XmlElementAttribute(Order=7)]
public Q1AlternativeDespatchDetailsType AlternativeDespatchDetails {
get {
return this.alternativeDespatchDetailsField;
}
set {
this.alternativeDespatchDetailsField = value;
this.RaisePropertyChanged("AlternativeDespatchDetails");
}
}
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
protected void RaisePropertyChanged(string propertyName) {
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
if ((propertyChanged != null)) {
propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
}
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
[System.ServiceModel.MessageContractAttribute(WrapperName="performTitleKnownSearch", WrapperNamespace="http://officialcopyv2_1.ws.bg.lr.gov/", IsWrapped=true)]
public partial class performTitleKnownSearchRequest {
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://officialcopyv2_1.ws.bg.lr.gov/", Order=0)]
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public ProcessTitlesFromDBFs.LROfficialCopyTitleKnownV2_1.RequestTitleKnownOfficialCopyV2_1Type arg0;
public performTitleKnownSearchRequest() {
}
public performTitleKnownSearchRequest(ProcessTitlesFromDBFs.LROfficialCopyTitleKnownV2_1.RequestTitleKnownOfficialCopyV2_1Type arg0) {
this.arg0 = arg0;
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
[System.ServiceModel.MessageContractAttribute(WrapperName="performTitleKnownSearchResponse", WrapperNamespace="http://officialcopyv2_1.ws.bg.lr.gov/", IsWrapped=true)]
public partial class performTitleKnownSearchResponse {
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://officialcopyv2_1.ws.bg.lr.gov/", Order=0)]
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public ProcessTitlesFromDBFs.LROfficialCopyTitleKnownV2_1.ResponseTitleKnownOfficialCopyV2_0Type @return;
public performTitleKnownSearchResponse() {
}
public performTitleKnownSearchResponse(ProcessTitlesFromDBFs.LROfficialCopyTitleKnownV2_1.ResponseTitleKnownOfficialCopyV2_0Type @return) {
this.@return = @return;
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
public interface OC1TitleKnownV2_1ServiceChannel : ProcessTitlesFromDBFs.LROfficialCopyTitleKnownV2_1.OC1TitleKnownV2_1Service, System.ServiceModel.IClientChannel {
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
public partial class OC1TitleKnownV2_1ServiceClient : System.ServiceModel.ClientBase<ProcessTitlesFromDBFs.LROfficialCopyTitleKnownV2_1.OC1TitleKnownV2_1Service>, ProcessTitlesFromDBFs.LROfficialCopyTitleKnownV2_1.OC1TitleKnownV2_1Service {
public OC1TitleKnownV2_1ServiceClient() {
}
public OC1TitleKnownV2_1ServiceClient(string endpointConfigurationName) :
base(endpointConfigurationName) {
}
public OC1TitleKnownV2_1ServiceClient(string endpointConfigurationName, string remoteAddress) :
base(endpointConfigurationName, remoteAddress) {
}
public OC1TitleKnownV2_1ServiceClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
base(endpointConfigurationName, remoteAddress) {
}
public OC1TitleKnownV2_1ServiceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
base(binding, remoteAddress) {
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
ProcessTitlesFromDBFs.LROfficialCopyTitleKnownV2_1.performTitleKnownSearchResponse ProcessTitlesFromDBFs.LROfficialCopyTitleKnownV2_1.OC1TitleKnownV2_1Service.performTitleKnownSearch(ProcessTitlesFromDBFs.LROfficialCopyTitleKnownV2_1.performTitleKnownSearchRequest request) {
return base.Channel.performTitleKnownSearch(request);
}
public ProcessTitlesFromDBFs.LROfficialCopyTitleKnownV2_1.ResponseTitleKnownOfficialCopyV2_0Type performTitleKnownSearch(ProcessTitlesFromDBFs.LROfficialCopyTitleKnownV2_1.RequestTitleKnownOfficialCopyV2_1Type arg0) {
ProcessTitlesFromDBFs.LROfficialCopyTitleKnownV2_1.performTitleKnownSearchRequest inValue = new ProcessTitlesFromDBFs.LROfficialCopyTitleKnownV2_1.performTitleKnownSearchRequest();
inValue.arg0 = arg0;
ProcessTitlesFromDBFs.LROfficialCopyTitleKnownV2_1.performTitleKnownSearchResponse retVal = ((ProcessTitlesFromDBFs.LROfficialCopyTitleKnownV2_1.OC1TitleKnownV2_1Service)(this)).performTitleKnownSearch(inValue);
return retVal.@return;
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
System.Threading.Tasks.Task<ProcessTitlesFromDBFs.LROfficialCopyTitleKnownV2_1.performTitleKnownSearchResponse> ProcessTitlesFromDBFs.LROfficialCopyTitleKnownV2_1.OC1TitleKnownV2_1Service.performTitleKnownSearchAsync(ProcessTitlesFromDBFs.LROfficialCopyTitleKnownV2_1.performTitleKnownSearchRequest request) {
return base.Channel.performTitleKnownSearchAsync(request);
}
public System.Threading.Tasks.Task<ProcessTitlesFromDBFs.LROfficialCopyTitleKnownV2_1.performTitleKnownSearchResponse> performTitleKnownSearchAsync(ProcessTitlesFromDBFs.LROfficialCopyTitleKnownV2_1.RequestTitleKnownOfficialCopyV2_1Type arg0) {
ProcessTitlesFromDBFs.LROfficialCopyTitleKnownV2_1.performTitleKnownSearchRequest inValue = new ProcessTitlesFromDBFs.LROfficialCopyTitleKnownV2_1.performTitleKnownSearchRequest();
inValue.arg0 = arg0;
return ((ProcessTitlesFromDBFs.LROfficialCopyTitleKnownV2_1.OC1TitleKnownV2_1Service)(this)).performTitleKnownSearchAsync(inValue);
}
}
}
I have written code to assign values to the required elements for the xml document and everything is great apart from the Q1ContactType element. This is an implied array and every time I try to create an instance of it, it just returns an 'Object set to Null Reference' error. My code below:
<pre lang="c#">public static ResponseTitleKnownOfficialCopyV2_0Type MatchTitles(string title)
{
try
{
string uname = Properties.Settings.Default.hmlrUserName;
string pwd = Properties.Settings.Default.hmlrPassWord;
OC1TitleKnownV2_1ServiceClient client = new OC1TitleKnownV2_1ServiceClient();
client.ChannelFactory.Endpoint.Behaviors.Add(new HMLR.HMLRBGMessageEndpointBehavior(uname, pwd));
RequestTitleKnownOfficialCopyV2_1Type request = new RequestTitleKnownOfficialCopyV2_1Type();
request.ID = new Q1IdentifierType();
request.ID.MessageID = new Q1TextType();
request.ID.MessageID.Value = "testsuccessmanyresults";
request.Product = new Q1ProductType();
request.Product.ExternalReference = new Q1ExternalReferenceType();
request.Product.ExternalReference.Reference = "DotNetQuickStartReference";
request.Product.CustomerReference = new Q1CustomerReferenceType();
request.Product.CustomerReference.Reference = "AEJTest";
request.Product.SubjectProperty = new Q1SubjectPropertyType();
request.Product.SubjectProperty.TitleNumber = new LROfficialCopyTitleKnownV2_1.Q2TextType();
request.Product.SubjectProperty.TitleNumber.Value = "DN100";
request.Product.ExpectedPrice = new Q1ExpectedPriceType();
request.Product.ExpectedPrice.GrossPriceAmount = new AmountType();
request.Product.ExpectedPrice.GrossPriceAmount.Value = 3;
request.Product.Contact[1] = new Q1ContactType();
request.Product.Contact[0].Name = new Q3TextType();
request.Product.Contact[0].Name.Value = "Allen Jones";
request.Product.Contact[0].Communication = new Q1CommunicationType();
request.Product.Contact[0].Communication.Telephone.Value = "01925 938640";
request.Product.TitleKnownOfficialCopy = new Q1TitleKnownOfficialCopyType();
request.Product.TitleKnownOfficialCopy.RequestedOfficialCopyCode = new RequestedOfficialCopyCodeType();
request.Product.TitleKnownOfficialCopy.RequestedOfficialCopyCode.Value = RequestedOfficialCopyCodeContentType.Item10;
request.Product.TitleKnownOfficialCopy.OfficialCopyTypeCode = new OfficialCopyCodeType();
request.Product.TitleKnownOfficialCopy.OfficialCopyTypeCode.Value = OfficialCopyCodeContentType.Item10;
request.Product.TitleKnownOfficialCopy.PropertyDescription = "";
request.Product.TitleKnownOfficialCopy.ContinueIfTitleIsClosedAndContinuedIndicator = new IndicatorType();
request.Product.TitleKnownOfficialCopy.ContinueIfTitleIsClosedAndContinuedIndicator.Value = true;
request.Product.TitleKnownOfficialCopy.NotifyIfPendingFirstRegistrationIndicator = new IndicatorType();
request.Product.TitleKnownOfficialCopy.NotifyIfPendingFirstRegistrationIndicator.Value = true;
request.Product.TitleKnownOfficialCopy.NotifyIfPendingApplicationIndicator = new IndicatorType();
request.Product.TitleKnownOfficialCopy.NotifyIfPendingApplicationIndicator.Value = true;
request.Product.TitleKnownOfficialCopy.SendBackDatedIndicator = new IndicatorType();
request.Product.TitleKnownOfficialCopy.SendBackDatedIndicator.Value = true;
request.Product.TitleKnownOfficialCopy.ContinueIfActualFeeExceedsExpectedFeeIndicator = new IndicatorType();
request.Product.TitleKnownOfficialCopy.ContinueIfActualFeeExceedsExpectedFeeIndicator.Value = true;
Console.Write(request.ToString());
LROfficialCopyTitleKnownV2_1.ResponseTitleKnownOfficialCopyV2_0Type response = client.performTitleKnownSearch(request);
return response;
}
catch (Exception e)
{
Console.WriteLine(e);
return null;
}
}
Any ideas as to what I am doing wrong or what I am missing will be gratefully received.
Allen Jones
|