The object literal stub applied to the constructor records it's interaction with the system under test via local variables url and callback.
通过本地变量url和callback,应用于构造函数的object literal stub能够记录它与被测系统的交互行为。
An example of using the stock quote service via a stub generated by WSIF's port type compiler is shown in Listing 5.
通过由WSIF的端口类型编译器生成的存根使用股票报价服务的示例如清单5所示。
A stub class defines all the methods that an SEI defines, therefore, a client can invoke methods of a web service directly via the stub class.
一个存根类定义一个SEI定义的所有方法,因此,一个客户机可以通过存根类直接调用Web服务方法。
应用推荐