统计 |
blog名称:人在旅途 日志总数:175 评论数量:505 留言数量:13 访问次数:1671257 建立时间:2005年12月7日 |
生命是过客,人在旅途。奶奶是信基督教的,没啥文化,却养育了四子二女,还带过九个孙辈。老人家对生命的看法就是“人都是客人,迟早要回去的。”就以《人在旅途》来纪念她。

« | September 2025 | » | 日 | 一 | 二 | 三 | 四 | 五 | 六 | | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | | | | | |
|
公告 |
本人上传的源程序中可能引用或使用了第三方的库或程序,也可能是修改了第三方的例程甚至是源程序.所以本人上传的源程序禁止在以单纯学习为目的的任何以外场合使用,不然如果引起任何版权问题,本人不负任何责任. | |

|
本站首页 管理页面 写新日志 退出
调整中...
[Java技术]Use web service in java script(client IE) |
人在旅途 发表于 2006/1/22 10:26:05 |
This document is linked from here:http://msdn.microsoft.com/library/default.asp?url=/workshop/author/webservice/webservice_node_entry.asp
WebService Behavior
Internet Development Index
This section contains reference information for the WebService behavior.
Overviews/Tutorials
About the WebService Behavior
The WebService behavior enables client-side script to invoke remote methods exposed by Web Services, or other Web servers, that support the SOAP and Web Services Description Language (WSDL) 1.1. This behavior provides developers the opportunity to use and leverage SOAP, without requiring expert knowledge of its implementation. The WebService behavior supports the use of a wide variety of data types, including intrinsic SOAP data types, arrays, objects, and Extensible Markup Language (XML) data. The WebService behavior is implemented with an HTML Component (HTC) file as an attached behavior, so it can be used in Microsoft Internet Explorer 5 and later versions.Using the WebService Behavior
This article explains how to use the WebService behavior to call remote methods from Web Services. The WebService behavior is implemented with an HTC file as an attached behavior, so it can be used in Internet Explorer 5 and later versions. Most of this article focuses on how to use the WebService behavior, but it also touches briefly on Web Services that are used by the WebService behavior. The About the WebService Behavior provides additional discussion and information on the main benefits and features of the WebService behavior; it also provides numerous links to related Web sites.WebService Behavior: Supported Data Types
This document describes the ASP.NET and XML data types supported by the WebService behavior.
Elements and Objects
call
A script object that can be passed as a parameter to the callService method.errorDetail
This object is exposed by the result object if an error is encountered from an invocation of the callService method. The properties of errorDetail provide detailed information and diagnostics on the error.result
This object exposes the results and brief diagnostics for an invocation of the callService method.useOptions
An object that can be passed as a parameter to the useService method.
Attributes and Properties
async
Specifies the mode of remote method invocation. code
A machine-readable error code that corresponds to a specific invocation of the callService method.endpoint
A property of the call object that specifies an URL that can be used to obtain the WSDL for a Web Service.error
A Boolean property created by the WebService behavior after using the callService method.funcName
Specifies the name of a remote function exposed by a Web Service.id
A property of the result object that has a unique value which corresponds to a specific execution of the callService method.params
A property of the call object that specifies an associative array of parameter values.password
Specifies a password for Web Services that require user authentication.portName
Specifies a port name that is used to access resources provided by a Web Service.raw
This property exposes the raw SOAP data packet returned by the Web Service after invoking the callService method.reuseConnection
Specifies the persistence of the connection information required by Web services that use Secure Sockets Layer (SSL) authentication.serviceAvailable
Indicates whether the WSDL information was returned successfully from an invocation of the useService method.serviceUrl
The URL of a Web Service.SOAPHeader
An array of SOAP headers that overrides the default SOAP header generated by the WebService.string
A human-readable error message that corresponds to a specific invocation of the callService method.timeout
Not currently supported.userName
Specifies a user name for Web Services that require user authentication.userName
Retrieves the sFriendlyName parameter that is passed to the useService method.value
A property of the result object that is created at runtime.WSDL
The WSDL returned by a Web Service after an invocation of the useService method.
Methods
callService
Invokes a method that is implemented on a Web Service.createCallOptions
Creates an instance of call object, which can be passed as a parameter to the callService method.createUseOptions
Creates a useOptions object, which can be passed as a parameter to the useService method.useService
Establishes a friendly name for a Web Service URL, which can then be referenced from script.
Events
onresult
Fires when a result has been received from a remote method callService using the WebService behavior.onserviceavailable
Fires after the WebService behavior has attempted to obtain the WSDL from a Web Service.
|
阅读全文(3078) | 回复(0) | 编辑 | 精华 |
|