Some facts:

1. I am using axis2 - version 1.1.
2. I am using Java code-first approach (not WSDL first approach)
3. I am having the WSDL get generated automatically as
http://something.com/serviceuri?wsdl

I notice that the names of the arguments for each argument is randomly set
to param0, param1, etc. Is there an an easy way to override these in the
services.xml file as a configuration option within the <operation> node. I
also notice that the return value is being named 'return' by default. I have
a need to rename this as well.

Now, I do know that contract-first WSDL is being recommended by many to
avoid interop issues with respect to data binding, but since the generated
WSDL binding is (in most cases, at least) sufficient for my purposes, I am
looking for a simple solution to override the generated names for the
operation arguments and the return value.

Thanks,
Ron

Reply via email to