ID: 28985 Updated by: [EMAIL PROTECTED] Reported By: jp dot gouigoux at free dot fr -Status: Open +Status: Assigned Bug Type: SOAP related Operating System: Win2000 PHP Version: 5.0.0RC3 -Assigned To: +Assigned To: dmitry New Comment:
I cannpt reproduce the BUG. Please, post your WSDL file here. Previous Comments: ------------------------------------------------------------------------ [2004-07-01 17:26:16] jp dot gouigoux at free dot fr Description: ------------ I have two web services implemented in ASP.NET: number one uses only primitive types, number two uses arrays of specific objects. The WSDL generated for both is valid and correct. When I use var_dump($client->__getTypes()); for the first one, I indeed get the generated description of objects used by the web service. As for the second web service, nothing appears and the execution of my php page is stopped... Reproduce code: --------------- $client = new SOAPClient('http://localhost/SimpleService.asmx?WSDL',array('trace'=>1)); var_dump($client->__getTypes()); $client = new SOAPClient('http://localhost/ComplexTypeService.asmx?WSDL',array('trace'=>1)); var_dump($client->__getTypes()); Expected result: ---------------- array(10) { [0]=> string(17) "struct Coucou { }" [1]=> string(47) "struct CoucouResponse { string CoucouResult; }" [2]=> string(38) "struct RenvoiSimple { string texte; }" [3]=> string(59) "struct RenvoiSimpleResponse { string RenvoiSimpleResult; }" [4]=> string(41) "struct StoreInSession { string valeur; }" [5]=> string(64) "struct StoreInSessionResponse { boolean StoreInSessionResult; }" [6]=> string(30) "struct RetrieveFromSession { }" [7]=> string(73) "struct RetrieveFromSessionResponse { string RetrieveFromSessionResult; }" [8]=> string(28) "struct RetrieveSessionId { }" [9]=> string(69) "struct RetrieveSessionIdResponse { string RetrieveSessionIdResult; }" } THEN THE SAME THING FOR THE SECOND WEB SERVICE Actual result: -------------- array(10) { [0]=> string(17) "struct Coucou { }" [1]=> string(47) "struct CoucouResponse { string CoucouResult; }" [2]=> string(38) "struct RenvoiSimple { string texte; }" [3]=> string(59) "struct RenvoiSimpleResponse { string RenvoiSimpleResult; }" [4]=> string(41) "struct StoreInSession { string valeur; }" [5]=> string(64) "struct StoreInSessionResponse { boolean StoreInSessionResult; }" [6]=> string(30) "struct RetrieveFromSession { }" [7]=> string(73) "struct RetrieveFromSessionResponse { string RetrieveFromSessionResult; }" [8]=> string(28) "struct RetrieveSessionId { }" [9]=> string(69) "struct RetrieveSessionIdResponse { string RetrieveSessionIdResult; }" } (ONLY...) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=28985&edit=1