Hello, the same problem occur still under jbossws-native-3.2.2.GA.zip and JBoss 5.1.0 GA.
The JBossWS documentation write:
With document style web services the payload of every message is defined by a complex
type in XML schema.
At the moment, it is not possible to deploy a JAX-RPC Service with the following wsdl configuration for the response message:
WSDL declaration:
...
<wsdl:message name="getIn">
<wsdl:part name="parameters" element="ret:REQUEST" />
</wsdl:message>
<wsdl:message name="getOut">
<wsdl:part name="result" element="ret:RESPONSE" />
</wsdl:message>
...
XSD declaration:
...
<xsd:element name="RESPONSE" type="ret:RESPONSE_TYPE"/>
<xsd:complexType name="RESPONSE_TYPE">
<xsd:sequence>
<xsd:element name="res_1" type="xsd:string"/>
<xsd:element name="res_2" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
...
The Exception:
java.lang.IllegalArgumentException: Could not determine variable name for element: result
org.jboss.ws.metadata.builder.jaxrpc.JAXRPCMetaDataBuilder.processOutputDocElement(JAXRPCMetaDataBuilder.java:805)
occur.
Any ideas?
Best redards!!!