This is Chapter-1 of Oracle SOA interview questions and answers series.
Question : What is Web Service ?
Answer: Web service is a piece of code which is available on web (internet). That code of piece can be developed in any language (java, .net etc). A client invokes the web service by sending xml message and it wait for xml response (synchronously or asynchronously).
Question: What is WSDL ?
Answer : WSDL stands for Web Services Description Language
WSDL is a document written in XML. The document describes a Web service. It specifies the location of the service and the operations (or methods) the service exposes.
Question: Explain elements/tags of WSDL ?
Answer :
Question: Difference between Abstract and Concrete WSDL ?
Answer : Abstract WSDL contains only messages and operations. Abstract WSDL is
used by SOAP Server.
Where as concrete WSDL contains messages, operations and transport
specific information (JMS or Http). This is used by SOAP client.
Question : What is SOAP ?
Answer : SOAP is a simple XML-based protocol to let applications exchange information over HTTP.
Or more simply: SOAP is a protocol for accessing a Web Service.
Question : What is XML Schema ?
Answer : An XML Schema describes the structure of an XML document.
Question : Difference between Include and Import in context to XML schema ?
Answer : The fundamental difference between include and import is that you must use import to refer to declarations or definitions that are in a different target namespace and you must use include to refer to declarations or definitions that are (or will be) in the same target namespace.
Question : What is
Answer :
<schema xmlns="http://www.w3.org/2001/SchemaXML targetNamespace="http://www.example.com/name" xmlns:target="http://www.example.com/name">
The targetNamespace declares a namespace for other xml and xsd documents to refer to this schema. The target prefix in this case refers to the same namespace and you would use it within this schema definition to reference other elements, attributes, types, etc. also defined in this same schema definition.
Click here to go to Chapter-2
Question : What is Web Service ?
Answer: Web service is a piece of code which is available on web (internet). That code of piece can be developed in any language (java, .net etc). A client invokes the web service by sending xml message and it wait for xml response (synchronously or asynchronously).
Question: What is WSDL ?
Answer : WSDL stands for Web Services Description Language
WSDL is a document written in XML. The document describes a Web service. It specifies the location of the service and the operations (or methods) the service exposes.
Question: Explain elements/tags of WSDL ?
Answer :
Element Name
|
Description
|
types
|
A container for abstract type definitions defined using XML Schema
|
message
|
A definition of an abstract message that may consist of multiple
parts, each part may be of a different type
|
portType
|
An abstract set of operations supported by one or more endpoints
(commonly known as an interface); operations are defined by an exchange of
messages
|
binding
|
A concrete protocol and data format specification for a particular
portType
|
service
|
A collection of related endpoints, where an endpoint is defined as a
combination of a binding and an address (URI)
|
Question: Difference between Abstract and Concrete WSDL ?
Answer : Abstract WSDL contains only messages and operations. Abstract WSDL is
used by SOAP Server.
Where as concrete WSDL contains messages, operations and transport
specific information (JMS or Http). This is used by SOAP client.
Question : What is SOAP ?
Answer : SOAP is a simple XML-based protocol to let applications exchange information over HTTP.
Or more simply: SOAP is a protocol for accessing a Web Service.
Question : What is XML Schema ?
Answer : An XML Schema describes the structure of an XML document.
Question : Difference between Include and Import in context to XML schema ?
Answer : The fundamental difference between include and import is that you must use import to refer to declarations or definitions that are in a different target namespace and you must use include to refer to declarations or definitions that are (or will be) in the same target namespace.
Question : What is
targetNamespace
's
function?Answer :
<schema xmlns="http://www.w3.org/2001/SchemaXML targetNamespace="http://www.example.com/name" xmlns:target="http://www.example.com/name">
The targetNamespace declares a namespace for other xml and xsd documents to refer to this schema. The target prefix in this case refers to the same namespace and you would use it within this schema definition to reference other elements, attributes, types, etc. also defined in this same schema definition.
Click here to go to Chapter-2
Good one !!!!!
ReplyDeleteVisit Oracle Training
thanq u....
ReplyDeleteOracle Training Institute in Chennai