added some javadocs and example usage of webmethods input