Add a request and response operation with one input and one output to the above interface as shown below.
如下所示,向上述接口添加具有一个输入和一个输出的请求与响应操作。
The input to the operation is a purchase order document, and the output is a response designating that the purchase order has been received and validated.
操作的输入是购买定单文档,输出是表明购买定单已被接收到并已验证的响应。
Along similar lines as Listing 7 (which shows a client sending its body through an output stream), the client would read the server response using an input stream.
用类似于清单7中的那些代码(在那里客户机通过一个输出流发送其正文),客户机使用一个输入流读取服务器响应。
应用推荐