一般而言,Web服务代理类的概念旨在使调用Web服务容易。
In general, the concept of a Web service proxy class is intended to make it easy to invoke the Web service.
这些组件包括旧wsdl和XSD文件、Web服务绑定文件和生成的Web服务代理类,如图6中所示。
These components include the old WSDL and XSD files, the Web service client bindings files, and the generated Web service proxy classes, as shown in Figure 6.
对于服务使用者,要对客户机应用程序进行更改,以使用由于命名空间变更而出现的新web服务代理类新包名称。
As with the service consumer, this involves changing the client application to use the new packages names for the Web service proxy classes that resulted from the namespace change.
这里,只需要在服务代理处于适当时刻时创建类的实例。
Here, you just want to create an instance of your class as the service agent at the proper time.
支持接口的每项服务或代理必须继承定义该接口的抽象基类。
Each service or proxy that supported an interface was required to inherit from the abstract base class that defined the interface.
在添加引用后,您可以创建ReportingService代理类的一个实例,并调用该服务上的一个方法,就像我在此处完成的一样
Once you have added the reference, you can create an instance of the ReportingService proxy class and invoke a method on the service, like I've done here
JAX - RPC允许把web服务调用打包为一个所谓的“代理”或“存根”类(请参见图2)。
JAX-RPC allows the wrapping of a web service invocation into a so-called "proxy" or "stub" class (see Figure 2).
例如,你可以使用WebClientFactory类在运行时动态创建一个Web服务代理。
For example, you can use WebClientFactory class to dynamically create a web service proxy at runtime.
构建解决方案的下一步是更新ejb项目中的会话Bean,以使用Web服务客户机代理类调用Web服务提供者。
The next step in building the solution is to update the session bean in the EJB project to invoke the Web service provider using the generated Web services client proxy class.
代理类会为您完成定位Web服务、发送请求消息以及向您返回响应(股票价格)等全部工作。
The proxy classes do all the work to locate your Web service, send the request message, and return the response (the stock price) to you.
stub类表示针对指定的目标服务端点的客户端代理。
A stub class represents a client side proxy for a specified target service endpoint.
我们将让 ApplicationDeveloper生成一些代理类和一个样本应用程序来运行Web服务。
We will get Application Developer to generate the proxy classes and a sample application to run the Web service.
它使用ServiceFactory类来创建服务获取代理。
It USES the ServiceFactory classes to create the service and get the proxy.
选择addReference将把该Web服务添加到solution explorer视图,下载WSDL并自动生成一个客户机代理类。
Selecting add Reference will add that Web service to the solution explorer view, download the WSDL, and automatically generate a client proxy class.
EJB代理应用程序的EJB项目也需要能够识别依赖JAR文件中的Web服务类。
The EJB project for the EJB proxy application also needs to be aware of the Web service classes in a dependent JAR file.
在路由处理程序跟代理模式服务关联之前,处理程序类及其依赖性必须对网关和信道类装载器是可见的。
Before the routing handler can be associated with the proxy mode service, the handler class and its dependencies must be visible to the gateway and channel class loaders.
这个类可以通过服务注册中心提供的接口,端点地址和绑定信息创建一个服务代理。
This class allows creating a service proxy based on the interface and endpoint address and binding, which are built using information provided by the registry service.
“服务生成器”的功能是根据显式接口为代理、调用程序和服务类生成框架代码,它已经被部分编写出来。
A partial "service Generator" was written that generated skeleton code for proxy, invoker, and service classes from an explicit interface.
代理类是客户程序的一部分,并且GSTC将会调用该类来存取服务。
The proxy class is part of the client and the GSTC will call this class to access the service.
动态代理支持在运行时访问服务端点接口(SEI),不需要静态生成stub类。
Dynamic proxies provide access to service endpoint interfaces (SEIs) at run time without requiring static generation of a stub class.
Web引用本质上是生成的代理类,这个代理类在本地代表Web服务公开的功能。
A Web Reference is essentially a generated proxy class that locally represents the exposed functionality of a Web service.
此方法使用Web服务客户机代理类 SampleService_PortTypeProxy调用 Web 服务提供者,并将复杂对象SampleOperationResponse 返回到其调用方。
This method calls the Web service provider using the Web service client proxy class SampleService_PortTypeProxy and returns a complex object, SampleOperationResponse, to its caller.
清单3:一个代理服务的客户端类。
现在已经创建了一个简单的Web服务代理,下面可以创建BFMWebService . as和HTMWebService . a s类来实现所需的BFM和HTMAPI。
Now that you've created a simple Web service proxy, you can create the classes BFMWebService.as and HTMWebService.as to implement the BFM and HTM APIs we need.
UDDI4J中处于核心位置的类是 com.ibm.uddi.client.UDDIProxy ,可以从客户机代码访问 UDDI服务器的代理。
The central class in UDDI4J is com.ibm.uddi.client.UDDIProxy, a proxy for the UDDI server that is accessed from client code.
在我们的实现中,服务消费者通过使用。NET的ChannelFactory类来根据服务接口,端点和绑定动态生成一个服务代理。
In our implementation a service consumer leverages.net's ChannelFactory class, which allows us to dynamically generate a service proxy, based on the service's interface and endpoint and binding.
为配置文件服务提供客户端代理类。
Provides the client proxy class for the authentication service.
最好的部分是,你并不需要生成并编译一个代理类,每次你想使用一个不同的Web服务!
The best part is, you don t need to generate and compile a proxy class, every time you want to use a different web service!
该构造函数在服务器生成代理类之后在运行时存在。
The constructor exists at run time after the proxy class has been generated by the server.
如果您的机器通过代理服务器或者一个有类代理解释特性的Windows网络连接的话,在BOINC 4.19版本的客户端中的bug可能会导致这个问题。
If your machine is behind a proxy server or part of a Windows network that USES proxy-like translation features, then bugs in the BOINC 4.19 client may cause this problem.
应用推荐