qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maxim Smityukhov (JIRA)" <j...@apache.org>
Subject [jira] [Created] (QPID-4400) WCF HelloWorld example throws an XMLException
Date Mon, 29 Oct 2012 10:27:12 GMT
Maxim Smityukhov created QPID-4400:

             Summary: 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
            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.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-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org

View raw message