<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>POXNET Wiki &amp; Documentation Rss Feed</title><link>http://www.codeplex.com/POXNET/Wiki/View.aspx?title=Home</link><description>POXNET Wiki Rss Description</description><item><title>UPDATED WIKI: Home</title><link>http://www.codeplex.com/POXNET/Wiki/View.aspx?title=Home&amp;version=11</link><description>&lt;div class="wikidoc"&gt;
&lt;b&gt;Project Description&lt;/b&gt;&lt;br /&gt;POX.NET is a set of utility classes that assist in creating POX &amp;#40;Plain Old Xml&amp;#41; services and clients in .NET 2.0. This libary leverages classes within .NET 2.0 and does not require any additional add-ons. With POX.NET working with POX in .NET is a breeze.
&lt;br /&gt; &lt;br /&gt;For background of this project see the original blog post at &lt;a href="http://blogs.msdn.com/gblock/archive/2007/01/22/pox-xmlhttp-in-net-2-0.aspx" class="externalLink"&gt;http://blogs.msdn.com/gblock/archive/2007/01/22/pox-xmlhttp-in-net-2-0.aspx&lt;/a&gt;.&lt;br /&gt; &lt;br /&gt;Sample POX Client / Service and test fixture are included in the source.&lt;br /&gt; &lt;br /&gt;&lt;h1&gt;
Mini QuickStart - Using POX.NET
&lt;/h1&gt; &lt;br /&gt;POX.NET allows you to do two main things. 1. Create a POX client to invoke a POX service. 2. Create an ASP.NET POX service.&lt;br /&gt; &lt;br /&gt;&lt;b&gt;Invoking a POX service.&lt;/b&gt;&lt;br /&gt; &lt;br /&gt;In order to invoke a POX Service using POX.NET you do 3 things:&lt;br /&gt; &lt;br /&gt;&lt;ol&gt;
&lt;li&gt;Create a POXClient instance&lt;/li&gt;&lt;li&gt;Invoke the Post&amp;lt;T&amp;gt; method passing an Xml serializable object instance.&lt;/li&gt;&lt;li&gt;Call GetResponse&amp;lt;T&amp;gt; and retrieve the response type.&lt;/li&gt;
&lt;/ol&gt; &lt;br /&gt;The example below shows how to Invoke a POX service that accepts an Order object as part of the request, and retrieves an OrderResponse object as part of the response.&lt;br /&gt; &lt;br /&gt;&lt;pre&gt;
using Microsoft.POXUtils
 
