- WSDL are 2 types
- Abstract WSDL
- Concrete WSDL
Abstract WSDL | Concrete WSDL |
ElementsMessagesPort type Operation | Abstract + Binding/service end point URL |
Synchronous:
Single port is called synchronous, it has (input ,output) , (Receive, reply)
Asynchronous:
Multiple ports is called asynchronous, it has (input, input), (receive, call-back)
One way:
single port and no response is called one-way , it has (input),(Receive)
Sample WSDL:
<? XML version = “1.0” encoding = “UTF-8”?>
<Schema>
<element name=”add request element” >
<complex Type>
<Sequence>
<element name=”n1” Type = “int”/>
<element name=”n2” Type = “int”/>
</Sequence>
</complex Type>
</element>
<element name=”add Response element” >
<complex Type>
<Sequence>
<element name=”result” Type = “int”/>
</Sequence>
</complex Type>
</element>
</schema>
<message name =”addition request message”>
<part name =”payload” element =”Add request element”>
</message>
<message name =”addition response message”>
<part name =”payload” element =”Add response element”>
</message>
Interested in mastering Oracle SOA Training? Enroll now for FREE demo on Oracle SOA Training.
Note:
Synchronous and asynchronous same for here, after then
Synchronous WSDL:
<port type name =”Addition port type”>
<operation name =”Add”>
<input message =”addition request message”>
<output message =”addition response message”>
</operation>
</port type>
Asynchronous WSDL:
<port type name =”Addition port type”>
<operation name =”Add”>
<input message =”addition request message”>
</operation>
</port type>
<port type name =”Addition port type result”>
<operation name =”result”>
<input message =”addition response message”>
</operation>
</port type>
Learn more about Oracle SOA Interview Questions in this blog post.
Concrete WSDL contains:
- IP Address
- Port number
- Application name
Instruction pattern/templates/message exchange patterns(MEPS):
synchronous | Asynchronous | One way |
| Delay response | No response |
| Contains multiple ports and defined only input message under operation. | Contains single port type and only input message inside operation |
| BPEL process contains “receive and call back activities” | Only “receive” activity |
| No time limit | No time |
| State full process | No stateNote: There is no reply that’s why no state. |
For an Indepth knowledge on Oracle SOA click on:
- Oracle service bus in SOA
- Oracle SOA Business rule engine
- Java messaging service in Oracle SOA 11g
- Oracle 11g installation step by step process
- How to work with FTP(File transfer protocol) in Oracle SOA