If you can build the soap request by yourself, you can just use camel-http component to send a request without using a client.
Otherwise you can wsdl2java (from CXF) to generate a client for you. You can find some example here[1] [1]http://camel.apache.org/cxf.html -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com(http://willemjiang.blogspot.com/) (English) http://jnn.iteye.com(http://jnn.javaeye.com/) (Chinese) Twitter: willemjiang Weibo: 姜宁willem On December 23, 2013 at 7:13:43 PM, viral.patel69 (viral.pa...@algorhythm.co.in) wrote: > > Dear All, > > Without creating client can it be possible to call web method > of web > service. > > I have a Web Service deployed, WSDL for same has been given bellow > > > xmlns:tns="http://service.application.buzzor.atpl.com" > xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" > xmlns:xsd="http://www.w3.org/2001/XMLSchema" > xmlns:soap11="http://schemas.xmlsoap.org/soap/envelope/" > xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" > xmlns:soapenc11="http://schemas.xmlsoap.org/soap/encoding/" > xmlns:soap12="http://www.w3.org/2003/05/soap-envelope" > targetNamespace="http://service.application.buzzor.atpl.com"> > > > attributeFormDefault="qualified" elementFormDefault="qualified" > targetNamespace="http://service.application.buzzor.atpl.com"> > > > > > > > > type="xsd:string"/> > > > > > > > > element="tns:getApplicationResponse"> > > > > > > > > message="tns:getApplicationRequest"> > > message="tns:getApplicationResponse"> > > > > type="tns:ApplicationServicePortType"> > > transport="http://schemas.xmlsoap.org/soap/http"/> > > > > > > > > > > > > > binding="tns:ApplicationServiceHttpBinding"> > > location="http://192.168.2.66:8081/buzzor-service/services/ApplicationService"/> > > > > > > > As you see in WSDL i need to call getApplication() method. > > I am new in camel, and in example i found how to expose your web service > using camel. but i need a example sample code which will call this > web > service using JAVA DSL. > > Please help me > > Thanks in Advance. > > > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/SOAP-Web-service-Calling-using-camel-tp5745180.html > > Sent from the Camel - Users mailing list archive at Nabble.com. >