Following are 2 components , I am putting in servicemix.xml, I can see the
WSDL by using JMX Console, but how I can publish the WSDL by using http ?

<!-- exposing POJO class as JSR181 component -->

       <sm:activationSpec>
       <sm:component>
         <jsr181:component>
           <jsr181:endpoints>
             <jsr181:endpoint
pojoClass="com.rhg.infrastructure.webservices.MessagingService" 
                annotations="none" service="my:MessageSender"
endpoint="MessageService"/>
           </jsr181:endpoints>
         </jsr181:component>
       </sm:component>
       </sm:activationSpec>

      <!-- creating endpoint/WSDL for above mentioned JSR181 component -->

       <sm:activationSpec>
       <sm:component>
        <http:component>
        <http:endpoints>
            <http:endpoint service="my:MessageSender"
                                         endpoint="MessageService"
                       role="consumer" 
                     defaultOperation="sendErrorMessage"
                       locationURI="http://dev1-ag:8194/errorLoggingService/";
                       defaultMep="http://www.w3.org/2004/08/wsdl/in-out"; 
                 soap="true" />
         </http:endpoints>
         </http:component>
         
        </sm:component>
       </sm:activationSpec> 

--
View this message in context: 
http://www.nabble.com/WSDL+on+http-t1676003.html#a4544278
Sent from the ServiceMix - User forum at Nabble.com.

Reply via email to