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.publi c.dotnet.framew ork.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**********@go ogle.com
NNTP-Posting-Date: Thu, 18 Nov 2004 20:12:48 +0000 (UTC)
Path:
cpmsftngxa10.ph x.gbl!TK2MSFTFE ED01.phx.gbl!TK 2MSFTNGP08.phx. gbl!newsfeed00. s
ul.t-online.de!t-online.de!news. glorb.com!postn ews.google.com! not-for-mail
Xref: cpmsftngxa10.ph x.gbl
microsoft.publi c.dotnet.framew ork.webservices :7546
X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.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.Serv ices.Protocols. SoapException: Server was unable to
process request. ---> System.Xml.XmlE xception: The root element is
missing. at System.Xml.XmlT extReader.Read( ) at
System.Xml.XmlR eader.MoveToCon tent() at
System.Web.Serv ices.Protocols. SoapServerProto colHelper.GetHe lper(SoapServer P
rotocol
protocol) at
System.Web.Serv ices.Protocols. SoapServerProto col.ReadParamet ers()
at System.Web.Serv ices.Protocols. WebServiceHandl er.Invoke() at
System.Web.Serv ices.Protocols. WebServiceHandl er.CoreProcessR equest()
--- 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.