Notification Registration not working
Posted: Wed Oct 26, 2016 1:04 pm
I have taken the soap11 example from the SDK doc and placed it in an XML file:
<?xml version="1.0" encoding="utf-8" ?>
<Subscriptions xmlns="http://schemas.softprocorp.com/select/n ... ng/2008/04">
<Subscription eventid="C4EDBD4F-F11D-4C48-BE08-8C105181F5C9">
<Filter />
<Transform />
<DeliveryKind>soap11</DeliveryKind>
<DeliveryAddress>http://service.newventureescrow.com:909 ... eryAddress>
<Guaranteed>true</Guaranteed>
</Subscription>
</Subscriptions>
Except for the DeliveryAddress is is identical to the example. Yet when I try to register it using sps.exe, I get:
The 'eventid' attribute is not declared.
The 'eventid' attribute is not declared.
at SoftPro.Select.CommandLine.Commands.SubscribeCommand.<Run>b__2(Object sender, ValidationEventArgs e)
at System.Xml.Schema.XmlSchemaValidator.SendValidationEvent(String code, String arg)
at System.Xml.Schema.XmlSchemaValidator.ValidateAttribute(String lName, String ns, XmlValueGetter attributeValueGetter, String attributeStringValue, XmlSchemaInfo schemaInfo)
at System.Xml.XsdValidatingReader.ValidateAttributes()
at System.Xml.XsdValidatingReader.ProcessElementEvent()
at System.Xml.XsdValidatingReader.Read()
at System.Xml.Linq.XContainer.ReadContentFrom(XmlReader r)
at System.Xml.Linq.XContainer.ReadContentFrom(XmlReader r, LoadOptions o)
at System.Xml.Linq.XDocument.Load(XmlReader reader, LoadOptions options)
at SoftPro.Select.CommandLine.Commands.SubscribeCommand.Run()
at SoftPro.Select.CommandLine.Program.RunCommand(String[] args)
What is missing from my registration XML? I am assuming that's where the problem is.
<?xml version="1.0" encoding="utf-8" ?>
<Subscriptions xmlns="http://schemas.softprocorp.com/select/n ... ng/2008/04">
<Subscription eventid="C4EDBD4F-F11D-4C48-BE08-8C105181F5C9">
<Filter />
<Transform />
<DeliveryKind>soap11</DeliveryKind>
<DeliveryAddress>http://service.newventureescrow.com:909 ... eryAddress>
<Guaranteed>true</Guaranteed>
</Subscription>
</Subscriptions>
Except for the DeliveryAddress is is identical to the example. Yet when I try to register it using sps.exe, I get:
The 'eventid' attribute is not declared.
The 'eventid' attribute is not declared.
at SoftPro.Select.CommandLine.Commands.SubscribeCommand.<Run>b__2(Object sender, ValidationEventArgs e)
at System.Xml.Schema.XmlSchemaValidator.SendValidationEvent(String code, String arg)
at System.Xml.Schema.XmlSchemaValidator.ValidateAttribute(String lName, String ns, XmlValueGetter attributeValueGetter, String attributeStringValue, XmlSchemaInfo schemaInfo)
at System.Xml.XsdValidatingReader.ValidateAttributes()
at System.Xml.XsdValidatingReader.ProcessElementEvent()
at System.Xml.XsdValidatingReader.Read()
at System.Xml.Linq.XContainer.ReadContentFrom(XmlReader r)
at System.Xml.Linq.XContainer.ReadContentFrom(XmlReader r, LoadOptions o)
at System.Xml.Linq.XDocument.Load(XmlReader reader, LoadOptions options)
at SoftPro.Select.CommandLine.Commands.SubscribeCommand.Run()
at SoftPro.Select.CommandLine.Program.RunCommand(String[] args)
What is missing from my registration XML? I am assuming that's where the problem is.