Refresh Your Java - Before Java Interview
We are Agile, believe in less Documentation - Only Quick notes (Java Interview Questions) of Java/J2ee Read more....
WSDL is a specification defining how to describe web
services in a common XML grammar.
WSDL describes four
critical pieces of data:
i) Interface information
describing all publicly available functions
ii) Data
type information for all message requests and message
responses
iii)Binding information about the transport
protocol to be used
iv)Address information for locating
the specified service
In a nutshell, WSDL
represents a contract between the service requestor and the
service provider,
in much the same way that a Java
interface represents a contract between client code and the
actual
Java object. The crucial difference is that WSDL
is platform- and language-independent
and is used
primarily (although not exclusively) to describe SOAP
services.
<?xml
version="1.0"
encoding="UTF-8"?>
<definitions
name="HelloService"
targetNamespace="http://www.ecerami.com/wsdl/HelloService.wsdl"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:tns="http://www.ecerami.com/wsdl/HelloService.wsdl"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<message
name="SayHelloRequest">
<part
name="firstName"
type="xsd:string"/>
</message>
<message
name="SayHelloResponse">
<part name="greeting"
type="xsd:string"/>
</message>
<portType
name="Hello_PortType">
<operation
name="sayHello">
<input
message="tns:SayHelloRequest"/>
<output
message="tns:SayHelloResponse"/>
</operation>
</portType>
<binding
name="Hello_Binding"
type="tns:Hello_PortType">
<soap:binding style="rpc"
transport="http://schemas.xmlsoap.org/soap/http"/>
<operation
name="sayHello">
<soap:operation
soapAction="sayHello"/>
<input>
<soap:body
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:examples:helloservice"
use="encoded"/>
</input>
<output>
<soap:body
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:examples:helloservice"
use="encoded"/>
</output>
</operation>
</binding>
<service
name="Hello_Service_New">
<documentation>WSDL File for
HelloService</documentation>
<port
binding="tns:Hello_Binding"
name="Hello_Port">
<soap:address
location="http://localhost:8080/soap/servlet/HelloService"/>
</port>
</service>
</definitions>
This Portal is intended to put all Java/J2ee related topics at one single place for quick referance, not only Technical , but also the Project Management Related thing such as Development Process methodoogies build process, unit testing etc.,
This Portal has More than 500 Java Interview Questions (also could be Considered as Quick Notes) very neatly separated topic by topic with simple diagrams which makes you easily understandable. Importantly these are from our Realtime expericance.