Therefore, if a code generation problem occurs, it is most likely that the code generator can not handle the serialization of the method parameters or return types in your service class.
因此,如果出现代码生成问题,那么最有可能的是代码生成器不能处理您的服务类中的方法参数或返回类型的序列化。
If no handlers are found to handle the request, the server will return a 501 error.
如果没有找到处理请求的处理程序,服务器将返回一个501错误。
Always properly handle return values of functions returning references of dynamically allocated memory.
始终正确处理返回动态分配的内存引用的函数返回值。
It is therefore important that your code checks a return value is not an empty handle before continuing execution.
所以在继续执行前,在代码中检查返回值是否为一个空句柄是非常重要的。
When the client invokes one of the service operations, this object is used to handle the operation and return the results.
当客户端调用其中一个服务操作时,这个对象将处理这个操作并返回结果。
In both of these examples, the application isn't concerned with parsing XML or checking HTTP return codes or similar issues; the toolkits handle most of the details.
在这两个样例中,应用程序并不考虑解析xml或检查HTTP返回代码或类似问题。工具包处理大部分的细节问题。
Check return values and handle exceptions.
检查返回值并处理异常。
These functions take environment, connection, statement, or descriptor handles as input and return the diagnostic information related to the last function call made using that handle.
这些函数以环境句柄、连接句柄、语句句柄或描述符句柄作为输入参数,返回与上一次使用该句柄作出的函数调用相关的诊断信息。
The factory class keeps a static map of the threads that have been connected and can either return the existing connection handle, or create and store the connection handle when called by a thread.
工厂类保留已连接的线程的静态映射,可以在线程进行调用时返回现有连接句柄,或创建并存储连接句柄。
Every time you call a function that can return an error, you need to be careful to check that your request produced the result you expected (or handle the error if it didn't).
每次您调用一个可以返回错误值的函数时,就必须小心地检查请求所生成的结果正是您所希望的(如果不是,就需要对错误进行处理)。
The best way to handle wind is to start by running into it so that you'll have the wind at your back upon your return.
对付风的最好办法就是一开始就顶着风跑,这样你回来时就是顺风了。
If it is, I simply return null because I cannot handle negative values.
如果为负,则只是返回null,因为我不能处理负值。
Now that you've built the custom web service that can handle and return XML payloads, look at a simple code example of how to do this in Listing 9.
现在您已经构建了可以处理和返回xml有效负载的自定义web服务,接下来在清单9中看一下如何实现这一点的一个简单代码示例。
Each Web service publishes a WSDL file containing information about which methods and arguments it can handle as well as which objects the different methods return.
每个Web服务发布一个WSDL文件,该文件包含它可以处理哪些方法和自变量的信息,以及不同方法返回什么对象的信息。
The HTTP handler factory, then, must return an object that implements IHttpHandler that can handle the request.
然后,HTTP处理程序工厂必须返回一个对象,该对象将实现可以处理请求的 IHttpHandler 。
Seam USES a custom servlet to handle HTTP requests to execute a remote method and return its result.
Seam使用定制servlet来处理HTTP请求以便执行远端方法并返回其结果。
With fclose, there is little to do if the file handle does not close properly, so checking the return value for fclose is generally unnecessary.
使用fclose时,即使文件处理未正常关闭,也不会执行什么操作,因此通常不必检查fclose的返回值。
I don't handle exception cases here, because it's just example code, but the Ajax code you ship should handle requests that return errors.
这里没有处理异常情况,因为这仅仅是一个例子,不过发布的Ajax代码应该处理返回错误的请求。
Now that you've built the way to handle the XML payload of the incoming web service request, you now build the way to return an XML response to the client.
您已经构建了处理传入web服务请求的XML有效负载的方式,现在可以构建将 XML响应返回给客户端的方式了。
Below is a set of code examples that show how to handle various forms of the return value in the UserDefinedPushDownMethodsImpl class.
下面是一组代码实例,显示了如何处理userdefinedpushdownmethodsimpl类中的各种形式的返回值。
In order to return the SQLCODE associated with a Perl DBI database handle or statement handle, you can call the err method.
为了返回与某个PerlDBI数据库句柄或语句句柄相关的SQLCODE,可以调用err方法。
In order to return the SQLSTATE associated with a Perl DBI database handle or statement handle, you can invoke the state method.
为了返回与某个PerlDBI数据库句柄或语句句柄相关的SQLSTATE,可以调用state方法。
This pattern allows for a long-running process to return a handle or interim results before its long-running aspects start.
此模式允许长时间运行的流程在长时间运行的部分开始前返回句柄或中间结果。
You’ll find that you return to your work – or whatever the source of the stress is – feeling much better equipped to handle it.
你会发现你很快就回到了工作状态——或者不管压力源是什么——你也会觉得更容易掌控它了。
Creating separate closures that return HTML and XML representations of the data is simple enough, but what if you want one closure that can handle both?
创建一个返回数据的HTML和XML表示的单独闭包是很简单的,但如果想创建一个既可以返回HTML又可以返回XML表示的闭包的话,该怎么办呢。
Then you must create the server-side code that will handle the Ajax requests and return a suitable response.
接下来,您需要创建服务器端代码来处理Ajax请求并返回适当响应。
Here the "return" and "let" methods handle the let and return bindings in the script.
这里,“return”和“let”方法处理在这个脚本中的let和return操作。
If the function succeeds, the return value is an open handle to the specified process.
如果函数执行成功,返回值是指定进程的打开句柄。
Softbank, in return will handle all of the back-end operations, including billing, customer service and sales of the phone through its retail outlets in Japan.
而软库则将处理所有后台操作,包括帐单、客户服务以及通过其在日本的零售店铺销售手机。
Softbank, in return will handle all of the back-end operations, including billing, customer service and sales of the phone through its retail outlets in Japan.
而软库则将处理所有后台操作,包括帐单、客户服务以及通过其在日本的零售店铺销售手机。
应用推荐