解决yii webservice 提示:Procedure 'getSent' not present 错误
本文章为各位介绍解决yii webservice 提示:Procedure 'getSent' not present 错误方法,有兴趣的和小编一起看看。
其实根据常用的webservice清除缓存方法,在client端加入这样一句话:
ini_set("soap.wsdl_cache_enabled", "0");
应该就可以了,但是处理了好久,在本地测试没问题,放到服务器上就不行,一直提示:Procedure 'getSent' not present
后来查看PHP的配置文件php.ini,找到这样一句话: soap.wsdl_cache_dir="/tmp"
然后进入对应目录,看到有这样子的文件:
wsdl-root-37c8f47f71a35a60f667be40ae619d0b
wsdl开头的文件,都是webservice的缓存文件,删掉这些文件,再试,一切正常了。

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics











Webservice calling steps: 1. Find a suitable WebService; 2. Create a WebService client and call the corresponding method; 3. Handle the return results and exceptions of the WebService; 4. Improve the efficiency and performance of WebService calling through reasonable optimization measures.

php提交表单通过后,弹出的对话框怎样在当前页弹出php提交表单通过后,弹出的对话框怎样在当前页弹出而不是在空白页弹出?想实现这样的效果:而不是空白页弹出:------解决方案--------------------如果你的验证用PHP在后端,那么就用Ajax;仅供参考:HTML code

The method steps of using Java to call WebService require specific code examples. Web service is a Web-based application program interface that provides various functions through the network. In Java development, we often need to use Web services to interact with other systems. This article will introduce how to use Java to call WebService and provide specific code examples. 1. Understand WebService WebService is a standardized communication protocol using XML format

The steps for java to call webservice are to generate client code, create client and run client. In addition, in a production environment, various abnormal situations, performance optimization, call logging, etc. of web services also need to be considered. If you need a deeper understanding, it is recommended to refer to the documentation and sample code of different frameworks, as well as related best practices.

Solution: 1. Check the error message carefully; 2. Check the syntax rules; 3. Check the brackets and quotation marks; 4. Check the variables and parameters; 5. Check the keywords and functions; 6. Step by step debugging; 7. Reference documents and examples.

1. Baidu Encyclopedia WebService is a platform-independent, low-coupled, self-contained, programmable web-based application that can be described, published, and published using the open XML (a subset of the Standard Universal Markup Language) standard. Discover, coordinate, and configure these applications for developing distributed, interoperable applications. WebService technology enables different applications running on different machines to exchange data or integrate with each other without the need for additional, specialized third-party software or hardware. Applications implemented according to the WebService specification can exchange data with each other regardless of the language, platform or internal protocol they use. WebService is self-describing and self-contained

I personally understand the definition of WebService through Du Niang and other methods. I personally understand it as a disguised soap protocol plus xml work order processing, and practice webservice common sense. A webservice interface publishing address is often similar: qq online verification interface: www.webxml.com.cn/webservices...Others Testable interface: email Email address interface: www.webxml.com.cn/WebServices...National weather conditions interface: www.webxml.com.cn/WebServices...qq in

How Java calls WebService methods requires specific code examples. Before using Java to call WebService methods, we first need to make it clear that WebService is a cross-platform solution for communication between different platforms. As a widely used programming language, Java has rich libraries and APIs that can easily call WebService methods. Below we will introduce how to use Java to call the WebService method, and
