I teach an undergraduate course in Internet Application Development. I
chose XFire this year to teach J2EE web services. In the past, I've
taught web services with .NET, and one of the things .NET provides
that XFire doesn't is a nice auto-generated testing web interface.
This sort of functionality is particularly useful when you are
learning about web services and experimenting with simple methods that
don't take complex parameters. So, I modified XFire to add this
feature. I'll describe it briefly:

When you point your browser to the web service, currently XFire
displays a message "Invalid SOAP request." There is a TODO comment in
the source of XFireServletController that reads "generate service
description here". I merely added code to generate that service
description. Each generated method signature has a link that brings up
a testing form. The user enters values for the parameters, clicks
"Execute", and the web method is invoked and its output displayed.

I would be glad to contribute this code back to the community, if
there is any interest.

--
Stephen Schaub

---------------------------------------------------------------------
To unsubscribe from this list please visit:

   http://xircles.codehaus.org/manage_email

Reply via email to