You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Matti Bickel <mb...@demandware.com> on 2015/09/28 14:25:00 UTC

Generate service classes with underscore

Hi,


I've been given a WSDL file that contains the underscore "_" character in the <wsdl:service name> attribute.

When I generate a Java class out of this with WSDL2Java, I end up with a class name that has the underscore removed.


Turns out that PortTypeProcessor maps the service name to an interface name not respecting underscores (to be precise, I expected it to look for the "underscoreHandling" attribute as described by the JAXB spec).


Is this intended behavior?


Thanks for the clarification, Matti

This e-mail message and all attachments transmitted with it may contain privileged and/or confidential information intended solely for the use of the addressee(s). If the reader of this message is not the intended recipient, you are hereby notified that any reading, dissemination, distribution, copying, forwarding or other use of this message or its attachments is strictly prohibited. If you have received this message in error, please notify the sender immediately and delete this message, all attachments and all copies and backups thereof.