What should you do?

Posted by: Pdfprep Category: 70-480 Tags: , ,

DRAG DROP

You develop an HTML application that calls a Simple Object Access Protocol (SOAP) web service to retrieve data. You need to load data from the web service.

What should you do? (To answer, drag the appropriate code segment or code segments to the correct location or locations in the answer area. Use only code segments that apply.)

Answer:

Explanation:

* contentType

contentType is the type of data you’re sending.

We have to send the content-type of application/soap+xml as this is the only type that the web service allow.

* type

We post a SOAP request.

* dataType:

dataType is what you’re expecting back from the server: json, html, text, xml, etc. jQuery will use this to figure out how to populate the success function’s parameter.

Leave a Reply

Your email address will not be published.