[jboss-user] [JBoss Web Services] - problem running jboss 4.0.2 compilent ws in jboss 5.0

Rohr Heiko do-not-reply at jboss.com
Fri Apr 30 06:07:50 EDT 2010

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 name="getOut">
        <wsdl:part name="*result*" element="ret:RESPONSE" />

XSD declaration:
<xsd:element name="RESPONSE" type="ret:RESPONSE_TYPE"/>

    <xsd:complexType name="RESPONSE_TYPE">
            <xsd:element name="res_1" type="xsd:string"/>
            <xsd:element name="res_2" type="xsd:string"/>

The Exception:

java.lang.IllegalArgumentException: Could not determine variable name for element: *result*


Any ideas?

Best redards!!!


Reply to this message by going to Community

Start a new discussion in JBoss Web Services at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100430/15316bc4/attachment.html 

More information about the jboss-user mailing list