You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by mqaiserm <Qa...@revolution.com> on 2006/05/24 18:10:22 UTC

WSDL on http

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.


Re: WSDL on http

Posted by Guillaume Nodet <gn...@gmail.com>.
See
http://servicemix.goopen.org/site/servicemix-http.html#servicemix-http-AccessingWSDLs

Cheers,
Guillaume Nodet

On 5/24/06, mqaiserm <Qa...@revolution.com> wrote:
>
>
> 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.
>
>


-- 
Cheers,
Guillaume Nodet