Re: [SOAP] Data Size issue

From: Date: Thu, 31 Jul 2003 17:56:00 +0000
Subject: Re: [SOAP] Data Size issue
References: 1  Groups: php.soap 
Request: Send a blank email to php-soap+get-906@lists.php.net to get a copy of this message
Try to do a dump of the response by accessing the response var directly. You'll probably see what the answer is. Arnaud. > I've got a Web Service running on PEAR::SOAP that is returning data for a > reporting tool. When I run one of my reports to return data over a 4 day > span I get 798 rows of data returned and everything works just fine. When I > add a single day to this my result set ends up being 1035 (querying the > database directly for this numer) but I don't get any response from my Web > Service other than: Invalid HTTP Response. > > My question is, what could be causing this I'm almost positive that I'm not > running over PHP's 8Meg memory limit, I've even upped this to be certain. > The data itself for my 2 runs only amounts to 32k & 41k respectively, and > adding in the SOAP envelope ups these numbers by just a little less than 10x > (i.e. 3.2Meg & 4.1Meg). > > Has anyone run into an issue like this, and if so what did you do to fix it. > Or what else can I do to try to determine where the problem lies. > > Attached below is my wire for anyone who's interested. > > Thanks, > Rob > > OUTGOING: > > POST /IWS/Reporting/ HTTP/1.0 > User-Agent: PEAR-SOAP 0.7.3-devel > Host: cpitts-lnx.indyme.local > Content-Type: text/xml; charset=UTF-8 > Content-Length: 1395 > SOAPAction: "" > > <?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="urn:Reporting" > > SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> > <SOAP-ENV:Body> > > <ns4:GetReportData> > <LoginKey > xsi:type="xsd:string">0a30d5763696e04de883d1c3f4fdee90</LoginKey> > <nodeID xsi:type="xsd:int">3</nodeID> > <reportDef> > <ReportID xsi:type="xsd:int">2</ReportID> > <Title xsi:type="xsd:string">Traffic Counter Weekly Store</Title> > <ReportVariableList xsi:type="SOAP-ENC:Array" > SOAP-ENC:arrayType="Struct[2]" > SOAP-ENC:offset="[0]"> > <item> > <ReportID xsi:type="xsd:int">2</ReportID> > <ReportVariableID xsi:type="xsd:int">4</ReportVariableID> > <Name xsi:type="xsd:string">startdate</Name> > <Value xsi:type="xsd:int">1057042800</Value> > <CanUserModify xsi:type="xsd:boolean">false</CanUserModify></item> > <item> > <ReportID xsi:type="xsd:int">2</ReportID> > <ReportVariableID xsi:type="xsd:int">4</ReportVariableID> > <Name xsi:type="xsd:string">enddate</Name> > <Value xsi:type="xsd:int">1057388400</Value> > <CanUserModify > > xsi:type="xsd:boolean">false</CanUserModify></item></ReportVariableList></re > portDef></ns4:GetReportData> > </SOAP-ENV:Body> > </SOAP-ENV:Envelope> > > > INCOMING > > object(soap_fault)(8) { > ["error_message_prefix"]=> > string(0) "" > ["mode"]=> > int(1) > ["level"]=> > int(1024) > ["code"]=> > string(4) "HTTP" > ["message"]=> > string(21) "Invalid HTTP Response" > ["userinfo"]=> > string(0) "" > ["backtrace"]=> > NULL > ["callback"]=> > NULL > } > > > > -- > PHP Soap Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.soap (#906) next »