[ https://issues.apache.org/jira/browse/QPID-4400?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Cliff Jansen reassigned QPID-4400: ---------------------------------- Assignee: Cliff Jansen > WCF HelloWorld example throws an XMLException > --------------------------------------------- > > Key: QPID-4400 > URL: https://issues.apache.org/jira/browse/QPID-4400 > Project: Qpid > Issue Type: Bug > Components: WCF/C++ Client > Affects Versions: 0.18 > Environment: Windows 7 Professional x64 > Visual Studio 2010 > .Net FrameWork 4.0 > Reporter: Maxim Smityukhov > Assignee: Cliff Jansen > Priority: Trivial > > There is an exception on byte[] binaryContent = reader.ReadContentAsBase64(); > The reason is no writer.WriteEndElement(); in > protected override void OnWriteBodyContents(XmlDictionaryWriter writer) > { > byte[] binaryContent = Encoding.UTF8.GetBytes("Hello world!"); > writer.WriteStartElement("Binary"); > writer.WriteBase64(binaryContent, 0, binaryContent.Length); > // Insert here writer.WriteEndElement(); > } -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org