Hi David!

On 9/27/2010 10:13 PM, David Rees wrote:
> After upgrading from axis2 1.4.1 to 1.5.2, I have noticed that the
> generated function naming has slightly changed.

Yup - 1.4.1 was doing it wrong and we fixed the default.  However we have a
backwards-compatible option to still generate the old way, see below.

> Instead of keeping the wsdl's original operation name, the first
> character is lower cased (perhaps for Java naming conventions?

That's exactly right.  The JAXB/JAX-WS standard conventions are to lowercase
the first letter.

> Needless to say it would be nice to not have to go and change all our
> code that interfaces with web services.  I don't seem to see an option
> to control this change in behavior.
> 
> Any suggestions?
> 
> I run the wsdl2java script with these options:
> 
> -uri <uri> -p <packagename> -d adb -s -u -or

Add the "-uon" ("use operation name") option, and you should see the old
behavior.  Let us know if you have any problems.

Thanks,
--Glen

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to