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