Re: PHP, Soap, and WDSL
| From: | Jangita | Date: | Fri, 03 Sep 2010 07:39:41 +0000 |
| Subject: | Re: PHP, Soap, and WDSL | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-307841@lists.php.net to get a copy of this message | ||
On 02/09/2010 10:51 p, SBS Computers wrote:
It's as if the data is not getting to my php page? The view source shows the following data: <?xml version="1.0" encoding="utf-16"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> . . .bunch of data . . </response></soap:Body></soap:Envelope> Seems like the data is getting there OK. But a browser normally will not output normal xml and hides it (unless there is a <body /> tag or other tags that normally display output since it is using the text/html MIMEadd this line header('Content-type: text/plain'); before the echo and see what happens. Also make sure there is no other output (echo or any html tags) before the line above -- Jangita | +256 76 91 8383 | Y! & MSN: jangita@yahoo.com Skype: jangita | GTalk: jangita.nyagudi@gmail.com