Changeset 630 for pro-violet-viettel/sourcecode/application/modules/services/controllers/viettel.php
- Timestamp:
- Nov 26, 2014 4:24:07 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pro-violet-viettel/sourcecode/application/modules/services/controllers/viettel.php
r579 r630 76 76 $pattern = '/<[^>]*[^\/]>/i'; 77 77 $aryOutput = preg_split ($pattern, $soapOutput, -1, PREG_SPLIT_NO_EMPTY | PREG_SPLIT_DELIM_CAPTURE); 78 79 $xml = '<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"> 80 <S:Body> 81 <messageReceiverResponse xmlns="http://tempuri.org/"> 82 <return>'.$aryOutput[1].'</return> 83 </messageReceiverResponse> 84 </S:Body> 85 </S:Envelope>'; 86 78 $aryData = array(); 79 $aryData['message'] = $aryOutput[1]; 80 $xml = $this->load->view('mo', $aryData, TRUE); 87 81 header('Content-Type: text/xml; charset: utf-8'); 88 82 echo $xml;
Note: See TracChangeset
for help on using the changeset viewer.