public OrderResponse SubmitOrder(Order order)
{
    Order Order = new Order(1234);
    POXClient Client = new POXClient(&amp;quot;http://Orders/SubmitOrder.aspx&amp;quot;);
    Client.Post(order);
    return Client.GetResponse&amp;lt;OrderResponse&amp;gt;();
} 
&lt;/pre&gt; &lt;br /&gt;&lt;b&gt;Creating a POX Service&lt;/b&gt;&lt;br /&gt; &lt;br /&gt;To create a POX service, follow the following steps:&lt;br /&gt; &lt;br /&gt;&lt;ol&gt;
&lt;li&gt;Add a new ASPX page in your web application which represents you service i.e. OrderService.aspx. &lt;/li&gt;&lt;li&gt;Change the base class to inherit from POXPage.&lt;/li&gt;&lt;li&gt;In the Page_Load event handler, call the GetRequest&amp;lt;T&amp;gt; method to retrieve the request object that the service has been passed as part of the invocation.&lt;/li&gt;&lt;li&gt;Create your response object and call the WriteResponse&amp;lt;T&amp;gt; method.&lt;/li&gt;
&lt;/ol&gt; &lt;br /&gt;The example shows how to create a POX service that receives the Order object posted in the client example, and returns an OrderResponse.&lt;br /&gt; &lt;br /&gt;&lt;pre&gt;
using Microsoft.POXUtils
 
class OrderService : POXPage {
 
    protected void Page_Load(object sender, EventArgs e)
    {
        Order CurrentOrder = GetRequest&amp;lt;Order&amp;gt;();
        if (CurrentOrder != null)
        {
            OrderResponse OrderResponse = new OrderResponse(CurrentOrder, &amp;quot;confirmed&amp;quot;, &amp;quot;1000&amp;quot;);
            WriteResponse(OrderResponse);
        }
    }
} 
&lt;/pre&gt; &lt;br /&gt;&lt;b&gt;What's included in the package?&lt;/b&gt;&lt;br /&gt; &lt;br /&gt;&lt;h1&gt;
Microsoft.POXUtils
&lt;/h1&gt; &lt;br /&gt;&lt;h2&gt;
Microsoft.POXUtils.Client
&lt;/h2&gt; &lt;br /&gt;Provides a class which enscapsualtes a POX service invocation. The class exposes methods for posting and retreving Xml Serializable objects, streams and Xml Documents via a POX Service.&lt;br /&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt;&lt;span class="codeInline"&gt;public void Post&amp;lt;T&amp;gt;(T objectToPost)&lt;/span&gt; - Serializes objectToPost and then posts the stream to a POX service.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;public void PostDocument(XmlDocument document)&lt;/span&gt; - Posts the contents of an document to a POX service.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;public void PostStream(stream documentStream)&lt;/span&gt; - Posts a stream to a POX service.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;public T GetResponse&amp;lt;T&amp;gt;()&lt;/span&gt; - Retrieves the result stream from a POX service an deserializes to an instance of type T.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;public XmlDocument GetResponseDocument()&lt;/span&gt; - Retrives the result stream from a POX service returns an XmlDocument loaded with that stream.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;public MemoryStream GetResponseStream()&lt;/span&gt; - Retrieves the result stream from a POX service and loads it into a MemoryStream.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;public XmlWriterSettings WriterSettings&lt;/span&gt; - Allows ovewriting the settings for the internal XmlSerializer to use when posting an object or an XmlDocument.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;public XmlReaderSettings ReaderSettings&lt;/span&gt; - Allows overwriting the settings for the internal XmlSerializer to use when deserializing an object or retrieving an XmlDocument.&lt;/li&gt;
&lt;/ul&gt; &lt;br /&gt;&lt;h2&gt;
Microsoft.POXUtils.POXPage
&lt;/h2&gt; &lt;br /&gt;Provides an inherited System.Web.UI.Page class that exposes methods for handling a POX web request and response.&lt;br /&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt;&lt;span class="codeInline"&gt;public T GetRequest&amp;lt;T&amp;gt;()&lt;/span&gt; - Retrieves the request stream and deserializes to an instance of type T.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;public XmlDocument GetRequestDocument()&lt;/span&gt; - Retrieves the request stream and returns an XmlDocument loaded with that stream.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;public void WriteResponse&amp;lt;T&amp;gt;(T objectToWrite)&lt;/span&gt; - Serializes objectToWrite and then posts the stream to the response.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;public void WriteResponseDocument(XmlDocument document)&lt;/span&gt; - Posts the contents of document to the response.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;public XmlWriterSettings WriterSettings&lt;/span&gt; - Allows ovewriting the settings for the internal XmlSerializer to use when posting an object or an XmlDocument to the response.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;public XmlReaderSettings ReaderSettings&lt;/span&gt; - Allows overwriting the settings for the internal XmlSerializer to use when deserializing an object or retrieving an XmlDocument from the request.&lt;/li&gt;
&lt;/ul&gt; &lt;br /&gt;&lt;h2&gt;
Microsoft.POXUtils.Common
&lt;/h2&gt; &lt;br /&gt;Handles low-level streaming, serialization and deserialization for Client and POXPage.&lt;br /&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt;&lt;span class="codeInline"&gt;internal static void WriteStream(Stream inputStream, Stream outputStream, int length)&lt;/span&gt; - Copies the contents of inputStream to outputStream.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;private static void WriteStream(Stream outputStream, byte[] streamBuffer,int length)&lt;/span&gt; - Copies the contents of streamBuffer to outputStream.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;internal static MemoryStream ReadStream(Stream inputStream, int length)&lt;/span&gt; - Reads the contents of inputStream and returns a new MemoryStream.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;internal static MemoryStream SerializeObject&amp;lt;T&amp;gt;(T objectToSerialize, XmlWriterSettings writerSettings)&lt;/span&gt; - Serializes objectToSerialize to a MemoryStream using the provided settings.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;internal static T DeserializeObject&amp;lt;T&amp;gt;(Stream inputStream, XmlReaderSettings readerSettings)&lt;/span&gt; - Deserializes inputStream to an instance of type T using the provided settings.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;internal static XmlDocument GetDocumentFromStream(Stream stream, XmlReaderSettings readerSettings)&lt;/span&gt; - Loads the contents of stream into an XmlDocument using the provided settings.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;internal static MemoryStream GetStreamFromDocument(XmlDocument document, XmlWriterSettings writerSettings)&lt;/span&gt; - Writes the contents of document to a stream using the provided settings.&lt;/li&gt;
&lt;/ul&gt; &lt;br /&gt;&lt;b&gt;Releases&lt;/b&gt;&lt;br /&gt; &lt;br /&gt;.1 Alpha - &lt;a href="http://www.codeplex.com/POXNET/Release/ProjectReleases.aspx?ReleaseId=2183" class="externalLink"&gt;http://www.codeplex.com/POXNET/Release/ProjectReleases.aspx?ReleaseId=2183&lt;/a&gt;&lt;br /&gt;.11 Alpha - &lt;a href="http://www.codeplex.com/POXNET/Release/ProjectReleases.aspx?ReleaseId=2966" class="externalLink"&gt;http://www.codeplex.com/POXNET/Release/ProjectReleases.aspx?ReleaseId=2966&lt;/a&gt;&lt;br /&gt; &lt;br /&gt; &lt;br /&gt;
&lt;/div&gt;</description><author>gblock</author><pubDate>Mon, 09 Apr 2007 07:23:25 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: Home 20070409072325A</guid></item><item><title>UPDATED WIKI: Home</title><link>http://www.codeplex.com/POXNET/Wiki/View.aspx?title=Home&amp;version=10</link><description>&lt;div class="wikidoc"&gt;
&lt;b&gt;Project Description&lt;/b&gt;&lt;br /&gt;POX.NET is a set of utility classes that assist in creating POX &amp;#40;Plain Old Xml&amp;#41; services and clients in .NET 2.0. This libary leverages classes within .NET 2.0 and does not require any additional add-ons. With POX.NET working with POX in .NET is a breeze.
&lt;br /&gt; &lt;br /&gt;For background of this project see the original blog post at &lt;a href="http://blogs.msdn.com/gblock/archive/2007/01/22/pox-xmlhttp-in-net-2-0.aspx" class="externalLink"&gt;http://blogs.msdn.com/gblock/archive/2007/01/22/pox-xmlhttp-in-net-2-0.aspx&lt;/a&gt;.&lt;br /&gt; &lt;br /&gt;Sample POX Client / Service and test fixture are included in the source.&lt;br /&gt; &lt;br /&gt;&lt;b&gt;What's included in the package?&lt;/b&gt;&lt;br /&gt; &lt;br /&gt;&lt;h1&gt;
Microsoft.POXUtils
&lt;/h1&gt; &lt;br /&gt;&lt;h2&gt;
Microsoft.POXUtils.Client
&lt;/h2&gt; &lt;br /&gt;Provides a class which enscapsualtes a POX service invocation. The class exposes methods for posting and retreving Xml Serializable objects, streams and Xml Documents via a POX Service.&lt;br /&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt;&lt;span class="codeInline"&gt;public void Post&amp;lt;T&amp;gt;(T objectToPost)&lt;/span&gt; - Serializes objectToPost and then posts the stream to a POX service.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;public void PostDocument(XmlDocument document)&lt;/span&gt; - Posts the contents of an document to a POX service.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;public void PostStream(stream documentStream)&lt;/span&gt; - Posts a stream to a POX service.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;public T GetResponse&amp;lt;T&amp;gt;()&lt;/span&gt; - Retrieves the result stream from a POX service an deserializes to an instance of type T.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;public XmlDocument GetResponseDocument()&lt;/span&gt; - Retrives the result stream from a POX service returns an XmlDocument loaded with that stream.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;public MemoryStream GetResponseStream()&lt;/span&gt; - Retrieves the result stream from a POX service and loads it into a MemoryStream.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;public XmlWriterSettings WriterSettings&lt;/span&gt; - Allows ovewriting the settings for the internal XmlSerializer to use when posting an object or an XmlDocument.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;public XmlReaderSettings ReaderSettings&lt;/span&gt; - Allows overwriting the settings for the internal XmlSerializer to use when deserializing an object or retrieving an XmlDocument.&lt;/li&gt;
&lt;/ul&gt; &lt;br /&gt;&lt;h2&gt;
Microsoft.POXUtils.POXPage
&lt;/h2&gt; &lt;br /&gt;Provides an inherited System.Web.UI.Page class that exposes methods for handling a POX web request and response.&lt;br /&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt;&lt;span class="codeInline"&gt;public T GetRequest&amp;lt;T&amp;gt;()&lt;/span&gt; - Retrieves the request stream and deserializes to an instance of type T.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;public XmlDocument GetRequestDocument()&lt;/span&gt; - Retrieves the request stream and returns an XmlDocument loaded with that stream.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;public void WriteResponse&amp;lt;T&amp;gt;(T objectToWrite)&lt;/span&gt; - Serializes objectToWrite and then posts the stream to the response.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;public void WriteResponseDocument(XmlDocument document)&lt;/span&gt; - Posts the contents of document to the response.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;public XmlWriterSettings WriterSettings&lt;/span&gt; - Allows ovewriting the settings for the internal XmlSerializer to use when posting an object or an XmlDocument to the response.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;public XmlReaderSettings ReaderSettings&lt;/span&gt; - Allows overwriting the settings for the internal XmlSerializer to use when deserializing an object or retrieving an XmlDocument from the request.&lt;/li&gt;
&lt;/ul&gt; &lt;br /&gt;&lt;h2&gt;
Microsoft.POXUtils.Common
&lt;/h2&gt; &lt;br /&gt;Handles low-level streaming, serialization and deserialization for Client and POXPage.&lt;br /&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt;&lt;span class="codeInline"&gt;internal static void WriteStream(Stream inputStream, Stream outputStream, int length)&lt;/span&gt; - Copies the contents of inputStream to outputStream.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;private static void WriteStream(Stream outputStream, byte[] streamBuffer,int length)&lt;/span&gt; - Copies the contents of streamBuffer to outputStream.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;internal static MemoryStream ReadStream(Stream inputStream, int length)&lt;/span&gt; - Reads the contents of inputStream and returns a new MemoryStream.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;internal static MemoryStream SerializeObject&amp;lt;T&amp;gt;(T objectToSerialize, XmlWriterSettings writerSettings)&lt;/span&gt; - Serializes objectToSerialize to a MemoryStream using the provided settings.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;internal static T DeserializeObject&amp;lt;T&amp;gt;(Stream inputStream, XmlReaderSettings readerSettings)&lt;/span&gt; - Deserializes inputStream to an instance of type T using the provided settings.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;internal static XmlDocument GetDocumentFromStream(Stream stream, XmlReaderSettings readerSettings)&lt;/span&gt; - Loads the contents of stream into an XmlDocument using the provided settings.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;internal static MemoryStream GetStreamFromDocument(XmlDocument document, XmlWriterSettings writerSettings)&lt;/span&gt; - Writes the contents of document to a stream using the provided settings.&lt;/li&gt;
&lt;/ul&gt; &lt;br /&gt;&lt;b&gt;Releases&lt;/b&gt;&lt;br /&gt; &lt;br /&gt;.1 Alpha - &lt;a href="http://www.codeplex.com/POXNET/Release/ProjectReleases.aspx?ReleaseId=2183" class="externalLink"&gt;http://www.codeplex.com/POXNET/Release/ProjectReleases.aspx?ReleaseId=2183&lt;/a&gt;&lt;br /&gt;.11 Alpha - &lt;a href="http://www.codeplex.com/POXNET/Release/ProjectReleases.aspx?ReleaseId=2966" class="externalLink"&gt;http://www.codeplex.com/POXNET/Release/ProjectReleases.aspx?ReleaseId=2966&lt;/a&gt;&lt;br /&gt; &lt;br /&gt; &lt;br /&gt;
&lt;/div&gt;</description><author>gblock</author><pubDate>Mon, 09 Apr 2007 06:55:39 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: Home 20070409065539A</guid></item><item><title>UPDATED WIKI: Home</title><link>http://www.codeplex.com/POXNET/Wiki/View.aspx?title=Home&amp;version=9</link><description>&lt;div class="wikidoc"&gt;
&lt;b&gt;Project Description&lt;/b&gt;&lt;br /&gt;POX.NET is a set of utility classes that assist in creating POX &amp;#40;Plain Old Xml&amp;#41; services and clients in .NET 2.0. This libary leverages classes within .NET 2.0 and does not require any additional add-ons. With POX.NET working with POX in .NET is a breeze.
&lt;br /&gt; &lt;br /&gt;For background of this project see the original blog post at &lt;a href="http://blogs.msdn.com/gblock/archive/2007/01/22/pox-xmlhttp-in-net-2-0.aspx" class="externalLink"&gt;http://blogs.msdn.com/gblock/archive/2007/01/22/pox-xmlhttp-in-net-2-0.aspx&lt;/a&gt;.&lt;br /&gt; &lt;br /&gt;Sample POX Client / Service and test fixture are included in the source.&lt;br /&gt; &lt;br /&gt;&lt;b&gt;What's included in the package?&lt;/b&gt;&lt;br /&gt; &lt;br /&gt;&lt;h1&gt;
Microsoft.POXUtils
&lt;/h1&gt; &lt;br /&gt;&lt;h2&gt;
Microsoft.POXUtils.Client
&lt;/h2&gt; &lt;br /&gt;Provides a class which enscapsualtes a POX service invocation. The class exposes methods for posting and retreving Xml Serializable objects, streams and Xml Documents via a POX Service.&lt;br /&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt;&lt;span class="codeInline"&gt;public void Post&amp;lt;T&amp;gt;(T objectToPost)&lt;/span&gt; - Serializes objectToPost and then posts the stream to a POX service.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;public void PostDocument(XmlDocument document)&lt;/span&gt; - Posts the contents of an document to a POX service.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;public void PostStream(stream documentStream)&lt;/span&gt; - Posts a stream to a POX service.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;public T GetResponse&amp;lt;T&amp;gt;()&lt;/span&gt; - Retrieves the result stream from a POX service an deserializes to an instance of type T.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;public XmlDocument GetResponseDocument()&lt;/span&gt; - Retrives the result stream from a POX service returns an XmlDocument loaded with that stream.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;public MemoryStream GetResponseStream()&lt;/span&gt; - Retrieves the result stream from a POX service and loads it into a MemoryStream.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;public XmlWriterSettings WriterSettings&lt;/span&gt; - Allows ovewriting the settings for the internal XmlSerializer to use when posting an object or an XmlDocument.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;public XmlReaderSettings ReaderSettings&lt;/span&gt; - Allows overwriting the settings for the internal XmlSerializer to use when deserializing an object or retrieving an XmlDocument.&lt;/li&gt;
&lt;/ul&gt; &lt;br /&gt;&lt;h2&gt;
Microsoft.POXUtils.POXPage
&lt;/h2&gt; &lt;br /&gt;Provides an inherited System.Web.UI.Page class that exposes methods for handling a POX web request and response.&lt;br /&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt;&lt;span class="codeInline"&gt;public T GetRequest&amp;lt;T&amp;gt;()&lt;/span&gt; - Retrieves the request stream and deserializes to an instance of type T.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;public XmlDocument GetRequestDocument()&lt;/span&gt; - Retrieves the request stream and returns an XmlDocument loaded with that stream.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;public void WriteResponse&amp;lt;T&amp;gt;(T objectToWrite)&lt;/span&gt; - Serializes objectToWrite and then posts the stream to the response.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;public void WriteResponseDocument(XmlDocument document)&lt;/span&gt; - Posts the contents of document to the response.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;public XmlWriterSettings WriterSettings&lt;/span&gt; - Allows ovewriting the settings for the internal XmlSerializer to use when posting an object or an XmlDocument to the response.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;public XmlReaderSettings ReaderSettings&lt;/span&gt; - Allows overwriting the settings for the internal XmlSerializer to use when deserializing an object or retrieving an XmlDocument from the request.&lt;/li&gt;
&lt;/ul&gt; &lt;br /&gt;&lt;h2&gt;
Microsoft.POXUtils.Common
&lt;/h2&gt; &lt;br /&gt;Handles low-level streaming, serialization and deserialization for Client and POXPage.&lt;br /&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt;&lt;span class="codeInline"&gt;internal static void WriteStream(Stream inputStream, Stream outputStream, int length)&lt;/span&gt; - Copies the contents of inputStream to outputStream.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;private static void WriteStream(Stream outputStream, byte[] streamBuffer,int length)&lt;/span&gt; - Copies the contents of streamBuffer to outputStream.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;internal static MemoryStream ReadStream(Stream inputStream, int length)&lt;/span&gt; - Reads the contents of inputStream and returns a new MemoryStream.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;internal static MemoryStream SerializeObject&amp;lt;T&amp;gt;(T objectToSerialize, XmlWriterSettings writerSettings)&lt;/span&gt; - Serializes objectToSerialize to a MemoryStream using the provided settings.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;internal static T DeserializeObject&amp;lt;T&amp;gt;(Stream inputStream, XmlReaderSettings readerSettings)&lt;/span&gt; - Deserializes inputStream to an instance of type T using the provided settings.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;internal static XmlDocument GetDocumentFromStream(Stream stream, XmlReaderSettings readerSettings)&lt;/span&gt; - Loads the contents of stream into an XmlDocument using the provided settings.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;internal static MemoryStream GetStreamFromDocument(XmlDocument document, XmlWriterSettings writerSettings)&lt;/span&gt; - Writes the contents of document to a stream using the provided settings.&lt;/li&gt;
&lt;/ul&gt; &lt;br /&gt;&lt;b&gt;Releases&lt;/b&gt;&lt;br /&gt; &lt;br /&gt;.1 Alpha - &lt;a href="http://www.codeplex.com/POXNET/Release/ProjectReleases.aspx?ReleaseId=2183" class="externalLink"&gt;http://www.codeplex.com/POXNET/Release/ProjectReleases.aspx?ReleaseId=2183&lt;/a&gt;&lt;br /&gt; &lt;br /&gt; &lt;br /&gt;
&lt;/div&gt;</description><author>gblock</author><pubDate>Sun, 11 Mar 2007 19:49:05 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: Home 20070311074905P</guid></item><item><title>UPDATED WIKI: Home</title><link>http://www.codeplex.com/POXNET/Wiki/View.aspx?title=Home&amp;version=8</link><description>&lt;div class="wikidoc"&gt;
&lt;b&gt;Project Description&lt;/b&gt;&lt;br /&gt;POX.NET is a set of utility classes that assist in creating POX &amp;#40;Plain Old Xml&amp;#41; clients and servers in .NET 2.0. This libary leverages classes within .NET 2.0 and does not require any additional add-ons. With POX.NET you can create a POX client and server with a few lines of code.&amp;#13;&amp;#10;
&lt;br /&gt; &lt;br /&gt;For background of this project see the original blog post at &lt;a href="http://blogs.msdn.com/gblock/archive/2007/01/22/pox-xmlhttp-in-net-2-0.aspx" class="externalLink"&gt;http://blogs.msdn.com/gblock/archive/2007/01/22/pox-xmlhttp-in-net-2-0.aspx&lt;/a&gt;.&lt;br /&gt; &lt;br /&gt;Sample POX Client / Service and test fixture are included in the source.&lt;br /&gt; &lt;br /&gt;&lt;b&gt;What's included in the package?&lt;/b&gt;&lt;br /&gt; &lt;br /&gt;&lt;h1&gt;
Microsoft.POXUtils
&lt;/h1&gt; &lt;br /&gt;&lt;h2&gt;
Microsoft.POXUtils.Client
&lt;/h2&gt; &lt;br /&gt;Provides a class which enscapsualtes a POX service invocation. The class exposes methods for posting and retreving Xml Serializable objects, streams and Xml Documents via a POX Service.&lt;br /&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt;&lt;span class="codeInline"&gt;public void Post&amp;lt;T&amp;gt;(T objectToPost)&lt;/span&gt; - Serializes objectToPost and then posts the stream to a POX service.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;public void PostDocument(XmlDocument document)&lt;/span&gt; - Posts the contents of an document to a POX service.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;public void PostStream(stream documentStream)&lt;/span&gt; - Posts a stream to a POX service.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;public T GetResponse&amp;lt;T&amp;gt;()&lt;/span&gt; - Retrieves the result stream from a POX service an deserializes to an instance of type T.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;public XmlDocument GetResponseDocument()&lt;/span&gt; - Retrives the result stream from a POX service returns an XmlDocument loaded with that stream.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;public MemoryStream GetResponseStream()&lt;/span&gt; - Retrieves the result stream from a POX service and loads it into a MemoryStream.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;public XmlWriterSettings WriterSettings&lt;/span&gt; - Allows ovewriting the settings for the internal XmlSerializer to use when posting an object or an XmlDocument.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;public XmlReaderSettings ReaderSettings&lt;/span&gt; - Allows overwriting the settings for the internal XmlSerializer to use when deserializing an object or retrieving an XmlDocument.&lt;/li&gt;
&lt;/ul&gt; &lt;br /&gt;&lt;h2&gt;
Microsoft.POXUtils.POXPage
&lt;/h2&gt; &lt;br /&gt;Provides an inherited System.Web.UI.Page class that exposes methods for handling a POX web request and response.&lt;br /&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt;&lt;span class="codeInline"&gt;public T GetRequest&amp;lt;T&amp;gt;()&lt;/span&gt; - Retrieves the request stream and deserializes to an instance of type T.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;public T GetRequestDocument()&lt;/span&gt; - Retrieves the request stream and returns an XmlDocument loaded with that stream.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;public void WriteResponse&amp;lt;T&amp;gt;(T objectToWrite)&lt;/span&gt; - Serializes objectToWrite and then posts the stream to the response.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;public void WriteResponseDocument(XmlDocument document)&lt;/span&gt; - Posts the contents of document to the response.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;public XmlWriterSettings WriterSettings&lt;/span&gt; - Allows ovewriting the settings for the internal XmlSerializer to use when posting an object or an XmlDocument to the response.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;public XmlReaderSettings ReaderSettings&lt;/span&gt; - Allows overwriting the settings for the internal XmlSerializer to use when deserializing an object or retrieving an XmlDocument from the request.&lt;/li&gt;
&lt;/ul&gt; &lt;br /&gt;&lt;h2&gt;
Microsoft.POXUtils.Common
&lt;/h2&gt; &lt;br /&gt;Handles low-level streaming, serialization and deserialization for Client and POXPage.&lt;br /&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt;&lt;span class="codeInline"&gt;internal static void WriteStream(Stream inputStream, Stream outputStream, int length)&lt;/span&gt; - Copies the contents of inputStream to outputStream.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;private static void WriteStream(Stream outputStream, byte[] streamBuffer,int length)&lt;/span&gt; - Copies the contents of streamBuffer to outputStream.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;internal static MemoryStream ReadStream(Stream inputStream, int length)&lt;/span&gt; - Reads the contents of inputStream and returns a new MemoryStream.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;internal static MemoryStream SerializeObject&amp;lt;T&amp;gt;(T objectToSerialize, XmlWriterSettings writerSettings)&lt;/span&gt; - Serializes objectToSerialize to a MemoryStream using the provided settings.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;internal static T DeserializeObject&amp;lt;T&amp;gt;(Stream inputStream, XmlReaderSettings readerSettings)&lt;/span&gt; - Deserializes inputStream to an instance of type T using the provided settings.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;internal static XmlDocument GetDocumentFromStream(Stream stream, XmlReaderSettings readerSettings)&lt;/span&gt; - Loads the contents of stream into an XmlDocument using the provided settings.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;internal static MemoryStream GetStreamFromDocument(XmlDocument document, XmlWriterSettings writerSettings)&lt;/span&gt; - Writes the contents of document to a stream using the provided settings.&lt;/li&gt;
&lt;/ul&gt; &lt;br /&gt;&lt;b&gt;Releases&lt;/b&gt;&lt;br /&gt; &lt;br /&gt;.1 Alpha - &lt;a href="http://www.codeplex.com/POXNET/Release/ProjectReleases.aspx?ReleaseId=2183" class="externalLink"&gt;http://www.codeplex.com/POXNET/Release/ProjectReleases.aspx?ReleaseId=2183&lt;/a&gt;&lt;br /&gt; &lt;br /&gt; &lt;br /&gt;
&lt;/div&gt;</description><author>gblock</author><pubDate>Wed, 07 Mar 2007 21:04:12 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: Home 20070307090412P</guid></item><item><title>UPDATED WIKI: Home</title><link>http://www.codeplex.com/POXNET/Wiki/View.aspx?title=Home&amp;version=7</link><description>&lt;div class="wikidoc"&gt;
&lt;b&gt;Project Description&lt;/b&gt;&lt;br /&gt;POX.NET is a set of utility classes that assist in creating POX &amp;#40;Plain Old Xml&amp;#41; clients and servers in .NET 2.0. This libary leverages classes within .NET 2.0 and does not require any additional add-ons. With POX.NET you can create a POX client and server with a few lines of code.&amp;#13;&amp;#10;
&lt;br /&gt; &lt;br /&gt;For background of this project see the original blog post at &lt;a href="http://blogs.msdn.com/gblock/archive/2007/01/22/pox-xmlhttp-in-net-2-0.aspx" class="externalLink"&gt;http://blogs.msdn.com/gblock/archive/2007/01/22/pox-xmlhttp-in-net-2-0.aspx&lt;/a&gt;.&lt;br /&gt; &lt;br /&gt;Sample POX Client / Service and test fixture are included in the source.&lt;br /&gt; &lt;br /&gt;&lt;b&gt;What's included in the package?&lt;/b&gt;&lt;br /&gt; &lt;br /&gt;&lt;h1&gt;
Microsoft.POXUtils
&lt;/h1&gt; &lt;br /&gt;&lt;h2&gt;
Microsoft.POXUtils.Client
&lt;/h2&gt; &lt;br /&gt;Provides methods for posting and retreving XML Serializable objects, streams and XML Documents to a POX Service.&lt;br /&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt;&lt;span class="codeInline"&gt;public void Post&amp;lt;T&amp;gt;(T objectToPost)&lt;/span&gt; - Serializes objectToPost and then posts the stream to a POX service.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;public void PostDocument(XmlDocument document)&lt;/span&gt; - Posts the contents of an document to a POX service.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;public void PostStream(stream documentStream)&lt;/span&gt; - Posts a stream to a POX service.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;public T GetResponse&amp;lt;T&amp;gt;()&lt;/span&gt; - Retrieves the result stream from a POX service an deserializes to an instance of type T.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;public XmlDocument GetResponseDocument()&lt;/span&gt; - Retrives the result stream from a POX service returns an XmlDocument loaded with that stream.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;public MemoryStream GetResponseStream()&lt;/span&gt; - Retrieves the result stream from a POX service and loads it into a MemoryStream.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;public XmlWriterSettings WriterSettings&lt;/span&gt; - Allows ovewriting the settings for the internal XmlSerializer to use when posting an object or an XmlDocument.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;public XmlReaderSettings ReaderSettings&lt;/span&gt; - Allows overwriting the settings for the internal XmlSerializer to use when deserializing an object or retrieving an XmlDocument.&lt;/li&gt;
&lt;/ul&gt; &lt;br /&gt;&lt;h2&gt;
Microsoft.POXUtils.POXPage
&lt;/h2&gt; &lt;br /&gt;Provides an inherited System.Web.UI.Page class that exposes methods for handling a POX web request and response.&lt;br /&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt;&lt;span class="codeInline"&gt;public T GetRequest&amp;lt;T&amp;gt;()&lt;/span&gt; - Retrieves the request stream and deserializes to an instance of type T.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;public T GetRequestDocument()&lt;/span&gt; - Retrieves the request stream and returns an XmlDocument loaded with that stream.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;public void WriteResponse&amp;lt;T&amp;gt;(T objectToWrite)&lt;/span&gt; - Serializes objectToWrite and then posts the stream to the response.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;public void WriteResponseDocument(XmlDocument document)&lt;/span&gt; - Posts the contents of document to the response.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;public XmlWriterSettings WriterSettings&lt;/span&gt; - Allows ovewriting the settings for the internal XmlSerializer to use when posting an object or an XmlDocument to the response.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;public XmlReaderSettings ReaderSettings&lt;/span&gt; - Allows overwriting the settings for the internal XmlSerializer to use when deserializing an object or retrieving an XmlDocument from the request.&lt;/li&gt;
&lt;/ul&gt; &lt;br /&gt;&lt;h2&gt;
Microsoft.POXUtils.Common
&lt;/h2&gt; &lt;br /&gt;Handles low-level streaming, serialization and deserialization for Client and POXPage.&lt;br /&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt;&lt;span class="codeInline"&gt;internal static void WriteStream(Stream inputStream, Stream outputStream, int length)&lt;/span&gt; - Copies the contents of inputStream to outputStream.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;private static void WriteStream(Stream outputStream, byte[] streamBuffer,int length)&lt;/span&gt; - Copies the contents of streamBuffer to outputStream.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;internal static MemoryStream ReadStream(Stream inputStream, int length)&lt;/span&gt; - Reads the contents of inputStream and returns a new MemoryStream.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;internal static MemoryStream SerializeObject&amp;lt;T&amp;gt;(T objectToSerialize, XmlWriterSettings writerSettings)&lt;/span&gt; - Serializes objectToSerialize to a MemoryStream using the provided settings.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;internal static T DeserializeObject&amp;lt;T&amp;gt;(Stream inputStream, XmlReaderSettings readerSettings)&lt;/span&gt; - Deserializes inputStream to an instance of type T using the provided settings.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;internal static XmlDocument GetDocumentFromStream(Stream stream, XmlReaderSettings readerSettings)&lt;/span&gt; - Loads the contents of stream into an XmlDocument using the provided settings.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;internal static MemoryStream GetStreamFromDocument(XmlDocument document, XmlWriterSettings writerSettings)&lt;/span&gt; - Writes the contents of document to a stream using the provided settings.&lt;/li&gt;
&lt;/ul&gt; &lt;br /&gt;&lt;b&gt;Releases&lt;/b&gt;&lt;br /&gt; &lt;br /&gt;.1 Alpha - &lt;a href="http://www.codeplex.com/POXNET/Release/ProjectReleases.aspx?ReleaseId=2183" class="externalLink"&gt;http://www.codeplex.com/POXNET/Release/ProjectReleases.aspx?ReleaseId=2183&lt;/a&gt;&lt;br /&gt; &lt;br /&gt; &lt;br /&gt;
&lt;/div&gt;</description><author>gblock</author><pubDate>Wed, 07 Mar 2007 21:01:56 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: Home 20070307090156P</guid></item><item><title>UPDATED WIKI: Home</title><link>http://www.codeplex.com/POXNET/Wiki/View.aspx?title=Home&amp;version=6</link><description>&lt;div class="wikidoc"&gt;
&lt;b&gt;Project Description&lt;/b&gt;&lt;br /&gt;POX.NET is a set of utility classes that assist in creating POX &amp;#40;Plain Old Xml&amp;#41; clients and servers in .NET 2.0. This libary leverages classes within .NET 2.0 and does not require any additional add-ons. With POX.NET you can create a POX client and server with a few lines of code.&amp;#13;&amp;#10;
&lt;br /&gt; &lt;br /&gt;For background of this project see the original blog post at &lt;a href="http://blogs.msdn.com/gblock/archive/2007/01/22/pox-xmlhttp-in-net-2-0.aspx" class="externalLink"&gt;http://blogs.msdn.com/gblock/archive/2007/01/22/pox-xmlhttp-in-net-2-0.aspx&lt;/a&gt;.&lt;br /&gt; &lt;br /&gt;Sample POX Client / Service and test fixture are included in the source.&lt;br /&gt; &lt;br /&gt;&lt;b&gt;What's included in the package?&lt;/b&gt;&lt;br /&gt; &lt;br /&gt;&lt;h1&gt;
Microsoft.POXUtils
&lt;/h1&gt; &lt;br /&gt;&lt;h2&gt;
Microsoft.POXUtils.Client
&lt;/h2&gt; &lt;br /&gt;Provides methods for posting and retreving XML Serializable objects, streams and XML Documents to a POX Service.&lt;br /&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt;&lt;span class="codeInline"&gt;public void Post&amp;lt;T&amp;gt;(T objectToPost)&lt;/span&gt; - Serializes objectToPost and then posts the stream to a POX service.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;public void PostDocument(XmlDocument document)&lt;/span&gt; - Posts the contents of an document to a POX service.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;public void PostStream(stream documentStream)&lt;/span&gt; - Posts a stream to a POX service.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;public T GetResponse&amp;lt;T&amp;gt;()&lt;/span&gt; - Retrieves the result stream from a POX service an deserializes to an instance of type T.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;public XmlDocument GetResponseDocument()&lt;/span&gt; - Retrives the result stream from a POX service returns an XmlDocument loaded with that stream.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;public MemoryStream GetResponseStream()&lt;/span&gt; - Retrieves the result stream from a POX service and loads it into a MemoryStream.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;public XmlWriterSettings WriterSettings&lt;/span&gt; - Allows ovewriting the settings for the internal XmlSerializer to use when posting an object or an XmlDocument.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;public XmlReaderSettings ReaderSettings&lt;/span&gt; - Allows overwriting the settings for the internal XmlSerializer to use when deserializing an object or retrieving an XmlDocument.&lt;/li&gt;
&lt;/ul&gt; &lt;br /&gt;&lt;h2&gt;
Microsoft.POXUtils.POXPage
&lt;/h2&gt; &lt;br /&gt;Provides an inherited System.Web.UI.Page class that exposes methods for handling a POX web request and response.&lt;br /&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt;&lt;span class="codeInline"&gt;public T GetRequest&amp;lt;T&amp;gt;()&lt;/span&gt; - Retrieves the request stream and deserializes to an instance of type T.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;public T GetRequestDocument()&lt;/span&gt; - Retrieves the request stream and returns an XmlDocument loaded with that stream.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;public void WriteResponse&amp;lt;T&amp;gt;(T objectToWrite)&lt;/span&gt; - Serializes objectToWrite and then posts the stream to the response.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;public void WriteResponseDocument(XmlDocument document)&lt;/span&gt; - Posts the contents of document to the response.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;public XmlWriterSettings WriterSettings&lt;/span&gt; - Allows ovewriting the settings for the internal XmlSerializer to use when posting an object or an XmlDocument to the response.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;public XmlReaderSettings ReaderSettings&lt;/span&gt; - Allows overwriting the settings for the internal XmlSerializer to use when deserializing an object or retrieving an XmlDocument from the request.&lt;/li&gt;
&lt;/ul&gt; &lt;br /&gt;&lt;h2&gt;
Microsoft.POXUtils.Common
&lt;/h2&gt; &lt;br /&gt;Handles low-level streaming, serialization and deserialization for Client and POXPage.&lt;br /&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt;&lt;span class="codeInline"&gt;internal static void WriteStream(Stream inputStream, Stream outputStream, int length)&lt;/span&gt; - Copies the contents of inputStream to outputStream.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;private static void WriteStream(Stream outputStream, byte[] streamBuffer,int length)&lt;/span&gt; - Copies the contents of streamBuffer to outputStream.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;internal static MemoryStream ReadStream(Stream inputStream, int length)&lt;/span&gt; - Reads the contents of inputStream and returns a new MemoryStream.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;internal static MemoryStream SerializeObject&amp;lt;T&amp;gt;(T objectToSerialize, XmlWriterSettings writerSettings)&lt;/span&gt; - Serializes objectToSerialize to a MemoryStream using the provided settings.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;internal static T DeserializeObject&amp;lt;T&amp;gt;(Stream inputStream, XmlReaderSettings readerSettings)&lt;/span&gt; - Deserializes inputStream to an instance of type T using the provided settings.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;internal static XmlDocument GetDocumentFromStream(Stream stream, XmlReaderSettings readerSettings)&lt;/span&gt; - Loads the contents of stream into an XmlDocument using the provided settings.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;internal static MemoryStream GetStreamFromDocument(XmlDocument document, XmlWriterSettings writerSettings)&lt;/span&gt; - Writes the contents of document to a stream using the provided settings.&lt;/li&gt;
&lt;/ul&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt;Releases&lt;/li&gt;
&lt;/ul&gt; &lt;br /&gt;.1 Alpha - &lt;a href="http://www.codeplex.com/POXNET/Release/ProjectReleases.aspx?ReleaseId=2183" class="externalLink"&gt;http://www.codeplex.com/POXNET/Release/ProjectReleases.aspx?ReleaseId=2183&lt;/a&gt;&lt;br /&gt; &lt;br /&gt; &lt;br /&gt;
&lt;/div&gt;</description><author>gblock</author><pubDate>Wed, 07 Mar 2007 19:49:45 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: Home 20070307074945P</guid></item><item><title>UPDATED WIKI: Home</title><link>http://www.codeplex.com/POXNET/Wiki/View.aspx?title=Home&amp;version=5</link><description>&lt;div class="wikidoc"&gt;
&lt;b&gt;Project Description&lt;/b&gt;&lt;br /&gt;POX.NET is a set of utility classes that assist in creating POX &amp;#40;Plain Old Xml&amp;#41; clients and servers in .NET 2.0. This libary leverages classes within .NET 2.0 and does not require any additional add-ons. With POX.NET you can create a POX client and server with a few lines of code.&amp;#13;&amp;#10;
&lt;br /&gt; &lt;br /&gt;For background of this project see the original blog post at &lt;a href="http://blogs.msdn.com/gblock/archive/2007/01/22/pox-xmlhttp-in-net-2-0.aspx" class="externalLink"&gt;http://blogs.msdn.com/gblock/archive/2007/01/22/pox-xmlhttp-in-net-2-0.aspx&lt;/a&gt;&lt;br /&gt; &lt;br /&gt;Sample POX Client / Service and test fixture are included in the source.&lt;br /&gt; &lt;br /&gt;&lt;b&gt;What's included in the package?&lt;/b&gt;&lt;br /&gt; &lt;br /&gt;&lt;h1&gt;
Microsoft.POXUtils
&lt;/h1&gt; &lt;br /&gt;&lt;h2&gt;
Microsoft.POXUtils.Client
&lt;/h2&gt; &lt;br /&gt;Provides methods for posting and retreving XML Serializable objects, streams and XML Documents to a POX Service.&lt;br /&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt;&lt;span class="codeInline"&gt;public void Post&amp;lt;T&amp;gt;(T objectToPost)&lt;/span&gt; - Serializes objectToPost and then posts the stream to a POX service.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;public void PostDocument(XmlDocument document)&lt;/span&gt; - Posts the contents of an document to a POX service.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;public void PostStream(stream documentStream)&lt;/span&gt; - Posts a stream to a POX service.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;public T GetResponse&amp;lt;T&amp;gt;()&lt;/span&gt; - Retrieves the result stream from a POX service an deserializes to an instance of type T.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;public XmlDocument GetResponseDocument()&lt;/span&gt; - Retrives the result stream from a POX service returns an XmlDocument loaded with that stream.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;public MemoryStream GetResponseStream()&lt;/span&gt; - Retrieves the result stream from a POX service and loads it into a MemoryStream.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;public XmlWriterSettings WriterSettings&lt;/span&gt; - Allows ovewriting the settings for the internal XmlSerializer to use when posting an object or an XmlDocument.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;public XmlReaderSettings ReaderSettings&lt;/span&gt; - Allows overwriting the settings for the internal XmlSerializer to use when deserializing an object or retrieving an XmlDocument.&lt;/li&gt;
&lt;/ul&gt; &lt;br /&gt;&lt;h2&gt;
Microsoft.POXUtils.POXPage
&lt;/h2&gt; &lt;br /&gt;Provides an inherited System.Web.UI.Page class that exposes methods for handling a POX web request and response.&lt;br /&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt;&lt;span class="codeInline"&gt;public T GetRequest&amp;lt;T&amp;gt;()&lt;/span&gt; - Retrieves the request stream and deserializes to an instance of type T.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;public T GetRequestDocument()&lt;/span&gt; - Retrieves the request stream and returns an XmlDocument loaded with that stream.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;public void WriteResponse&amp;lt;T&amp;gt;(T objectToWrite)&lt;/span&gt; - Serializes objectToWrite and then posts the stream to the response.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;public void WriteResponseDocument(XmlDocument document)&lt;/span&gt; - Posts the contents of document to the response.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;public XmlWriterSettings WriterSettings&lt;/span&gt; - Allows ovewriting the settings for the internal XmlSerializer to use when posting an object or an XmlDocument to the response.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;public XmlReaderSettings ReaderSettings&lt;/span&gt; - Allows overwriting the settings for the internal XmlSerializer to use when deserializing an object or retrieving an XmlDocument from the request.&lt;/li&gt;
&lt;/ul&gt; &lt;br /&gt;&lt;h2&gt;
Microsoft.POXUtils.Common
&lt;/h2&gt; &lt;br /&gt;Handles low-level streaming, serialization and deserialization for Client and POXPage.&lt;br /&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt;&lt;span class="codeInline"&gt;internal static void WriteStream(Stream inputStream, Stream outputStream, int length)&lt;/span&gt; - Copies the contents of inputStream to outputStream.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;private static void WriteStream(Stream outputStream, byte[] streamBuffer,int length)&lt;/span&gt; - Copies the contents of streamBuffer to outputStream.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;internal static MemoryStream ReadStream(Stream inputStream, int length)&lt;/span&gt; - Reads the contents of inputStream and returns a new MemoryStream.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;internal static MemoryStream SerializeObject&amp;lt;T&amp;gt;(T objectToSerialize, XmlWriterSettings writerSettings)&lt;/span&gt; - Serializes objectToSerialize to a MemoryStream using the provided settings.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;internal static T DeserializeObject&amp;lt;T&amp;gt;(Stream inputStream, XmlReaderSettings readerSettings)&lt;/span&gt; - Deserializes inputStream to an instance of type T using the provided settings.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;internal static XmlDocument GetDocumentFromStream(Stream stream, XmlReaderSettings readerSettings)&lt;/span&gt; - Loads the contents of stream into an XmlDocument using the provided settings.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;internal static MemoryStream GetStreamFromDocument(XmlDocument document, XmlWriterSettings writerSettings)&lt;/span&gt; - Writes the contents of document to a stream using the provided settings.&lt;/li&gt;
&lt;/ul&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt;Releases&lt;/li&gt;
&lt;/ul&gt; &lt;br /&gt;.1 Alpha - &lt;a href="http://www.codeplex.com/POXNET/Release/ProjectReleases.aspx?ReleaseId=2183" class="externalLink"&gt;http://www.codeplex.com/POXNET/Release/ProjectReleases.aspx?ReleaseId=2183&lt;/a&gt;&lt;br /&gt; &lt;br /&gt; &lt;br /&gt;
&lt;/div&gt;</description><author>gblock</author><pubDate>Wed, 07 Mar 2007 19:28:27 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: Home 20070307072827P</guid></item><item><title>UPDATED WIKI: Home</title><link>http://www.codeplex.com/POXNET/Wiki/View.aspx?title=Home&amp;version=4</link><description>&lt;div class="wikidoc"&gt;
&lt;b&gt;Project Description&lt;/b&gt;&lt;br /&gt;POX.NET is a set of utility classes that assist in creating POX &amp;#40;Plain Old Xml&amp;#41; clients and servers in .NET 2.0. This libary leverages classes within .NET 2.0 and does not require any additional add-ons. With POX.NET you can create a POX client and server with a few lines of code.&amp;#13;&amp;#10;
&lt;br /&gt; &lt;br /&gt;For background of this project see the original blog post at &lt;a href="http://blogs.msdn.com/gblock/archive/2007/01/22/pox-xmlhttp-in-net-2-0.aspx" class="externalLink"&gt;http://blogs.msdn.com/gblock/archive/2007/01/22/pox-xmlhttp-in-net-2-0.aspx&lt;/a&gt;&lt;br /&gt; &lt;br /&gt;&lt;b&gt;What's included in the package?&lt;/b&gt;&lt;br /&gt; &lt;br /&gt;&lt;h1&gt;
Microsoft.POXUtils
&lt;/h1&gt; &lt;br /&gt;&lt;h2&gt;
Microsoft.POXUtils.Client
&lt;/h2&gt; &lt;br /&gt;Provides methods for posting and retreving XML Serializable objects, streams and XML Documents to a POX Service.&lt;br /&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt;&lt;span class="codeInline"&gt;public void Post&amp;lt;T&amp;gt;(T objectToPost)&lt;/span&gt; - Serializes objectToPost and then posts the stream to a POX service.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;public void PostDocument(XmlDocument document)&lt;/span&gt; - Posts the contents of an document to a POX service.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;public void PostStream(stream documentStream)&lt;/span&gt; - Posts a stream to a POX service.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;public T GetResponse&amp;lt;T&amp;gt;()&lt;/span&gt; - Retrieves the result stream from a POX service an deserializes to an instance of type T.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;public XmlDocument GetResponseDocument()&lt;/span&gt; - Retrives the result stream from a POX service returns an XmlDocument loaded with that stream.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;public MemoryStream GetResponseStream()&lt;/span&gt; - Retrieves the result stream from a POX service and loads it into a MemoryStream.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;public XmlWriterSettings WriterSettings&lt;/span&gt; - Allows ovewriting the settings for the internal XmlSerializer to use when posting an object or an XmlDocument.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;public XmlReaderSettings ReaderSettings&lt;/span&gt; - Allows overwriting the settings for the internal XmlSerializer to use when deserializing an object or retrieving an XmlDocument.&lt;/li&gt;
&lt;/ul&gt; &lt;br /&gt;&lt;h2&gt;
Microsoft.POXUtils.POXPage
&lt;/h2&gt; &lt;br /&gt;Provides an inherited System.Web.UI.Page class that exposes methods for handling a POX web request and response.&lt;br /&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt;&lt;span class="codeInline"&gt;public T GetRequest&amp;lt;T&amp;gt;()&lt;/span&gt; - Retrieves the request stream and deserializes to an instance of type T.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;public T GetRequestDocument()&lt;/span&gt; - Retrieves the request stream and returns an XmlDocument loaded with that stream.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;public void WriteResponse&amp;lt;T&amp;gt;(T objectToWrite)&lt;/span&gt; - Serializes objectToWrite and then posts the stream to the response.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;public void WriteResponseDocument(XmlDocument document)&lt;/span&gt; - Posts the contents of document to the response.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;public XmlWriterSettings WriterSettings&lt;/span&gt; - Allows ovewriting the settings for the internal XmlSerializer to use when posting an object or an XmlDocument to the response.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;public XmlReaderSettings ReaderSettings&lt;/span&gt; - Allows overwriting the settings for the internal XmlSerializer to use when deserializing an object or retrieving an XmlDocument from the request.&lt;/li&gt;
&lt;/ul&gt; &lt;br /&gt;&lt;h2&gt;
Microsoft.POXUtils.Common
&lt;/h2&gt; &lt;br /&gt;Handles low-level streaming, serialization and deserialization for Client and POXPage.&lt;br /&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt;&lt;span class="codeInline"&gt;internal static void WriteStream(Stream inputStream, Stream outputStream, int length)&lt;/span&gt; - Copies the contents of inputStream to outputStream.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;private static void WriteStream(Stream outputStream, byte[] streamBuffer,int length)&lt;/span&gt; - Copies the contents of streamBuffer to outputStream.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;internal static MemoryStream ReadStream(Stream inputStream, int length)&lt;/span&gt; - Reads the contents of inputStream and returns a new MemoryStream.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;internal static MemoryStream SerializeObject&amp;lt;T&amp;gt;(T objectToSerialize, XmlWriterSettings writerSettings)&lt;/span&gt; - Serializes objectToSerialize to a MemoryStream using the provided settings.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;internal static T DeserializeObject&amp;lt;T&amp;gt;(Stream inputStream, XmlReaderSettings readerSettings)&lt;/span&gt; - Deserializes inputStream to an instance of type T using the provided settings.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;internal static XmlDocument GetDocumentFromStream(Stream stream, XmlReaderSettings readerSettings)&lt;/span&gt; - Loads the contents of stream into an XmlDocument using the provided settings.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;internal static MemoryStream GetStreamFromDocument(XmlDocument document, XmlWriterSettings writerSettings)&lt;/span&gt; - Writes the contents of document to a stream using the provided settings.&lt;/li&gt;
&lt;/ul&gt; &lt;br /&gt;Releases&lt;br /&gt; &lt;br /&gt;.1 Alpha - &lt;a href="http://www.codeplex.com/POXNET/Release/ProjectReleases.aspx?ReleaseId=2183" class="externalLink"&gt;http://www.codeplex.com/POXNET/Release/ProjectReleases.aspx?ReleaseId=2183&lt;/a&gt;&lt;br /&gt; &lt;br /&gt; &lt;br /&gt;
&lt;/div&gt;</description><author>gblock</author><pubDate>Wed, 07 Mar 2007 19:26:15 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: Home 20070307072615P</guid></item><item><title>UPDATED WIKI: Home</title><link>http://www.codeplex.com/POXNET/Wiki/View.aspx?title=Home&amp;version=3</link><description>&lt;div class="wikidoc"&gt;
&lt;b&gt;Project Description&lt;/b&gt;&lt;br /&gt;POX.NET is a set of utility classes that assist in creating POX &amp;#40;Plain Old Xml&amp;#41; clients and servers in .NET 2.0. This libary leverages classes within .NET 2.0 and does not require any additional add-ons. With POX.NET you can create a POX client and server with a few lines of code.&amp;#13;&amp;#10;
&lt;br /&gt; &lt;br /&gt;For background of this project see the original blog post at &lt;a href="http://blogs.msdn.com/gblock/archive/2007/01/22/pox-xmlhttp-in-net-2-0.aspx" class="externalLink"&gt;http://blogs.msdn.com/gblock/archive/2007/01/22/pox-xmlhttp-in-net-2-0.aspx&lt;/a&gt;&lt;br /&gt; &lt;br /&gt;&lt;b&gt;What's included in the package?&lt;/b&gt;&lt;br /&gt; &lt;br /&gt;&lt;h1&gt;
Microsoft.POXUtils
&lt;/h1&gt; &lt;br /&gt;&lt;h2&gt;
Microsoft.POXUtils.Client
&lt;/h2&gt; &lt;br /&gt;Provides methods for posting and retreving XML Serializable objects, streams and XML Documents to a POX Service.&lt;br /&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt;&lt;span class="codeInline"&gt;public void Post&amp;lt;T&amp;gt;(T objectToPost)&lt;/span&gt; - Serializes objectToPost and then posts the stream to a POX service.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;public void PostDocument(XmlDocument document)&lt;/span&gt; - Posts the contents of an document to a POX service.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;public void PostStream(stream documentStream)&lt;/span&gt; - Posts a stream to a POX service.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;public T GetResponse&amp;lt;T&amp;gt;()&lt;/span&gt; - Retrieves the result stream from a POX service an deserializes to an instance of type T.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;public XmlDocument GetResponseDocument()&lt;/span&gt; - Retrives the result stream from a POX service returns an XmlDocument loaded with that stream.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;public MemoryStream GetResponseStream()&lt;/span&gt; - Retrieves the result stream from a POX service and loads it into a MemoryStream.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;public XmlWriterSettings WriterSettings&lt;/span&gt; - Allows ovewriting the settings for the internal XmlSerializer to use when posting an object or an XmlDocument.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;public XmlReaderSettings ReaderSettings&lt;/span&gt; - Allows overwriting the settings for the internal XmlSerializer to use when deserializing an object or retrieving an XmlDocument.&lt;/li&gt;
&lt;/ul&gt; &lt;br /&gt;&lt;h2&gt;
Microsoft.POXUtils.POXPage
&lt;/h2&gt; &lt;br /&gt;Provides an inherited System.Web.UI.Page class that exposes methods for handling a POX web request and response.&lt;br /&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt;&lt;span class="codeInline"&gt;public T GetRequest&amp;lt;T&amp;gt;()&lt;/span&gt; - Retrieves the request stream and deserializes to an instance of type T.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;public T GetRequestDocument()&lt;/span&gt; - Retrieves the request stream and returns an XmlDocument loaded with that stream.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;public void WriteResponse&amp;lt;T&amp;gt;(T objectToWrite)&lt;/span&gt; - Serializes objectToWrite and then posts the stream to the response.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;public void WriteResponseDocument(XmlDocument document)&lt;/span&gt; - Posts the contents of document to the response.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;public XmlWriterSettings WriterSettings&lt;/span&gt; - Allows ovewriting the settings for the internal XmlSerializer to use when posting an object or an XmlDocument to the response.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;public XmlReaderSettings ReaderSettings&lt;/span&gt; - Allows overwriting the settings for the internal XmlSerializer to use when deserializing an object or retrieving an XmlDocument from the request.&lt;/li&gt;
&lt;/ul&gt; &lt;br /&gt;&lt;h2&gt;
Microsoft.POXUtils.Common
&lt;/h2&gt; &lt;br /&gt;Handles low-level streaming, serialization and deserialization for Client and POXPage.&lt;br /&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt;&lt;span class="codeInline"&gt;internal static void WriteStream(Stream inputStream, Stream outputStream, int length)&lt;/span&gt; - Copies the contents of inputStream to outputStream.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;private static void WriteStream(Stream outputStream, byte[] streamBuffer,int length)&lt;/span&gt; - Copies the contents of streamBuffer to outputStream.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;internal static MemoryStream ReadStream(Stream inputStream, int length)&lt;/span&gt; - Reads the contents of inputStream and returns a new MemoryStream.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;internal static MemoryStream SerializeObject&amp;lt;T&amp;gt;(T objectToSerialize, XmlWriterSettings writerSettings)&lt;/span&gt; - Serializes objectToSerialize to a MemoryStream using the provided settings.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;internal static T DeserializeObject&amp;lt;T&amp;gt;(Stream inputStream, XmlReaderSettings readerSettings)&lt;/span&gt; - Deserializes inputStream to an instance of type T using the provided settings.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;internal static XmlDocument GetDocumentFromStream(Stream stream, XmlReaderSettings readerSettings)&lt;/span&gt; - Loads the contents of stream into an XmlDocument using the provided settings.&lt;/li&gt;&lt;li&gt;&lt;span class="codeInline"&gt;internal static MemoryStream GetStreamFromDocument(XmlDocument document, XmlWriterSettings writerSettings)&lt;/span&gt; - Writes the contents of document to a stream using the provided settings.&lt;/li&gt;
&lt;/ul&gt; &lt;br /&gt; &lt;br /&gt; &lt;br /&gt;
&lt;/div&gt;</description><author>gblock</author><pubDate>Wed, 07 Mar 2007 19:24:18 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: Home 20070307072418P</guid></item><item><title>UPDATED WIKI: Home</title><link>http://www.codeplex.com/POXNET/Wiki/View.aspx?title=Home&amp;version=2</link><description>&lt;div class="wikidoc"&gt;
&lt;b&gt;Project Description&lt;/b&gt;&lt;br /&gt;POX.NET is a set of utility classes that assist in creating POX &amp;#40;Plain Old Xml&amp;#41; clients and servers in .NET 2.0. This libary leverages classes within .NET 2.0 and does not require any additional add-ons. With POX.NET you can create a POX client and server with a few lines of code.&amp;#13;&amp;#10;
&lt;br /&gt; &lt;br /&gt;&lt;b&gt;Background:&lt;/b&gt;&lt;br /&gt; &lt;br /&gt;Recently I was working on an internal project that required me to invoke a set of POX (Plain Old XML) services from a windows client application. For those that don’t know what POX is, it’s basically a web page that receives and returns XML content. How does this differ from an ASMX? Web services transfer SOAP messages, while POX services carry any kind of XML you can think of. SOAP uses well defined contracts for passing data back and forth. Also SOAP supports advanced protocols such as WS-*. POX services on the other hand are kind of the outlaws of the services world in that there are very few constraints imposed. That does not mean that constraints cannot be enforced, for example by creating an XSD, but it means that the message format itself is completely open. &lt;br /&gt; &lt;br /&gt;Here’s an example of a simple POX request message for illustrative purposes. &lt;br /&gt; &lt;br /&gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;utf-8&amp;quot; ?&amp;gt;&lt;br /&gt;&amp;lt;order orderNumber=&amp;quot;12345&amp;quot; account=&amp;quot;acme&amp;quot; accountNo=&amp;quot;999&amp;quot; &amp;gt;&lt;br /&gt;  &amp;lt;items&amp;gt;&lt;br /&gt;    &amp;lt;item productNumber=&amp;quot;12345678&amp;quot; qty=&amp;quot;5&amp;quot; price=&amp;quot;29.99&amp;quot;/&amp;gt;&lt;br /&gt;    &amp;lt;item productNumber=&amp;quot;87654321&amp;quot; qty=&amp;quot;10&amp;quot; price=&amp;quot;35.99&amp;quot;/&amp;gt;&lt;br /&gt;  &amp;lt;/items&amp;gt;&lt;br /&gt;&amp;lt;/order&amp;gt;&lt;br /&gt; &lt;br /&gt;The response from the POX service might look like this.&lt;br /&gt; &lt;br /&gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;utf-8&amp;quot; ?&amp;gt;&lt;br /&gt;&amp;lt;orderResponse orderNumber=&amp;quot;12345&amp;quot; account=&amp;quot;acme&amp;quot; accountNo=&amp;quot;999&amp;quot; &amp;gt;&lt;br /&gt;  &amp;lt;status&amp;gt;confirmed&amp;lt;/status&amp;gt;&lt;br /&gt;  &amp;lt;confirmationNo&amp;gt;1000&amp;lt;/confirmationNo&amp;gt;&lt;br /&gt;&amp;lt;/orderResponse&amp;gt;&lt;br /&gt; &lt;br /&gt;In the early days when XML first appeared on the scene, POX services were quite common. Often POX was (and is still used) for doing AJAX style application development. Additionally it is not uncommon for POX style services to be used on the corporate intranet (as in my example). Now for making POX calls Microsoft provides the XMLHTTP object along with the MSXML parser. The XMLHTTP object provides the ability to post an XML string off to a URL and to receive a response either synchronously or asynchronously.  As IE supports instantiating COM objects, this makes XMLHTTP the perfect answer for invoking POX from both windows and web clients.&lt;br /&gt; &lt;br /&gt;Now flash forward to .NET. So what kind of support do we have natively in .NET for doing POX? It turns out very little. Basically you can do it, but you have to manage the streams and the transport yourself. POX is supported in WCF, but my application was not using .NET 3.0 and I really wanted to find a way to support it in 2.0. Another option was to use XMLHTTP via interop, but that seemed less than optimal.&lt;br /&gt; &lt;br /&gt; &lt;br /&gt; &lt;br /&gt;
&lt;/div&gt;</description><author>gblock</author><pubDate>Wed, 07 Mar 2007 07:07:07 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: Home 20070307070707A</guid></item></channel></rss>