Consume 2.0 webservice with VS2003 - 06-23-2006 , 05:11 AM
I'm running a ASP.NET 2.0 webservice and when I consume it with an ASP.NET
2.0 webapp everything works fine.
When I try to access it with an ASP.NET 1.1 webapp I get the folowing error:
The XML element named '' from namespace 'http://mynamespace.goes.here/' is
already present in the current scope. Use XML attributes to specify another
XML name or namespace for the element.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.
Exception Details: System.InvalidOperationException: The XML element named
'' from namespace 'http://mynamespace.goes.here/' is already present in the
current scope. Use XML attributes to specify another XML name or namespace
for the element.
This error does not occur when I access the ASP.NET 2.0 webservice running
on the test-server so it seems like it's a configuration-difference on the
Anyone got a clue?
Re: Consume 2.0 webservice with VS2003 - 06-25-2006 , 09:30 PM
Are you using WSE by any chance?
Can you put up the WSDL at some convenient location (public URL) for us to
Gaurav Vaish | http://www.mastergaurav.org
http://www.edujini.in | http://webservices.edujini.in
"Roel" <no_spam_please> wrote
Re: Consume 2.0 webservice with VS2003 - 07-05-2006 , 11:05 AM
Have you solved this? I have the same problem and I can't figure it
Re: Consume 2.0 webservice with VS2003 - 07-06-2006 , 02:35 AM
The problem was the DataTable which was returned by the webservice. When I
altered this to a DataSet object, it works in VS2003 and VS2005.
<namewitheldbyrequest (AT) gmail (DOT) com> wrote
|Thread Tools||Search this Thread|