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

        Maxim Smityukhov created issue -
        Cliff Jansen made changes -
        Field Original Value New Value
        Assignee Cliff Jansen [ cliffjansen ]
        Hide
        Cliff Jansen added a comment -

        Fixed r1405981.

        Show
        Cliff Jansen added a comment - Fixed r1405981.
        Cliff Jansen made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 0.19 [ 12322452 ]
        Resolution Fixed [ 1 ]
        Justin Ross made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        7d 11h 38m 1 Cliff Jansen 05/Nov/12 22:05
        Resolved Resolved Closed Closed
        265d 20h 47m 1 Justin Ross 29/Jul/13 19:52

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development