|
||||||||||
|
New in This Group [SOAP] PHP Web Service:Uncaught SoapFault exception1/3/2010 4:49:26 PM [SOAP] migrate SOAP function from PHP4 to PHP511/30/2009 5:23:06 PM [SOAP] SOAP_SINGLE_ELEMENT_ARRAYS doesn't work11/27/2009 10:12:34 AM HTML Form Generation From WSDL11/19/2009 10:39:16 AM E_ERROR in SoapClient7/30/2009 10:26:52 AM Locate tphe Male G Spot For Body Shaking Orgasmms6/21/2009 12:25:04 AM __soapCall6/2/2009 8:07:19 PM PHP SOAP namespace issue4/23/2009 5:23:40 PM RE: Inconsitant data3/31/2009 3:04:58 PM Inconsitant data3/31/2009 3:04:14 PM |
Problem with getting value from SoapResponse
|
|||||||||
| Group: php.soap |
Subscribe
|
Posted:5/26/2009 5:24:06 PM | Replies:0 | Views:14 | Items(0) |
|
Hi,
I've the problem that the SOAP Extension does not seem to parse the response correctly. A small example: I call a Webservice using a WSDL: $objClient = new SoapClient( "mywsdl.wsdl" ,array( 'trace'=>1 ,'encoding'=>'ISO-8859-1' ,'location'=>'http://SOAPURL' ) ); and I call a function supplying the required parameters: $objResult = $objClient->execute( array( 'context'=> $this->arrContext ,'input'=> $arrInput ,'output'=> $arrOutput ) ); The XML-SOAP-Response contains a paramter: <SESSION_TOKEN xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="false">819118e2f0f2f1f6f2e1</SESSION_TOKEN> Problem: The resulting Soap-Object does NOT contain the parameter value - the SESSION_TOKEN member is just NULL. The previous version of the webservice returned the response in a different way: <p828:SESSION_TOKEN>819118e2f0f2f1f6f2e1</p828:SESSION_TOKEN> This kind of answer is parsed correctly by PHP - the Soap-Object containts the SESSION_TOKEN member with the corresponding value. Why is the value not parsed from the new response? Looks for me like a PHP bug, as the response looks like a valid structure. Any hints? |
darkserv...@gmail.com (Dark Servant) 5/26/2009 5:24:06 PM |
note 97095 added to soapclient.soapclient
note 97094 added to function.sqlite-changes
note 97093 added to function.sqlite-changes
note 97092 added to ref.xmlrpc
note 97091 added to function.var-export