views:

40

answers:

1

Hi all,

did anyone ever encounter the following error message

Extra content at the end of the document

when trying to consume a PHP web service from a client that runs on php 5.3?

I guess soembody did. ^^

Anyways, I don't seem to find an error in the server code which works for several clients of mine for quite some time now. Is this possibly a php problem in the recent version?

My client code looks like this:

try
{
  $client = new SoapClient("http://someserver/server.php?wsdl", array('trace' => 1, 'feature' => SOAP_SINGLE_ELEMENT_ARRAYS));
}   
catch(Exception $e)
{$this->handleException($e);}

Any thoughts on this would be highly appreciated.

TIA

K

A: 

Sounds like the XML is not well formatted. Is the WSDL generated or created manually?

Andreas Mattisson
created manually, but works at several other installations serving clients from PHP, Java and .NET.
KB22
Andreas Mattisson