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

<wsdl:definitions xmlns:soapenc12="http://www.w3.org/2003/05/soap-encoding";
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";>
<wsdl:types>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema";
attributeFormDefault="qualified" elementFormDefault="qualified"
targetNamespace="http://service.application.buzzor.atpl.com";>
<xsd:element name="getApplication">
<xsd:complexType/>
</xsd:element>
<xsd:element name="getApplicationResponse">
<xsd:complexType>
<xsd:sequence>
<xsd:element maxOccurs="1" minOccurs="1" name="out" nillable="true"
type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>
</wsdl:types>
<wsdl:message name="getApplicationResponse">
<wsdl:part name="parameters"
element="tns:getApplicationResponse"></wsdl:part>
</wsdl:message>
<wsdl:message name="getApplicationRequest">
<wsdl:part name="parameters" element="tns:getApplication"></wsdl:part>
</wsdl:message>
<wsdl:portType name="ApplicationServicePortType">
<wsdl:operation name="getApplication">
<wsdl:input name="getApplicationRequest"
message="tns:getApplicationRequest"></wsdl:input>
<wsdl:output name="getApplicationResponse"
message="tns:getApplicationResponse"></wsdl:output>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="ApplicationServiceHttpBinding"
type="tns:ApplicationServicePortType">
<wsdlsoap:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="getApplication">
<wsdlsoap:operation soapAction=""/>
<wsdl:input name="getApplicationRequest">
<wsdlsoap:body use="literal"/>
</wsdl:input>
<wsdl:output name="getApplicationResponse">
<wsdlsoap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="ApplicationService">
<wsdl:port name="ApplicationServiceHttpPort"
binding="tns:ApplicationServiceHttpBinding">
<wsdlsoap:address
location="http://192.168.2.66:8081/buzzor-service/services/ApplicationService"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>

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.

Reply via email to