Wednesday, 18 February 2009

Mono Web Service Test Forms Broken

In case it saves anyone else some time and effort, the auto-generated Mono web service test forms don't work with methods that contain an 'out' parameter. You get the following error back:

500 - Internal Server Error
Method MyMethod not defined in service MyService

The problem is with the test form, not the web service.

3 comments:

Chris Morgan said...

https://bugzilla.novell.com/show_bug.cgi?id=342073&GoAheadAndLogIn=1 refers to the same issue. I'm seeing this in mono 2.0.1 and 2.2, not sure if it has been fixed in svn yet.

What mono version are you using?

Dargs said...

We were using Version 2.2 as well. It's not a big problem, but quite frustrating when it makes you think your web service is broken! :-)

Unknown said...

After upgrading to the latest DefaultWsdlHelpGenerator.aspx from CVS, I now get a lovely "The test form is not available for this operation because it has parameters with a complex structure." message when I try to view the test form.

So it no longer gives an incorrect error message, but it still doesn't work. GG Mono team.