[prev in list] [next in list] [prev in thread] [next in thread]
List: jboss-user
Subject: Re: [jboss-user] [JBoss Web Services] - problem running jboss 4.0.2
From: Rohr Heiko <do-not-reply () jboss ! com>
Date: 2010-04-30 10:07:50
Message-ID: 1663610380.166021272622080990.JavaMail.jive () clearspace02 ! app ! mwc ! hst ! phx2 ! redhat ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
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&containerType=14&container=2044]
[Attachment #5 (text/html)]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; \
margin: 0; padding: 20px;">
<div>
<table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: \
1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; \
-webkit-border-radius: 6px;"> <tbody>
<tr>
<td>
<table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" \
style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: \
6px; -webkit-border-radius: 6px;"> <tbody>
<tr>
<td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px \
solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; \
-moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; \
-webkit-border-top-left-radius: 5px;">
<h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; \
margin: 0; display: block !important;">
<!-- To have a header image/logo replace the name below with your img tag \
-->
<!-- Email clients will render the images when the message is read so any \
image -->
<!-- must be made available on a public server, so that all recipients can \
load the image. -->
<a href="http://community.jboss.org/index.jspa" style="text-decoration: \
none; color: #E1E1E1">Community</a></h1> </td>
</tr>
<tr>
<td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; \
color:#333333; padding: 20px; -moz-border-radius-bottomleft: 4px; \
-moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; \
-webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: \
17px; font-weight: normal;"> problem running jboss 4.0.2 compilent ws in jboss 5.0
</h3>
<span style="margin-bottom: 10px;">
reply from <a href="http://community.jboss.org/people/deberlin">Rohr Heiko</a> in \
<i>JBoss Web Services</i> - <a \
href="http://community.jboss.org/message/540348#540348">View the full discussion</a> \
</span> <hr style="margin: 20px 0; border: none; background-color: #dadada; height: \
1px;">
<div class="jive-rendered-content"><p>Hello, the same problem occur still under \
jbossws-native-3.2.2.GA.zip and JBoss 5.1.0 GA.</p><p>The JBossWS documentation  \
write:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>With \
document style web services the payload of every message is defined by a \
complex<br/>type in XML schema.</p><p style="min-height: 8pt; height: 8pt; padding: \
0px;"> </p><p>At the moment, it is not possible to deploy a JAX-RPC Service with \
the following wsdl configuration for the response message:</p><p style="min-height: \
8pt; height: 8pt; padding: 0px;"> </p><p>WSDL declaration:</p><p><span \
style="font-size: 10pt;">...</span></p><p><span style="font-size: \
10pt;"><wsdl:message \
name="getIn"><br/>        <wsdl:part \
name="parameters" element="ret:REQUEST" /><br/>    \
</wsdl:message><br/>    <wsdl:message \
name="getOut"><br/>        <wsdl:part \
name="<strong style="color: #ff0000; ">result</strong>" element="ret:RESPONSE" \
/><br/>    </wsdl:message></span></p><p><span \
style="font-size: 10pt;">...</span></p><p style="min-height: 8pt; height: 8pt; \
padding: 0px;"> </p><p>XSD declaration:</p><p>...</p><p><span style="font-size: \
10pt;"><xsd:element name="RESPONSE" type="ret:RESPONSE_TYPE"/></span></p><p \
style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p><span \
style="font-size: 10pt;">    <xsd:complexType \
name="RESPONSE_TYPE"><br/>        \
<xsd:sequence><br/>            \
<xsd:element name="res_1" \
type="xsd:string"/><br/>            \
<xsd:element name="res_2" \
type="xsd:string"/><br/>        \
</xsd:sequence><br/>    \
</xsd:complexType></span></p><p>...</p><p style="min-height: 8pt; height: 8pt; \
padding: 0px;"> </p><p>The Exception:</p><p style="min-height: 8pt; height: 8pt; \
padding: 0px;"> </p><p>java.lang.IllegalArgumentException: Could not determine \
variable name for element: <strong style="color: #ff0000; \
">result</strong><br/>org.jboss.ws.metadata.builder.jaxrpc.JAXRPCMetaDataBuilder.processOutputDocElement(JAXRPCMetaDataBuilder.java:805)</p><p \
style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>occur.</p><p \
style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>Any ideas?</p><p \
style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>Best \
redards!!!</p></div>
<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
<p style="margin: 0;">Reply to this message by <a \
href="http://community.jboss.org/message/540348#540348">going to Community</a></p> \
<p style="margin: 0;">Start a new discussion in JBoss Web Services at <a \
href="http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2044">Community</a></p>
</div></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic