Qpid
  1. Qpid
  2. QPID-4400

WCF HelloWorld example throws an XMLException

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 0.18
    • Fix Version/s: 0.19
    • Component/s: WCF/C++ Client
    • Labels:
      None
    • Environment:

      Windows 7 Professional x64
      Visual Studio 2010
      .Net FrameWork 4.0

      Description

      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(); }

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Cliff Jansen
            Reporter:
            Maxim Smityukhov
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development