1 Reply Latest reply on Jan 21, 2009 12:59 PM by wfreitas

    Adding a WSDL to a binding component

    amangroo

      Hi,

       

      I am creating a service that will be exposed to clients as a simple web service. I?ve started with the HTTP Binding Component which calls a static routing slip to pass the inbound message through some simple services. At the moment the HTTP binding component accepts any soap message and passes that to the routing slip. However I would like to associate a WSDL with the binding component so that clients can request the WSDL from the service eg (http://0.0.0.0:8192/myservice?wsdl/).

       

      I?ve been able to do this successfully with the pricing examples, but I am having trouble when I have a routing slip between the HTTP binding component and the backend service.

       

      Can anyone help me? Example config would be very useful.

       

      Many thanks

      Alan

       

      Edited by: amangroo on Dec 4, 2008 6:32 AM

        • 1. Re: Adding a WSDL to a binding component
          wfreitas

          Hi,

           

          Have you tried to use the cxf-bc component instead of the http component?

           

          Please refer to the cxf-wsdl-first example included in the servicemix examples directory.

           

          ---

          Wilson Freitas

          Software Architect

          Vetta Technologies