Re: Problem with PEAR::SOAP
| From: | Justin Patrin | Date: | Tue, 15 Jun 2004 16:30:27 +0000 |
| Subject: | Re: Problem with PEAR::SOAP | ||
| References: | 1 2 3 4 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-13173@lists.php.net to get a copy of this message | ||
Stephan Wentz wrote:
Hmm version is 1.2.2 But looking at the code in SOAP_Transport_HTTP's _sendHTTPS and _parseResponse it looks like it's doing all the parsing itself. I managed it with this dirty workaround until there's something official: if(preg_match("/^(HTTP\/1.1 100 Continue\r?\n\r?\n)(.*)/s", $this->incoming_payload, $match)) {Tsk Tsk. SOAP should really use HTTP_Request instead of reinventing the wheel on its own. -- paperCrane <Justin Patrin>$this->incoming_payload = $match[2];} This won't win a beauty-contest, but it helps me getting the request to work :-( Stephan Alexey Borzov wrote:Hi! Stephan Wentz wrote:Ah, i think i found the problem. Sending this to SOAP-Maintainers, too. The server responds with THIS string, not the one stated in my previous message:Hmm. I think SOAP uses HTTP_Request for sending/receiving requests and 100 Continue handling was fixed in HTTP_Request 1.2 What's the version installed?