Saturday, 26 November 2011

what is difference between Abstract wsdl & concrete wsdl ?

what is difference between Abstract wsdl & concrete wsdl ?

Abstract wsdl:-Used on server side,contains request,response and type of operation performed.
concrete wsdl:-used on client side,contains abstract wsdl and transport used.

Abstract WSDL contains only messages and operations. Abstract WSDL is used by web Server where as concrete WSDL contains messages, operations and binding/transport specific information i.e. SOAP over Http/HTTPS/JMS having wsdl style i.e. RPC/DOC literal.

Abstract WSDL consists of the structure of the message that is like what operation, what is the input and what is the ouput . Whereas in concrete WSDL has all the things that the abstract wsdl has in addition it has transport(http,jms) details.


Abstract wsdl:- Used on server side,contains request,response and type of operation performed.
concrete wsdl:- Used on client side,contains abstract wsdl and transport used.

● An abstract WSDL document describes what the web service does, but not how it does it or how to contact it. An abstract WSDL document defines:
the operations provided by the web service.
the input, output and fault messages used by each operation to communicate with the web service, and their format.
● A concrete WSDL document adds the information about how the web service communicates and where you can reach it. A concrete WSDL document contains the abstract WSDL definitions, and also defines:
the communication protocols and data encodings used by the web service.
the port address that must be used to contact the web service.
.
Including Abstract WSDL is reusable because there is no binding details in it whereas Concrete WSDL used for specific service for which it is defined.


Abstract wsdl creation:-
Drag wsdl palette from palette window to designer windoow and make configure the respective input and output schemas and create the porttype  and inside that one create the operation and configure u created the schemas inside of that operation.create one process and Drag soap event source activity and configure ur wsdl just now u created above and make the necessary transport ie http or jms and in the configuration section of ur soap event soap select wsdl source option and select and save that in ur local drive .That is nothing but ur concrete wsdl .Create one folder inside of ur projects and import ur concrete wsdl inside of that directory .create one more soap request reply activity  inside of ur newly created process and configure ur newly imported schema.


Abstract WSDL consists of the structure of the message that is; what operation, what is the input and what is the ouput . Whereas in concrete WSDL has all the things that the abstract wsdl has in addition it has transport(http,jms) details.

1 comment:

  1. Hello,

    You presentation on this concept is good. Every one can understand in an easy way

    Regards,
    Mithun

    ReplyDelete