<!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="https://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss 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;">
    Re: How does WSDL get generated when publishign a Java based WS?
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="https://community.jboss.org/people/vatsanm">Vatsan Madabushi</a> in <i>JBoss Web Services</i> - <a href="https://community.jboss.org/message/723603#723603">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><p>I have a WS that was created under JB4.2.2 that is running as expcted.&#160; Below is the error that I get when publishing the same exact code base under JB-7.1.0.&#160; The WS is created as a SOAP document style. The Web method tahes classes (JAXB generated from xsd).&#160; If I query for teh wsdl 9lik e- <a class="jive-link-external-small" href="http://localhost//myservice/ias?wsdl">http://localhost//myservice/ias?wsdl</a> ) I get the WSDl generated by JB (or JAX-WS) and as an example, calculateTaxType is used prior to its declraration in teh WSDL type.&#160; I think thats the cause of the issue below of not finding tags.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span>14:42:58,757 SEVERE [org.apache.cxf.service.factory.ReflectionServiceFactoryBean] (MSC service thread 1-2) Schema element {</span><a class="jive-link-external-small" href="http://oas.ws.etm.vzw.com/" target="_blank">http://oas.ws.etm.vzw.com/</a><span>}calculateTax references undefined type calculateTaxType for service {</span><a class="jive-link-external-small" href="http://oas.ws.etm.vzw.com/" target="_blank">http://oas.ws.etm.vzw.com/</a><span>}OasServiceService.</span><br/><span>14:42:58,760 SEVERE [org.apache.cxf.service.factory.ReflectionServiceFactoryBean] (MSC service thread 1-2) Schema element {</span><a class="jive-link-external-small" href="http://oas.ws.etm.vzw.com/" target="_blank">http://oas.ws.etm.vzw.com/</a><span>}changeCostCenterIndicator references undefined type eCareChangeCostCenterIndicatorType for service {</span><a class="jive-link-external-small" href="http://oas.ws.etm.vzw.com/" target="_blank">http://oas.ws.etm.vzw.com/</a><span>}OasServiceService.</span><br/><span>14:42:58,763 SEVERE [org.apache.cxf.service.factory.ReflectionServiceFactoryBean] (MSC service thread 1-2) Schema element {</span><a class="jive-link-external-small" href="http://oas.ws.etm.vzw.com/" target="_blank">http://oas.ws.etm.vzw.com/</a><span>}restoreSubscriber references undefined type eCareRestoreType for service {</span><a class="jive-link-external-small" href="http://oas.ws.etm.vzw.com/" target="_blank">http://oas.ws.etm.vzw.com/</a><span>}OasServiceService.</span><br/><span>14:42:58,765 SEVERE [org.apache.cxf.service.factory.ReflectionServiceFactoryBean] (MSC service thread 1-2) Schema element {</span><a class="jive-link-external-small" href="http://oas.ws.etm.vzw.com/" target="_blank">http://oas.ws.etm.vzw.com/</a><span>}suspendSubscriber references undefined type eCareSuspendType for service {</span><a class="jive-link-external-small" href="http://oas.ws.etm.vzw.com/" target="_blank">http://oas.ws.etm.vzw.com/</a><span>}OasServiceService.</span><br/><span>14:42:58,767 SEVERE [org.apache.cxf.service.factory.ReflectionServiceFactoryBean] (MSC service thread 1-2) Schema element {</span><a class="jive-link-external-small" href="http://oas.ws.etm.vzw.com/" target="_blank">http://oas.ws.etm.vzw.com/</a><span>}retailAddSubscriber references undefined type retailAddSubscriberType for service {</span><a class="jive-link-external-small" href="http://oas.ws.etm.vzw.com/" target="_blank">http://oas.ws.etm.vzw.com/</a><span>}OasServiceService.</span><br/><span>14:42:58,769 SEVERE [org.apache.cxf.service.factory.ReflectionServiceFactoryBean] (MSC service thread 1-2) Schema element {</span><a class="jive-link-external-small" href="http://oas.ws.etm.vzw.com/" target="_blank">http://oas.ws.etm.vzw.com/</a><span>}occReasonCodeListInquiryResponse references undefined type OCCReasonCodeListInquiryResponseType for service {</span><a class="jive-link-external-small" href="http://oas.ws.etm.vzw.com/" target="_blank">http://oas.ws.etm.vzw.com/</a><span>}OasServiceService.</span><br/><span>14:42:58,781 SEVERE [org.apache.cxf.service.factory.ReflectionServiceFactoryBean] (MSC service thread 1-2) Schema element {</span><a class="jive-link-external-small" href="http://oas.ws.etm.vzw.com/" target="_blank">http://oas.ws.etm.vzw.com/</a><span>}changeBillingAddress references undefined type eCareChangeBillingAddressType for service {</span><a class="jive-link-external-small" href="http://oas.ws.etm.vzw.com/" target="_blank">http://oas.ws.etm.vzw.com/</a><span>}OasServiceService.</span><br/><span>14:42:58,783 SEVERE [org.apache.cxf.service.factory.ReflectionServiceFactoryBean] (MSC service thread 1-2) Schema element {</span><a class="jive-link-external-small" href="http://oas.ws.etm.vzw.com/" target="_blank">http://oas.ws.etm.vzw.com/</a><span>}batchOrder references undefined type batchOrderType for service {</span><a class="jive-link-external-small" href="http://oas.ws.etm.vzw.com/" target="_blank">http://oas.ws.etm.vzw.com/</a><span>}OasServiceService.</span><br/><span>14:42:58,785 SEVERE [org.apache.cxf.service.factory.ReflectionServiceFactoryBean] (MSC service thread 1-2) Schema element {</span><a class="jive-link-external-small" href="http://oas.ws.etm.vzw.com/" target="_blank">http://oas.ws.etm.vzw.com/</a><span>}executePendingUpgradeResponse references undefined type POSPendingOrderResponseType for service {</span><a class="jive-link-external-small" href="http://oas.ws.etm.vzw.com/" target="_blank">http://oas.ws.etm.vzw.com/</a><span>}OasServiceService.</span><br/><span>14:42:58,788 SEVERE [org.apache.cxf.service.factory.ReflectionServiceFactoryBean] (MSC service thread 1-2) Schema element {</span><a class="jive-link-external-small" href="http://oas.ws.etm.vzw.com/" target="_blank">http://oas.ws.etm.vzw.com/</a><span>}changeEsn references undefined type eCareChangeESNType for service {</span><a class="jive-link-external-small" href="http://oas.ws.etm.vzw.com/" target="_blank">http://oas.ws.etm.vzw.com/</a><span>}OasServiceService.</span><br/><span>14:42:58,789 SEVERE [org.apache.cxf.service.factory.ReflectionServiceFactoryBean] (MSC service thread 1-2) Schema element {</span><a class="jive-link-external-small" href="http://oas.ws.etm.vzw.com/" target="_blank">http://oas.ws.etm.vzw.com/</a><span>}changeVoicemailPassword references undefined type eCareVoicemailPasswordChangeType for service {</span><a class="jive-link-external-small" href="http://oas.ws.etm.vzw.com/" target="_blank">http://oas.ws.etm.vzw.com/</a><span>}OasServiceService.</span><br/><span>14:42:58,803 SEVERE [org.apache.cxf.service.factory.ReflectionServiceFactoryBean] (MSC service thread 1-2) Schema element {</span><a class="jive-link-external-small" href="http://oas.ws.etm.vzw.com/" target="_blank">http://oas.ws.etm.vzw.com/</a><span>}updateSubscriber references undefined type eCareUpdateSubscriberType for service {</span><a class="jive-link-external-small" href="http://oas.ws.etm.vzw.com/" target="_blank">http://oas.ws.etm.vzw.com/</a><span>}OasServiceService.</span><br/><span>14:42:58,805 SEVERE [org.apache.cxf.service.factory.ReflectionServiceFactoryBean] (MSC service thread 1-2) Schema element {</span><a class="jive-link-external-small" href="http://oas.ws.etm.vzw.com/" target="_blank">http://oas.ws.etm.vzw.com/</a><span>}validateAddress references undefined type addressValidationType for service {</span><a class="jive-link-external-small" href="http://oas.ws.etm.vzw.com/" target="_blank">http://oas.ws.etm.vzw.com/</a><span>}OasServiceService.</span><br/><span>14:42:58,807 SEVERE [org.apache.cxf.service.factory.ReflectionServiceFactoryBean] (MSC service thread 1-2) Schema element {</span><a class="jive-link-external-small" href="http://oas.ws.etm.vzw.com/" target="_blank">http://oas.ws.etm.vzw.com/</a><span>}changeCostCenter references undefined type eCareChangeCostCenterType for service {</span><a class="jive-link-external-small" href="http://oas.ws.etm.vzw.com/" target="_blank">http://oas.ws.etm.vzw.com/</a><span>}OasServiceService.</span><br/><span>14:42:58,809 SEVERE [org.apache.cxf.service.factory.ReflectionServiceFactoryBean] (MSC service thread 1-2) Schema element {</span><a class="jive-link-external-small" href="http://oas.ws.etm.vzw.com/" target="_blank">http://oas.ws.etm.vzw.com/</a><span>}executeNewEsnChangeResponse references undefined type POSPendingOrderResponseType for service {</span><a class="jive-link-external-small" href="http://oas.ws.etm.vzw.com/" target="_blank">http://oas.ws.etm.vzw.com/</a><span>}OasServiceService.</span><br/><span>14:42:58,812 SEVERE [org.apache.cxf.service.factory.ReflectionServiceFactoryBean] (MSC service thread 1-2) Schema element {</span><a class="jive-link-external-small" href="http://oas.ws.etm.vzw.com/" target="_blank">http://oas.ws.etm.vzw.com/</a><span>}occPhoneProductListInquiryResponse references undefined type OCCPhoneProductListInquiryResponseType for service {</span><a class="jive-link-external-small" href="http://oas.ws.etm.vzw.com/" target="_blank">http://oas.ws.etm.vzw.com/</a><span>}OasServiceService.</span><br/><span>14:42:58,814 SEVERE [org.apache.cxf.service.factory.ReflectionServiceFactoryBean] (MSC service thread 1-2) Schema element {</span><a class="jive-link-external-small" href="http://oas.ws.etm.vzw.com/" target="_blank">http://oas.ws.etm.vzw.com/</a><span>}changeNumber references undefined type eCareChangeNumberType for service {</span><a class="jive-link-external-small" href="http://oas.ws.etm.vzw.com/" target="_blank">http://oas.ws.etm.vzw.com/</a><span>}OasServiceService.</span><br/><span>14:42:58,816 SEVERE [org.apache.cxf.service.factory.ReflectionServiceFactoryBean] (MSC service thread 1-2) Schema element {</span><a class="jive-link-external-small" href="http://oas.ws.etm.vzw.com/" target="_blank">http://oas.ws.etm.vzw.com/</a><span>}retailServiceOnly references undefined type retailServiceOnlyType for service {</span><a class="jive-link-external-small" href="http://oas.ws.etm.vzw.com/" target="_blank">http://oas.ws.etm.vzw.com/</a><span>}OasServiceService.</span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><div class="mcePaste" id="_mcePaste" style="position: absolute; top: 0px; left: 0px;"></div></div>

<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
    <p style="margin: 0;">Reply to this message by <a href="https://community.jboss.org/message/723603#723603">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in JBoss Web Services at <a href="https://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>