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