exam questions

Exam 98-361 All Questions

View all questions & answers for the 98-361 exam

Exam 98-361 topic 1 question 101 discussion

Actual exam question from Microsoft's 98-361
Question #: 101
Topic #: 1
[All 98-361 Questions]

When a web service is referenced from a client application in Microsoft Visual Studio, which two items are created? (Choose two.)

  • A. a stub
  • B. a.wsdl file
  • C. a proxy
  • D. a .disco file
Show Suggested Answer Hide Answer
Suggested Answer: BD 🗳️
A .wsdl file that references the Web service is created, together with supporting files, such as discovery (.disco and .discomap) files, that include information about where the Web service is located.

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
LordPapkin
1 year ago
B and C – reference wiley book (Software Development Fundamentals) pages 114 – 115
upvoted 3 times
JamieS
7 months, 2 weeks ago
I think you are right. https://docs.microsoft.com/en-us/dotnet/core/additional-tools/wcf-web-service-reference-guide This tool retrieves metadata from a web service in the current solution, on a network location, or from a WSDL file, and generates a .NET Core compatible source file containing Windows Communication Foundation (WCF) client proxy code that you can use to access the web service. https://stackoverflow.com/questions/4304281/create-web-service-proxy-in-visual-studio-from-a-wsdl-file Try using WSDL.exe and then including the generated file (.cs) into your project. Fire up the Visual Studio Command prompt (under visual studio/tools in the start menu) then type >wsdl.exe [path To Your WSDL File] That'll spit out a file, which you copy/move and include in your project. That file contains a class which is a proxy to your sevice, Fire up an instance of that class, and it'll have a URL property you can set on the fly, and a bunch of methods that you can call. It'll also generate classes for all/any complex objects passed across the service interface.
upvoted 1 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...