|
@@ 4221-4225 (lines=5) @@
|
| 4218 |
|
$this->debug('style is rpc for serialization: use is ' . $this->opData['output']['use']); |
| 4219 |
|
if ($this->opData['output']['use'] == 'literal') { |
| 4220 |
|
// http://www.ws-i.org/Profiles/BasicProfile-1.1-2004-08-24.html R2735 says rpc/literal accessor elements should not be in a namespace |
| 4221 |
|
if ($this->methodURI) { |
| 4222 |
|
$payload = '<ns1:'.$this->methodname.'Response xmlns:ns1="'.$this->methodURI.'">'.$return_val.'</ns1:'.$this->methodname."Response>"; |
| 4223 |
|
} else { |
| 4224 |
|
$payload = '<'.$this->methodname.'Response>'.$return_val.'</'.$this->methodname.'Response>'; |
| 4225 |
|
} |
| 4226 |
|
} else { |
| 4227 |
|
if ($this->methodURI) { |
| 4228 |
|
$payload = '<ns1:'.$this->methodname.'Response xmlns:ns1="'.$this->methodURI.'">'.$return_val.'</ns1:'.$this->methodname."Response>"; |
|
@@ 4226-4232 (lines=7) @@
|
| 4223 |
|
} else { |
| 4224 |
|
$payload = '<'.$this->methodname.'Response>'.$return_val.'</'.$this->methodname.'Response>'; |
| 4225 |
|
} |
| 4226 |
|
} else { |
| 4227 |
|
if ($this->methodURI) { |
| 4228 |
|
$payload = '<ns1:'.$this->methodname.'Response xmlns:ns1="'.$this->methodURI.'">'.$return_val.'</ns1:'.$this->methodname."Response>"; |
| 4229 |
|
} else { |
| 4230 |
|
$payload = '<'.$this->methodname.'Response>'.$return_val.'</'.$this->methodname.'Response>'; |
| 4231 |
|
} |
| 4232 |
|
} |
| 4233 |
|
} else { |
| 4234 |
|
$this->debug('style is not rpc for serialization: assume document'); |
| 4235 |
|
$payload = $return_val; |