网络程序设计—ASP

简述调用Web Service设计ASP.NET应用程序的基本步骤?

题目

简述调用Web Service设计ASP.NET应用程序的基本步骤?

如果没有搜索结果,请直接 联系老师 获取答案。
如果没有搜索结果,请直接 联系老师 获取答案。
相似问题和答案

第1题:

在Web Service中,通过(16)来执行服务调用。

A.SOAP

B.UDDI

C.XML Schema

D.HTTPS


正确答案:A
解析:Web Service是一种可以接收从Internet或Intranet上传送的请求、轻量级的独立的通信技术,它将应用程序的不同功能单元通过一些良好定义的接口联系起来。并且接口采用中立的方式进行定义,它独立于实现服务的硬件平台、操作系统和编程语言。这样可以使得构建的服务以一种统一和通用的方式进行交互。
  Web Service的3个基本技术是UDDI(Universal Description Discovery Integration)、WSDL(web Services Description Language)和SOAP(Simple Object Access Protocol),它们都是以XML为基础定义的。在Web服务体系中,使用WSDL来描述服务实现定义和服务接口定义,UDDI用来发布、查找服务,而 SOAP用来执行服务调用。SOAP、UDDI和WSDL协议各自的作用见表6-4。

第2题:

You are creating an ASP.NET web application that hosts several Windows Communication Foundation (WCF) services.The services have ASP.NET Compatibility Mode enabled. Users authenticate with the Web application by using a cookie-based ASP.NET Forms Authentication model.You add a service file named Authentication.svc that contains the following code segment:<%@ ServiceHost Service="System.Web.ApplicationServices.AuthenticationService"Factory="System.Web.ApplicationServices.ApplicationServicesHostFactory" %>You need to ensure that users can access the WCF services without having to re-authenticate.Which two configuration settings should you add? (Each is part of a complete solution. Choose two.)()

A. In the system web. Extensions scripting/webServices/authenticationService element, set the enabled attribute to true.

B. In the system web. Extensions scripting/webServices/profileService element, set the enabled attribute to true.

C. Add a service endpoint with basicHttpBinding for the contract System.Web.ApplicationServices.AuthenticationService.

D. Add a custom service behavior named AuthenticationService Type Behaviors with a service AuthenticationManager element that has service AuthenticationManagerType set to System.Web.Security.SQL Membership Provider


参考答案:A, C

第3题:

ASP.NET应用程序中,Web配置文件的扩展名是:( )

A、aspx

B、csproj

C、sln

D、config


参考答案:D

第4题:

You are planning to migrate an existing web application to Windows Azure.  The application consists of an ASP.NET web application and a set of native Win32 Windows Services that provide data to the application by using named pipes. The Windows Services cannot be modified.  You need to recommend a strategy for migrating the application to Windows Azure.  What should you recommend?()

  • A、 Define a Windows CommunicationFoundation (WCF) contract for the services.
  • B、 Deploy each Windows Service to a separate worker role.  Deploy the ASP.NET application to a web role.
  • C、 Deploy the application and Windows Services in a Windows Azure VM role.
  • D、 Upload service binaries to a web role by using the Windows Azure Service Management API.

正确答案:B

第5题:

下列关于Web服务说法错误的是( )。

A.Web Service是由URI标识的软件应用程序

B.Web服务就是可以通过Web描述、发布、定位和调用的模块化应用。一旦Web服务被部署,其他的应用程序或是Web服务就能够发现并且调用这个部署的服务

C.Web服务是在Windows操作系统上可获取的服务的总称。Web服务使用标准的XML消息接发系统,并且不受任何编程语言的束缚

D.Web服务通过简单对象访问协议(Simple Object Access Protocol,SOAP)来调用


正确答案:C

第6题:

Web复制工具可以使用下面那个连接类型能部署ASP.NET Web应用?()

A.FTP

B.SMTP

C.SSH

D.IMAP

E.HTTP

F.Share Folders


参考答案:A, E, F

第7题:

简述你对XML Web Service的原理的认识?


正确答案:
 

第8题:

论Web Service技术的应用与发展趋势随着Internet技术的发展,一种新的分布式计算模型--WebService应运而生。在支持基于Web的新型应用方面,Web Service体系结构具有独特的优势和广泛的应用前景,但在实际应用中仍然存在一些问题。请围绕"Web Service技术的应用与发展趋势"论题,依次从以下3个方面进行论述:①简述你参与的此类应用项目,以及你在其中所担任的主要工作。②论述你所参与的应用项目的特点及选用Web Service体系结构的准则,结合实例详细叙述WebService技术在你参与的项目中的应用、所带来的好处及遇到的问题。③分析并讨论WebService技术的特点、应用前景及其存在的主要问题,并简要展望WebService技术的发展趋势。


本题涉及WebService技术。
完成本文的写作,需要注意以下要点:
①用400~600字简单介绍你参与分析和开发的Web Service项目,以及你所担任的主要工作。
②具体论述你所参与的应用项目的特点,以及选用Web Service体系结构的准则,结合实例详细叙述WebService技术在你参与的项目中的应用、所带来的好处及遇到的问题。
③分析并讨论WebService技术的特点、应用前景及其存在的主要问题,并简要展望WebService技术的发展趋势

第9题:

在Web Service中,通过__________来执行服务调用。

A.HTTPS

B.SOAP

C.XML Schema

D.UDDI


正确答案:B
要点解析:Web Service的3个基本技术是UDDI(Universal Description Discovery Integration)、WSDL(Web Services Description Language)和SOAP(Simple ObjectAccess Protcc01),它们都是以XML为基础定义的。在Web服务体系中,使用WSDL来描述服务实现定义和服务接口定义,UDDl用来发布、查找服务,而SOAP用来执行服务调用。SOAP、UDDl和WSDL协议各自的作用如表9—7所示。
 

第10题:

下列关于Service描述不正确的是()。

  • A、启动Service的组件被销毁时,Service也将被销毁
  • B、当Activity通过调用startService()方法启动Service时,它处于started状态
  • C、当应用程序组件通过调用bindService()方法绑定到Service时,Service处于bound状态
  • D、其他应用程序组件能启动Service并且即便用户切换到另一个应用程序,Service还可以在后台运行

正确答案:A

更多相关问题