News:

SQL Table To C# Entity Model ConverterEntity Model (Class Properties) to SQL Table ConverterIf you encounter any trouble visiting our site, please contact us.

Online Test Web Services

  1. XML Serialization is not designed to serialize any CLR object into XML

  2. XML Serialization is designed to map classes to schemas, and object instances of those classes to XML instances of those schemas

  3. The basis of XML Serialization is not the CLR type system; rather, it is the XSD Schema type system

  4. All of the above

Answer: Answer is d

Statement 1: RPC-encoded clients are very similar to document-encoded ones.

Statement 2: RPC-encoded clients need to set the Use property of the [SoapRpcMethod("http://mySoapAction")] attribute to indicate that this client is encoded, and not literal XML.

  1. Statement 1 is true but statement 2 is false

  2. Statement 1 is false but statement 2 is true

  3. Both the statements are true

  4. Both the statements are false

Answer: Answer is a

<description
Namespace ="http://schemas.xmlsoap.org/wsdl/"
location="http://keithba.com/service.asmx?wsdl" />
<description
Namespace ="http://XHTML/"
location="http://keithba.com/service/Contents.html" />

  1. The "service" element can contain only one description

  2. The "location" attribute can contain only a WSDL link

  3. The "location" attribute can contain only an html link

  4. The attribute "Namespace" is invalid

  5. None of the above

Answer: Answer is d

  1. [RpcSoapMethod("http://mySoapAction")]

  2. [RpcMethod("http://mySoapAction")]

  3. [SoapRpcMethod("http://mySoapAction")]

  4. [SoapRpcAction("http://mySoapAction")]

  5. None of the above

Answer: Answer is c

  1. System.Web.Services.Protocols.SoapExtension

  2. System.Web.Services.Protocols.SoapExtensions

  3. System.Web.Services.SoapExtension

  4. System.Web.Services.SoapExtensions

  5. None of the above

Answer: Answer is a

  1. The first record in the DIME message must be the SOAP message

  2. Except the first record, the rest of the records in the message are the attachments

  3. To refer to any particular attachment within a SOAP message, an src attribute must be used

  4. All of the above

Answer: Answer is a, b
Further Reading:

When using SOAP with DIME, there are only a couple of really important rules to remember: The first record in the DIME message must be the SOAP message, and the rest of the records in the message are the attachments. Each attachment is assigned an ID; therefore, to refer to any particular attachment within a SOAP message, use an href attribute.


...

1. XmlSerializer ser = new XmlSerializer( typeof(ServiceDescription) );

2. FileStream objFile = new FileStream( txtWSDL.Text, FileMode.Open );

3. ServiceDescription objSD = ser.Deserialize( file );

4. file.Close();

The code given above opens a WSDL file in the fileStream object 'objFile' from the location given in txtWSDL.Text. But on opening WSDL in the ServiceDescription object 'objSD', the code generates an error. Identify the line number that contains the error.

  1. 1

  2. 2

  3. 3

  4. None of the above

Answer: Answer is c

  1. BusinessService

  2. BusinessEntity

  3. CorporationEntity

  4. None of the above

Answer: Answer is b

  1. WS-Inspection is a simple XML format for gathering together available services

  2. WS-Inspection describes the service policy

  3. WS-Inspection has the ability to link to UDDI registrations that give more information about a listed service

  4. WS-Inspection documents have a root element with the local name WSInspection

  5. All of the above

Answer: Answer is a, c

  1. Only before the body

  2. Only after the body

  3. Only before the envelope

  4. Anywhere in the message

Answer: Answer is a

Advertisement

BCS Preparation now even more easy. ReadBD is the place where you can find all kind of resources to be successful in BCS,Bank,Islami Bank exam and interview.

Looking for job. Try JobLoader- First ever job search engine in Bangladesh. All open bd jobs now a single mouse click away.

;