Re: [SOAP] PHP Web Service:Uncaught SoapFault exception
| From: | Richard Quadling | Date: | Mon, 04 Jan 2010 17:58:34 +0000 |
| Subject: | Re: [SOAP] PHP Web Service:Uncaught SoapFault exception | ||
| References: | 1 2 3 | Groups: | php.soap |
| Request: | Send a blank email to php-soap+get-3023@lists.php.net to get a copy of this message | ||
2010/1/4 DimG <pdimitir@yahoo.com>:
>
> If i make the call without a SOAP client, i take the message
> Call to undefined function getQuote().
>
>
>
>
> Richard Quadling wrote:
>>
>> 2010/1/3 DimG <pdimitir@yahoo.com>:
>>>
>>> hi everyone!
>>>
>>> When i run web services applications i take always this message:
>>>
>>> Fatal error: Uncaught SoapFault exception: [Client] looks like we got no
>>> XML
>>> document in C:\Program Files\Apache
>>> Group\Apache2\htdocs\WebServices\SOAP_EXTENSION\StockQuote\client3.php:3
>>> Stack trace: #0 [internal function]: SoapClient->__call('getQuote',
>>> Array)
>>> #1 C:\Program Files\Apache
>>> Group\Apache2\htdocs\WebServices\SOAP_EXTENSION\StockQuote\client3.php(3):
>>> SoapClient->getQuote('ibm') #2 {main} thrown in C:\Program Files\Apache
>>> Group\Apache2\htdocs\WebServices\SOAP_EXTENSION\StockQuote\client3.php on
>>> line 3
>>>
>>> Does anyone know anything about the problem?
>>> i have soap extension enabled, and have tried in PHP 5.0.5, 5.1.4.
>>>
>>> i attach the code if that helps
>>>
>>> http://old.nabble.com/file/p27002759/PHP%2Bweb%2Bservice.txt
>>> PHP+web+service.txt
>>> Thanks
>>>
>>>
>>>
>>>
>>>
>>> --
>>> View this message in context:
>>>
>>> http://old.nabble.com/PHP-Web-Service%3AUncaught-SoapFault-exception-tp27002759p27002759.html
>>> Sent from the Php - Soap mailing list archive at Nabble.com.
>>>
>>>
>>> --
>>> PHP Soap Mailing List (http://www.php.net/)
>>> To unsubscribe, visit: http://www.php.net/unsub.php
>>>
>>>
>>
>> If you make the call without a SOAP client, what output do you get?
>>
>> Most likely, the output isn't XML.
>>
>> This may show you an error on the SOAP server.
>>
>> --
>> -----
>> Richard Quadling
>> "Standing on the shoulders of some very clever giants!"
>> EE : http://www.experts-exchange.com/M_248814.html
>> Zend Certified Engineer :
>> http://zend.com/zce.php?c=ZEND002498&r=213474731
>> ZOPA : http://uk.zopa.com/member/RQuadling
>>
>> --
>> PHP Soap Mailing List (http://www.php.net/)
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
>>
>>
>
> --
> View this message in context:
> http://old.nabble.com/PHP-Web-Service%3AUncaught-SoapFault-exception-tp27002759p27015983.html
> Sent from the Php - Soap mailing list archive at Nabble.com.
>
>
> --
> PHP Soap Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
No. I mean, your SOAP client makes a call to a URL. What is the URL?
Put that URL in your browser. What output do you get?
--
-----
Richard Quadling
"Standing on the shoulders of some very clever giants!"
EE : http://www.experts-exchange.com/M_248814.html
Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
ZOPA : http://uk.zopa.com/member/RQuadling