I tried to implement the second method (link) and this is what I came up
with.

<cxf:cxfEndpoint id="iso8583ServiceEndpoint"
address="/my/MyServicesService/MyPort"
                wsdlURL="MyServices.wsdl"
                endpointName="s:MyPort"
                serviceName="s:MyServicesService"
        xmlns:s="http://rquest.com/"; >
         <cxf:outInterceptors>
                    <ref bean="loggingOutInterceptor"/>
                 </cxf:outInterceptors>
                 <cxf:inInterceptors>
                    <ref bean="loggingInInterceptor"/>
                 </cxf:inInterceptors>
                         <cxf:properties>
               <entry key="dataFormat" value="PAYLOAD"/>
         </cxf:properties>
     </cxf:cxfEndpoint>

<bean id="loggingOutInterceptor"
class="org.apache.cxf.interceptor.LoggingOutInterceptor"/>
        <bean id="loggingInInterceptor"
class="org.apache.cxf.interceptor.LoggingInInterceptor"/>
        
        
  <osgi:camelContext xmlns="http://camel.apache.org/schema/spring";
trace="true">    
    <route>
        <from uri="cxf:bean:myServiceEndpoint" />       


I tried the snippets above, the service in my wsdl is expected to listen on
7077 but the port never came on.

See my wsdl below:

<wsdl:service name="MyServicesService">
       <wsdl:port name="MyPort" binding="tns:MyBinding" >
         <SOAP:address location="http://0.0.0.0:7077/my"; />
       </wsdl:port>
  </wsdl:service>

I thot this will open up the service on port 7077 but its not happenin.




Claus Ibsen-2 wrote:
> 
> On Thu, Feb 18, 2010 at 9:30 AM, lekkie <[email protected]> wrote:
>>
>> Hi Guys,
>>
>> I 'd like to expose a Webservice using camel. I have the WSDL whcih I
>> will
>> like to be exposed for this service.
>>
>> How do I do this?
>>
> 
> You can take a look at this example
> http://camel.apache.org/cxf-async-example.html
> The source code is in examples in camel-example-cxf-async
> 
> And there is also the CXF examples
> http://camel.apache.org/cxf-example.html
> 
> Which may IMHO be a bit harder to understand as its an older example
> and having showing many things in the same example.
> 
> 
> 
> 
>> kr.
>> --
>> View this message in context:
>> http://old.nabble.com/how-to-expose-%28SOAP%29-webservice-using-camel-tp27635666p27635666.html
>> Sent from the Camel - Users mailing list archive at Nabble.com.
>>
>>
> 
> 
> 
> -- 
> Claus Ibsen
> Apache Camel Committer
> 
> Author of Camel in Action: http://www.manning.com/ibsen/
> Open Source Integration: http://fusesource.com
> Blog: http://davsclaus.blogspot.com/
> Twitter: http://twitter.com/davsclaus
> 
> 

-- 
View this message in context: 
http://old.nabble.com/how-to-expose-%28SOAP%29-webservice-using-camel-tp27635666p27636283.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to