清单7提供了一个示例查询,该查询用于列示新泽西州的所有客户姓名和电话号码。
Listing 7 provides an example query to list all the customer names and phone Numbers from state of New jersey.
清单2中的查询就采用这种方式,它会返回Paris的所有四个客户。
This is shown in the query in Listing 2 which returns all four customers in Paris.
下面要做的所有工作就是在客户端窗口显示这些域,可以使用Web服务返回的数据来设置它们的Text值,如清单15。
All that then remains is to populate the fields in the client window, by setting their Text values with the data returned from the web service, shown in Listing 15.
基于 GETFullHTTP的简单接口:客户端可以发送 HTTPGET请求并下载所有规则的列表;此类请求的输出将遵循清单1中所示的格式
Simple GETFull HTTP-based interface: a client can send an HTTP GET request and download a list of all rules; the output of such a request will follow the format presented in Listing 1.
您可以在如 清单12 所示的一个SOAP客户端尝试所有这些函数
You can try all of these out with a SOAP client like the one in Listing 12
清单 5的代码获取一个包含所有从商店订购产品的客户的列表,以及上个月的所有订单的总价值。
The code retrieves the list of all customers that ordered products from the store and the total value of all orders during last month.
第一个Jersey客户端示例将发送GET请求获取所有联系人并打印响应状态码和响应内容,参见清单11。
The first Jersey client example is to send a GET request to fetch all the contacts and print the response status code and response content. See Listing 11.
该页面发出代理人请求的详细信息(brokerDetailRequest.xml,如清单2 所示),并收到包含所有代理人的客户及他们策略的响应(brokerDetailResponse.xml,如清单3 所示)。
This page sends the broker detail request (brokerDetailRequest.xml, Listing 2) and receives a response containing all the broker's clients and their policies (brokerDetailResponse.xml, Listing 3).
该页面发出代理人请求的详细信息(brokerDetailRequest.xml,如清单2 所示),并收到包含所有代理人的客户及他们策略的响应(brokerDetailResponse.xml,如清单3 所示)。
This page sends the broker detail request (brokerDetailRequest.xml, Listing 2) and receives a response containing all the broker's clients and their policies (brokerDetailResponse.xml, Listing 3).
应用推荐