Home php教程 PHP源码 解决yii webservice 提示:Procedure 'getSent' not present 错误

解决yii webservice 提示:Procedure 'getSent' not present 错误

Jun 08, 2016 pm 05:20 PM
procedure quot webservice

本文章为各位介绍解决yii webservice 提示:Procedure 'getSent' not present 错误方法,有兴趣的和小编一起看看。

<script>ec(2);</script>


其实根据常用的webservice清除缓存方法,在client端加入这样一句话:

ini_set("soap.wsdl_cache_enabled", "0");
Copy after login

应该就可以了,但是处理了好久,在本地测试没问题,放到服务器上就不行,一直提示:Procedure 'getSent' not present

后来查看PHP的配置文件php.ini,找到这样一句话: soap.wsdl_cache_dir="/tmp"

然后进入对应目录,看到有这样子的文件:

wsdl-root-37c8f47f71a35a60f667be40ae619d0b
Copy after login

wsdl开头的文件,都是webservice的缓存文件,删掉这些文件,再试,一切正常了。

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

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

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Hot Topics

Java Tutorial
1663
14
PHP Tutorial
1266
29
C# Tutorial
1239
24
webservice call webservice call Jul 05, 2023 pm 03:27 PM

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提交表单通过后,弹出的对话框怎样在当前页弹出,该如何解决 Jun 13, 2016 am 10:23 AM

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

How to call WebService using Java How to call WebService using Java Dec 29, 2023 pm 02:32 PM

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

java method of calling webservice java method of calling webservice Dec 15, 2023 am 10:54 AM

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.

How to solve sql procedure syntax error How to solve sql procedure syntax error Mar 06, 2024 pm 05:49 PM

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.

How webservice implements interface calling and object transfer between springboot projects How webservice implements interface calling and object transfer between springboot projects Jun 03, 2023 pm 12:09 PM

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

How SpringBoot uses axis to call the webservice interface How SpringBoot uses axis to call the webservice interface May 11, 2023 pm 01:28 PM

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 to call WebService using Java How to call WebService using Java Dec 29, 2023 am 11:11 AM

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

See all articles