PHP 8.5.0 Alpha 4 available for testing

Voting

: min(five, eight)?
(Example: nine)

The Note You're Voting On

rafinskipg at gmail dot com
13 years ago
Support for MTOM addign this code to your project:

<?php
class MySoapClient extends SoapClient
{
public function
__doRequest($request, $location, $action, $version, $one_way = 0)
{
$response = parent::__doRequest($request, $location, $action, $version, $one_way);
// parse $response, extract the multipart messages and so on

//this part removes stuff
$start=strpos($response,'<?xml');
$end=strrpos($response,'>');
$response_string=substr($response,$start,$end-$start+1);
return(
$response_string);
}
}

?>

Then you can do this
<?php
new MySoapClient($wsdl_url);
?>

<< Back to user notes page

To Top