Hi,
This webservice expects this xml file:
request.FeedContent = File.Open("test.xml", FileMode.Open, FileAccess.Read);
I already have the file in a stream, but this statement hangs:
stream.Position = 0;
request.FeedContent = stream;
the stream is a standard .net MemoryStream
what operation do I do on the stream to make it the same as File.Open?
Thanks!!
check this out (api definition):
/// <summary>
/// Gets and sets the FeedContent property.
/// </summary>
//[XmlElementAttribute(ElementName = "FeedContent")]
public Stream FeedContent
{
get { return this.feedContentField ; }
set { this.feedContentField= value; }
}