Hi,
Is this the error thrown by the client? Or by the server? This kind of
error can happen if you aren't careful to manage the copy/assignment of the
in-out streams in both directions in you Soap Extension
Hope this helps
Dan Rogers
Microsoft Corporation
--------------------
From:
co******@yahoo.com (cordata5)
Newsgroups: microsoft.public.dotnet.framework.webservices
Subject: The root element is missing and soapExtension
Date: 18 Nov 2004 12:12:48 -0800
Organization:
http://groups.google.com
Lines: 17
Message-ID: <b4**************************@posting.google.com >
NNTP-Posting-Host: 63.251.233.249
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1100808768 14447 127.0.0.1 (18 Nov 2004
20:12:48 GMT)
X-Complaints-To:
gr**********@google.com
NNTP-Posting-Date: Thu, 18 Nov 2004 20:12:48 +0000 (UTC)
Path:
cpmsftngxa10.phx.gbl!TK2MSFTFEED01.phx.gbl!TK2MSFT NGP08.phx.gbl!newsfeed00.s
ul.t-online.de!t-online.de!news.glorb.com!postnews.google.com!not-for-mail
Xref: cpmsftngxa10.phx.gbl
microsoft.public.dotnet.framework.webservices:7546
X-Tomcat-NG: microsoft.public.dotnet.framework.webservices
Hi I'm using the example posted on Ron Howard's site for encryting the
body of an xml file located at
http://www.gotdotnet.com/team/rhoward/
I'm running into trouble where i'm getting an error of this type:
System.Web.Services.Protocols.SoapException: Server was unable to
process request. ---> System.Xml.XmlException: The root element is
missing. at System.Xml.XmlTextReader.Read() at
System.Xml.XmlReader.MoveToContent() at
System.Web.Services.Protocols.SoapServerProtocolHe lper.GetHelper(SoapServerP
rotocol
protocol) at
System.Web.Services.Protocols.SoapServerProtocol.R eadParameters()
at System.Web.Services.Protocols.WebServiceHandler.In voke() at
System.Web.Services.Protocols.WebServiceHandler.Co reProcessRequest()
--- End of inner exception stack trace ---
Does anyone have experience doing encryption of xml file via use of
soapextensions? I'm using the code directly from this example and
it's not working.