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 / November 2005

Tip: Looking for answers? Try searching our database.

SoapDisplayExtension & webservices

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ron Prowse - 10 Nov 2005 13:46 GMT
Im studying for my 70-320 exam and i am working from Amit Kalani exam prep book but i can not get one of the examples to work.

When i add SoapDisplayExtension to the [WebMethod] like [WebMethod, SoapDisplayExtension] i get the follow error:-

An unhandled exception of type 'System.InvalidOperationException' occurred in system.web.services.dll

Additional information: Client found response content type of '', but expected 'text/xml'.

at this point:-

public Bug GetBug(int bugID) {
           object[] results = this.Invoke("GetBug", new object[] {
                       bugID});
           return ((Bug)(results[0]));
       }

I know that the webservice works because i can open it and test it in Internet Explorer, so now im stuck

Can anyone help
PLEASE

___
Newsgroups brought to you courtesy of www.dotnetjohn.com
Dick Wood - 22 Nov 2005 16:03 GMT
Ron,

I don't know if you found the answer to this, but I have chased this problem
for a couple of days. It turns out to be a security problem, the anonymous
internet user does not have write access to the folder specified in the
SoapDisplayExtension.

Hope this helps,
Dick Wood

> Im studying for my 70-320 exam and i am working from Amit Kalani exam prep
> book but i can not get one of the examples to work.
[quoted text clipped - 24 lines]
> ___
> Newsgroups brought to you courtesy of www.dotnetjohn.com 

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.