Types :
<types>
</types>
<xs:schema xmlns:tns="http://provider.soap.frog.it.com/"
xmlns:xs="http://www.w3.org/2001/XMLSchema" version="1.0"
targetNamespace="http://provider.soap.frog.it.com/">
<xs:element name="findFrogs" type="tns:findFrogs"/>
<xs:element name="findFrogsResponse" type="tns:findFrogsResponse"/>
<xs:element name="uploadFrog" type="tns:uploadFrog"/>
<xs:element name="uploadFrogResponse" type="tns:uploadFrogResponse"/>
<message name="findFrogsResponse">...</message>
<message name="uploadFrog">...</message>
<message name="uploadFrogResponse">...</message>
message can appear one or more times in WSDL...
portType -Elements describes operations exposed in soap web service
this can appear one or more times.
<portType name="FrogDataProvider">
</portType>
operation - operation is similar to method in java
which is child element of PortType and operation element can appear one or more
times in WSDL.
binding :-
<binding name="FrogDataProviderPortBinding" type="tns:FrogDataProvider">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
</binding>
1. It describes the protocol used in soap web service.
2. it also describes structure of soap message based on
style and use
Binding tag can appear one or more times....
##############################################################
-------------------------------------------------------------------------------------
Service Tag (FrogDataProviderService)
this web service name to access the web service
<service name="FrogDataProviderService">
</service>
This service tag only appears one time in WSDL
.................................................
Port Element in WSDL
1. it gives you physical location of web service
2. It describes which binding is used in web service
3. It can appear one or more times.
<port name="FrogDataProviderPort" binding="tns:FrogDataProviderPortBinding">
<soap:address location="http://localhost:5555/spring-mvc-app/frogDataProvider"/>
</port>
No comments:
Post a Comment