Uncaught SoapFault exception: [WSDL] SOAP-ERROR: |
Site Admin
|
This forum relates to nusoap library, not php_soap extension.
|
||||||||||||
_________________ The PHP IDE team |
|
hey. thanks for the reply, however, I am trying to use nusoap library and im having that error. can you kindly give me some hints lease? thanks, will |
||||||||||||||
|
Site Admin
|
from the error it looks like you use php_soap instead of nusoap.
Could you please make sure what you use? |
||||||||||||
_________________ The PHP IDE team |
|
Hello dmitri, Not wanting to predict what the OP is using. But I experienced similar problems while I'm evaluating your excellent PhpED. It turns out the IDE generated code (under the NuSoap Client tab and NuSoap Wizard) uses the soapclient object. An example of the code generated:
Naturally, soapclient constructor has a wrong 2nd parameter type above and there's no call() method. The solution is to just change that 2nd line to use the correct object; nusoap_client. But it may be confusing for many. Including me who was only able to solve this after realizing there might be a bug in the code generation process under PhpED and the wrong object was being used. |
||||||||||||||||
|
Site Admin
|
Naturally, what you're using is not nusoap.
It's php_soap extension that although has the same class names, uses different api and it looks like you're using it by mistake (if you want to check, please try to step-in into the soapclient constructor). |
||||||||||||
_________________ The PHP IDE team |
|
Correct. But that's because I have the PHP SOAP extension loaded, which deems nusoap's own soapclient class unusable. I understand from the documentation this is by design (and it makes sense to me since this class is only offered for backwards compatibility). However, for a newcomer to SOAP it is confusing. The PhpED wizard generates code that doesn't work on those cases where PHP SOAP is loaded. Users think it's NuSoap fault and ask. It isn't... but the fact they did all things right from their point of view, makes them think it is. That's my 2c only. Don't forget many (?)AMP default configurations include PHP SOAP extension (I can confirm this for WAMP and XAMPP). |
||||||||||||||
|
Site Admin
|
not, of course not. It's loosy developers picked a name that is already in use.
no, of course not. You can still use it under nusoap_client() name.
it's a really new extension and not that widely spreaded. |
||||||||||||||||||
_________________ The PHP IDE team |
Uncaught SoapFault exception: [WSDL] SOAP-ERROR: |
|
||
Content © NuSphere Corp., PHP IDE team
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by