Hi,
I'm new to CXF, so forgive this newb question. For almost all simple
web services that I create using Java, such as those described here:
http://cwiki.apache.org/CXF20DOC/a-simple-jax-ws-service.html
I get parts or elements automatically named "return" in the resulting
auto-generated WSDL (see example below).
As you'll see below, the argument is given a nice name like "arg0",
but the return is called "return". Unfortunately, return is a
reserved keyword in many languages, so this forces many
WSDL2LanguageX converters to rename.
Can you change the default return name for elements/parts to
something like "return0" ? Right now, I can't use CXF web services
from salesforce.com without hacking all my WSDL files (or, when I
have access to source, adding an annotation).
LMK if I've got this wrong!
Thanks!
Jon
<xsd:complexType name="getInfo">
<xsd:sequence>
<xsd:element minOccurs="0" name="arg0" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="getInfoResponse" type="getInfoResponse"/>
<xsd:complexType name="getInfoResponse">
<xsd:sequence>
<xsd:element minOccurs="0" name="return" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>