You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Maxim Smityukhov (JIRA)" <ji...@apache.org> on 2012/10/29 11:27:12 UTC

[jira] [Created] (QPID-4400) WCF HelloWorld example throws an XMLException

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


[jira] [Resolved] (QPID-4400) WCF HelloWorld example throws an XMLException

Posted by "Cliff Jansen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-4400?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Cliff Jansen resolved QPID-4400.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 0.19

Fixed r1405981.

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


[jira] [Assigned] (QPID-4400) WCF HelloWorld example throws an XMLException

Posted by "Cliff Jansen (JIRA)" <ji...@apache.org>.
     [ 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-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org