logo       

Re: inclusion: msg#00070

php.nusoap.general

Subject: Re: inclusion

When you get the error "Response not of type text/xml", there are a number of
things you might do.

1. Use the following code in your client to print the contents of the response.
You will often discover that this is an error message from the server's HTTP
or PHP engine.

echo '<h2>Response</h2><pre>' . htmlspecialchars($client->response,
ENT_QUOTES) . '</pre>';

2. Enable the PHP error logging file, which you can check for an error after
your service is called. To do so, put the following in php.ini

; Log errors to specified file.
error_log = f:/php-4.3.4-Win32/php.err

3. Read your service source code for possible errors. Is vchoix.inc valid PHP,
including <? and ?> tags?

Scott Nichol

Do not send e-mail directly to this e-mail address,
because it is filtered to accept only mail from
specific mail lists.
----- Original Message -----
From: "Philippe BOUDIN " <pboudin@xxxxxxxxxxxx>
To: <nusoap-general@xxxxxxxxxxxxxxxxxxxxx>
Sent: Thursday, May 13, 2004 5:03 AM
Subject: [Nusoap-general] inclusion


hello,

i try to use an inclusion in a web service server. Here the source :

function graphe($config) {
require_once("vchoix.inc");
$res = ChoixV ($param1,$param2);
return $res;
}

i have an error : Response not of type text/xml


ChoixV return a string. When my service return a string, the function graphe
works. Error is only when i try to
return ChoixV result from vchoix.inc file

Is it possible to use a function (and return its result) located in another
file ?

Plus simple, plus fiable, plus rapide : découvrez le nouveau Caramail -
http://www.caramail.lycos.fr




-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id%62&alloc_ida84&op=click


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise