What you want is a Do-Anything WS, so an “input” and an “output” parameter will work.
you basically can define your input and output separately, and modify it as you will.
But this will be, to certain extant, defeating the idea of web service, which ideally should let the client system clearly know what the services are, and what parameter should be passed on.
#soa#webMethods#API-Management