dev@jaxb.java.net

JAXB automatically modifies endpoint service method names

From: canger <liuxin_pb_at_hotmail.com>
Date: Tue, 23 Mar 2010 14:43:38 -0700 (PDT)

I have a method defined in an endpoint service class, say abc_de(). It
appears that way in the WSDL.

However, when I use wsimport, the generated java file has name AbcDe. Then
the client can not call abc_de() per WSDL.

I found you can customize the JAXB binding. I managed to use globalbinding
option to make

underscoreBinding = "asCharInWord"

but JAXB always capitalized the first letter. I don't understand why they do
this and I failed to find a way to switch off that.

Please help. I didn't many hours of Google search already.

I use glassfish v3 and the version of jaxws and jaxb is 2.2

Thanks.
-- 
View this message in context: http://old.nabble.com/JAXB-automatically-modifies-endpoint-service-method-names-tp28007550p28007550.html
Sent from the java.net - jaxb dev mailing list archive at Nabble.com.