网络 简单的范例
On line 7 you create a new SOAPClient with the location of the service endpoint.
在第7行,使用服务端点创建了一个新的SOAPClient。
SOAPClient action USES the WISE 5 client service to generate a JAXWS client class and call the target service.
SOAPClient使用WISE 5客户端服务生成JAXWS客户端代码,并调用目标服务。
Note that, because ext/soap is built-in, we didn´t need any include or require statement before referring to SoapClient.
注意,因为 ext/soap 是内置的,所以,在引用 SoapClient 之前,不需要任何 include 或 require 语句。
We set the trace option in an options array parameter, which we pass to the SoapClient constructor. We modify our use of the constructor to.
我们在options数组参数中设置trace选项,将该参数传递给SoapClient构造函数。
The output of SoapClient::_getTypes() doesn´t give enough detail for us to understand this discrepancy, so we´ll take a look at the WSDL document for a full specification of the interface.
_getTypes() 输出并没有为我们理解这种差异提供足够的细节,因此我们要求助于 WSDL 文档来了解完整的接口规范。