did you update your web reference after changeing the webservice namespace?
Check the file reference.cs if the correct namespace is in there. If it's
not in there leave the file open in the editor and then refresh your web
reference. There seems to be a bug in VS.Net when updating a web reference,
but leaving the reference.cs file open in the editor will cause the editor
to reload the file.
"Vish Ramachandran" <vish r at a s u period ed u> schrieb im Newsbeitrag
news:29ECA9C7-72F3-4D87-B2C4-EACD0B115152microsoft.com...problem is that this works sometimes, and sometimes it does not work. I've> I am trying to run a web service project with multiple web services. The
worked on this problem for nearly 3 days now, and still no solution :( The
exception is:in system.web.services.dll>
> An unhandled exception of type 'System.InvalidOperationException' occurredexpected 'text/xml'.> Additional information: Client found response content type of '', butExplorer test page, it runs without any problem, but then if I run it from>
> When I try to run the web service from the project on the Internet
another application using a web reference, it does not work.web services exactly from the previous code, it worked initially, but then>
> I tried creating the project all over again by copying the code for the
after a few minutes it started giving the same error agin.giving the problem, so I commented the WebService attribute for all web>
> I suspected that it is the namespace of the services which is probably
service classes, and then tried. It worked! Just to make sure that this was
the problem, I reverted back, and it didnt work! Really satisfied that I
solved the problem, I commented back the attributes and tested it again. IT
DID NOT WORK!>
> Now I am totally stuck not knowing what to do. Can anyone please help me?
> Thanks a lot in advance