[Mono-bugs] [Bug 342073] WebServices default WebForm does not work

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Nov 16 07:11:52 EST 2007


https://bugzilla.novell.com/show_bug.cgi?id=342073#c4





--- Comment #4 from Frederic MEYER <f.meyer at tetco.fr>  2007-11-16 05:11:51 MST ---
Ok sorry for this. At first, in all my tests, there were failing. But doing
some more, I was able to narrow it down.

I took the attachement in 341456 and modified it.

TestMethod1 is working with WebService form page.
But TestMethod2 is not. It has an "out" parameter.
Error is:
The remote server returned an error: (500) Internal Server Error.
Method TestMethod2 not defined in service TestWebService

Code in attachement is :
namespace testcase
{
        public class TestWebService : System.Web.Services.WebService {
                [System.Web.Services.WebMethodAttribute(false)]
                public System.String TestMethod1() {
                        return "test1";
                }
                [System.Web.Services.WebMethodAttribute(false)]
                public System.String TestMethod2(out int myInt) {
                        myInt = 2;
                        return "test2";
                }
        }
}

All files in attachement.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list