Rohr Heiko [
http://community.jboss.org/people/deberlin] replied to the discussion
"problem running jboss 4.0.2 compilent ws in jboss 5.0"
To view the discussion, visit:
http://community.jboss.org/message/540348#540348
--------------------------------------------------------------
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!!!
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/540348#540348]
Start a new discussion in JBoss Web Services at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]