Hi, first, sorry form my last posting. I guess it was very confusing. It was late and it may have been a php problem and not pear::soap. But I am pretty sure, this concerns the Web Services Implementation of PHP. (I guess, I am going through every error here :-( ) I've made a PHP Web-Service that should return some Objects as answers. (These objects are made to describe courses of a learning management system) There's a strange behaviour of my service, if I try to 'outsource' the class from the file, that holds the web-service itself. When the web-service-class in the same file as the class that produces the answer-array, everything works fine. But when I try to take the 'answer'-class in another file and include it in the web-service-class with 'require' or 'include' (also tried with '.._once' ....) the Web-Service returns a Message, that is interpreted as SOAP Fault by my client. But it confuses me. When I watch my TCP-Monitor, it shows me, that this is almost the same message as the message, that worked for me. Because the right answer is also appended to the message. This is strange and I'd like to ask you guys, if there is a way to use external files with require or include and what may be the reason for this error ... ? Thanx ! Regards, Arne ---------------- Here are the answers : -> Working answer ---------------- HTTP/1.1 200 OK Date: Sun, 14 Dec 2003 21:55:40 GMT Server: Apache/1.3.29 (Win32) PHP/4.3.3 X-Powered-By: PHP/4.3.3 Status: 200 OK (<----- Difference to the next file) Content-Length: 3613 (<----- Difference to the next file) Connection: close Content-Type: text/xml; charset=UTF-8 <?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns4="http://cesW.dynalias.net:80/ilias/SuchdienstW" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <SOAP-ENV:Body> <ns4:searchCoursesResponse> <return> <result xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="Struct[4]" SOAP-ENC:offset="[0]"> <item> <ID xsi:type="xsd:string">PO000002</ID> <Title xsi:type="xsd:string">TestPOLABAMA</Title> <Author xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="Struct[1]" SOAP-ENC:offset="[0]"> <item> <AuthorID xsi:type="xsd:string">HM001</AuthorID> <AuthorFirstname xsi:type="xsd:string">Hans</AuthorFirstname> <AuthorSurname xsi:type="xsd:string">Meiser</AuthorSurname></item></Author> <Category xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="Struct[1]" SOAP-ENC:offset="[0]"> <item> <CategoryID xsi:type="xsd:string">C001</CategoryID> <CategoryTitle xsi:type="xsd:string">CatCo</CategoryTitle></item></Category> <Language xsi:type="xsd:string">de</Language> <Description xsi:type="xsd:string">Dies ist ein TestPO</Description></item></result></return></ns4:searchCoursesResponse> </SOAP-ENV:Body> </SOAP-ENV:Envelope> ---------------- Here is the non-working answer ---------------- HTTP/1.1 200 OK Date: Sun, 14 Dec 2003 21:54:06 GMT Server: Apache/1.3.29 (Win32) PHP/4.3.3 X-Powered-By: PHP/4.3.3 Connection: close Content-Type: text/html <?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns4="http://cesW.dynalias.net:80/ilias/SuchdienstW" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <SOAP-ENV:Body> <ns4:searchCoursesResponse> <return> <result xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="Struct[4]" SOAP-ENC:offset="[0]"> <item> <ID xsi:type="xsd:string">PO000002</ID> <Title xsi:type="xsd:string">TestPOLABAMA</Title> <Author xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="Struct[1]" SOAP-ENC:offset="[0]"> <item> <AuthorID xsi:type="xsd:string">HM001</AuthorID> <AuthorFirstname xsi:type="xsd:string">Hans</AuthorFirstname> <AuthorSurname xsi:type="xsd:string">Meiser</AuthorSurname></item></Author> <Category xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="Struct[1]" SOAP-ENC:offset="[0]"> <item> <CategoryID xsi:type="xsd:string">C001</CategoryID> <CategoryTitle xsi:type="xsd:string">CatCo</CategoryTitle></item></Category> <Language xsi:type="xsd:string">de</Language> <Description xsi:type="xsd:string">Dies ist ein TestPO</Description></item></result></return></ns4:searchCoursesResponse> </SOAP-ENV:Body> </SOAP-ENV:Envelope> -- PHP Soap Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php