SOAP_Interop
[ class tree: SOAP_Interop ] [ index: SOAP_Interop ] [ all elements ]

Source for file server_Round3GroupD.php

Documentation is available at server_Round3GroupD.php

  1. <?php
  2. //
  3. // +----------------------------------------------------------------------+
  4. // | PHP Version 4                                                        |
  5. // +----------------------------------------------------------------------+
  6. // | Copyright (c) 1997-2002 The PHP Group                                |
  7. // +----------------------------------------------------------------------+
  8. // | This source file is subject to version 2.02 of the PHP license,      |
  9. // | that is bundled with this package in the file LICENSE, and is        |
  10. // | available at through the world-wide-web at                           |
  11. // | http://www.php.net/license/2_02.txt.                                 |
  12. // | If you did not receive a copy of the PHP license and are unable to   |
  13. // | obtain it through the world-wide-web, please send a note to          |
  14. // | license@php.net so we can mail you a copy immediately.               |
  15. // +----------------------------------------------------------------------+
  16. // | Authors: Shane Caraveo <Shane@Caraveo.com>                           |
  17. // +----------------------------------------------------------------------+
  18. //
  19. // $Id: server_Round3GroupD.php,v 1.4 2005/04/01 16:18:00 chagenbu Exp $
  20. //
  21. require_once 'SOAP/Server.php';
  22. require_once 'interop_Round3GroupD.php';
  23.  
  24. // http://www.whitemesa.com/r3/interop3.html
  25. // http://www.whitemesa.com/r3/plan.html
  26.  
  27. $groupd = new SOAP_Interop_GroupD();
  28. $server = new SOAP_Server;
  29. $server->_auto_translation = true;
  30.  
  31. $server->addObjectMap($groupd'http://soapinterop/');
  32. $server->addObjectMap($groupd'http://soapinterop.org/xsd');
  33.  
  34. $server->service(isset($HTTP_RAW_POST_DATA$HTTP_RAW_POST_DATA : NULL);
  35.  
  36. $test '<?xml version="1.0" encoding="UTF-8"?>
  37.  
  38. <SOAP-ENV:Envelope  xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
  39.  xmlns:xsd="http://www.w3.org/2001/XMLSchema"
  40.  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  41.  xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
  42.  xmlns:ns4="http://soapinterop.org/xsd"
  43. >
  44. <SOAP-ENV:Body>
  45.  
  46. <ns4:x_Document>Test Document Here</ns4:x_Document>
  47. </SOAP-ENV:Body>
  48. </SOAP-ENV:Envelope>';
  49. #$server->service($test,'',TRUE);

Documentation generated on Mon, 11 Mar 2019 15:06:27 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.