Web Services with Asp.net online Test

What is .Net Web Service?
Web services are the services that can be developed only using .net framework for mobile applications
Web services are .net windows application.
Web services are built on XML standard and use SOAP protocol that allows them to communicate across different platforms and programming languages.
Web services are deals in import and export of Xml files on the web.
what is the underlying protocol used for web services?
Web Services make use of SMTP protocal as message protocol , the protocol by which the messages are sent to and from the service
Web Services make use of SOAP , as the transport protocal .
Web Services make use of SOAP over HTTP protocol for invoking Web services.
None of the above
To test a Web service you must create a Windows application or Web application to consume this service?
True, to consume web service a user needs to create web or windows application.
False, the web service comes with a test page and it provides HTTP-GET method to test.
In a Webservice, need to display 10 rows from a table. So DataReader or DataSet is best choice?
WebService will support only DataSet.
DataReader or DataSet both can be used , it wont make much of difference
DataReader should be used
While creating Web Service through visual studio template, which namespaces are include automatically?
System.data
System.WebServices
System.Web.Utility
System.Web.Services
What is the primary purpose of Namespace property, which is used in WebServices attribute?
To set XML namespace to SOAP message to distinguish your web services from other web services
Reference to company’s website
Reference to the organization which set the standards related to web services
Documentation related to web services
What would be key requirement to make ASP.NET web application an ASP.NET Web Services?
Have static methods
Web Services processing directive and WebMethod attribute attached to each publicly available method
Have Web methods as private method
Make all the methods serializable
If your webmethod is having return type is void and while consuming the webservices you don’t want to wait the complete execution to that method. How would you achive this?
In webmethod attribute set OneWay property to true
In SoapDocumentMethod and SoapRpcMethod set OneWay property to true.
In webservices arrtibute set oneway property to the method name.
none
Which page is used to display the link of webmethods in ASP.NET web services?
ASP.NET services method web page.
ASP.NET services help page.
ASP.NET webmethod help page
All of the above
What are the three main section of SOAP (Simple Object Access Protocol) message?
SOAP message formatted with SOAP 1.1 specification might contains a Header, Action and Body element.
SOAP message formatted with SOAP 1.1 or SOAP 1.2 specification might contains a Header, Action and Body element.
SOAP message formatted with SOAP 1.1 specification might contains Envelope, Header, and Body element.
SOAP message formatted with SOAP 1.1 or SOAP 1.2 specification might contains Envelope, Header, and Body element
For SOAP (Simple Object Access Protocol) message formatting what is the purpose of Encoded value?
Encoded value ensures that the SOAP message will be formatted as XML schema definition in the WSDL.
Encoded value ensures that SOAP message is encrypted for security perpose.
This is the default value for parameter encoding.
This is the default value for parameter encapsulation.
Which method is used to serialize an object into an XML document from Xmlserializer class?
ToSerial
Deserialize
Serialize
Xmlserialize
What kind of information included in SOAP (Simple Object Access Protocol) header?
SOAP specification version used by SOAP request.
Metadata that holds the description about how request should process.
Descriptions about all the web methos and the purpose of web methos
none
Which is not the step to create custom SOAP (Simple Object Access Protocol) header class?
Create class that inherits from the System.Web.Services.Protocols.SoapHeader class
Create private variable of new header class in web services.
Add SoapHeader attribute to web method.
Add code in web method that refers the variable of soap header class.
How you would make your web services to participate in transaction?
Set transaction property of Web Services attributes to true.
Set transaction property of webmethod attribute to Required or RequiredNew
There is no such thing available with .NET Framework 2.0 for Web Services.
Set the TransactionOption property of webmethod attribute to “Required” or “RequiredNew
If your webmethod is having return type is void and while consuming the webservices you don’t want to wait the complete execution to that method. How would you achive this?
In webmethod attribute set OneWay property to true
In SoapDocumentMethod and SoapRpcMethod set OneWay property to true.
In webservices arrtibute set oneway property to the method name.
none
Description:

Asp Net Web Services: Here are some web services interview questions which is very helpful in interviews. This great listing of interview questions provides a lot of information on Web Services Questions and Web Services Faqs.

Tags:

Web Services

Comments
ashok
By: ashok
1123 days 2 hours 53 minutes ago

Super test

Want to learn?

Sign up and browse through relevant courses.

or fill this simple form
Name:
Your Email:
Password:
Country:
Contact no.:


Area code Number
Subjects you are interested in:
Word verification: (Enter the text as shown in image)


Sign Up Already a member? Sign In
I agree to WizIQ's User Agreement & Privacy Policy
1 Follower
Test: 1

Your Facebook Friends on WizIQ

Connect