<!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;">
    Desperate for some documentation...please?
</h3>
<span style="margin-bottom: 10px;">
    reply from <a href="http://community.jboss.org/people/kenbkop">Ken Kopelson</a> in <i>Beginner's Corner</i> - <a href="http://community.jboss.org/message/535675#535675">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><p><input id="gwProxy" type="hidden"/><input id="jsProxy" onclick="" type="hidden"/></p><div id="refHTML"> </div><p>Hi Peter,</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Well today I was able to make a very simple Web Service work, at least for a while, but then it broke again.&#160; Basically, what I am after is as follows, since I do not yet believe that I have seen what I am really looking for, partly because I didn't even know how to ask the question properly until just today after spending more time wrestling with this thing.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>What I really need is a comprehensive example of how to write a Web Service that accepts a SOAP message using Document/Literal, unwraps the XML payload and sends back a response.&#160; A discussion of the tradeoffs between using WRAPPED and BARE parameters would also be helpful.&#160; There are apparently several ways to pass the message to a service method, but to keep it portable I found a document that says it is recommended (I don't know by who) to use SOAPElement type, but then it says to use WSDL-to-Java method, which doesn't seem to work from Eclipse (top-down method), and it seems quite a bit messier from a code point of view, etc.&#160; The problem with all the tutorials and the books I've seen is that none of them provide a comprehensive reference of ALL possible configuration values, along with explanation of when a certain setting should be used.&#160; Apparently, you can send a SOAP message to the service as a Source, a String, or a SOAPElement, but the WSDL doesn't accept the SOAPElement type, and must have the type set to "anyType", but that gets converted to a Java "Object" type by the "consume.bat" utility and I don't know how to map the "anyType" to a SOAPElement type.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Perhaps I need a good book just on Web Services for JBoss.... is there such a thing?</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Every single tutorial I have seen so far seems either too simplistic or it leaves something out, whether it is a configuration setting, a configuration file, an Annotation, or something else, and these bits that get left out are not easily known since the documentation online is always out-of-date.&#160; Also, when a configuration setting is shown, it is often not documented as to why that setting is used, or the other alternatives are not documented so that an informed decision can be made.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Generally, this seems way too difficult for what it actually does.&#160; Maybe it's not dificult for someone who already knows by memory all the config options, and how to use them all, but since many people (including me) are not in that boat, I think things could be a lot easier if only there was update-to-date, comprehensive examples for ALL the various ways that JBoss can be used, especially the most common ways like Web Services.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>A comprehensive example of a full blown Web Service (all files needed) that accepts a SOAP Document from any kind of system, breaks it apart, does something with the data, and then constructs a return message, would be quite helpful.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Thank for very much for your help!</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/535675#535675">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in Beginner's Corner at <a href="http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075">Community</a></p>
</div></td>
                        </tr>
                    </tbody>
                </table>


                </td>
            </tr>
        </tbody>
    </table>

</div>

</body>
</html>