Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / December 2004

Tip: Looking for answers? Try searching our database.

The root element is missing and soapExtension

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
cordata5 - 18 Nov 2004 20:12 GMT
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.SoapServerProtocolHelper.GetHelper(SoapServerProtocol
protocol) at System.Web.Services.Protocols.SoapServerProtocol.ReadParameters()
at System.Web.Services.Protocols.WebServiceHandler.Invoke() at
System.Web.Services.Protocols.WebServiceHandler.CoreProcessRequest()
--- 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.
Dan Rogers - 03 Dec 2004 02:55 GMT
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: cordata5@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: <b4f86058.0411181212.559d079f@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: groups-abuse@google.com
NNTP-Posting-Date: Thu, 18 Nov 2004 20:12:48 +0000 (UTC)
Path:
cpmsftngxa10.phx.gbl!TK2MSFTFEED01.phx.gbl!TK2MSFTNGP08.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.SoapServerProtocolHelper.GetHelper(SoapServerP
rotocol
protocol) at
System.Web.Services.Protocols.SoapServerProtocol.ReadParameters()
at System.Web.Services.Protocols.WebServiceHandler.Invoke() at
System.Web.Services.Protocols.WebServiceHandler.CoreProcessRequest()
--- 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.

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.