xref: /PHP-7.0/ext/soap/tests/soap12/T30.phpt (revision 840526f1)
1--TEST--
2SOAP 1.2: T30 echoOk
3--SKIPIF--
4<?php require_once('skipif.inc'); ?>
5--FILE--
6<?php
7$HTTP_RAW_POST_DATA = <<<EOF
8<?xml version='1.0' ?>
9<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
10  <env:Body>
11    <test:echoOk xmlns:test="http://example.org/ts-tests">foo</test:echoOk>
12  </env:Body>
13</env:Envelope>
14EOF;
15include "soap12-test.inc";
16?>
17--EXPECT--
18<?xml version="1.0" encoding="UTF-8"?>
19<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://example.org/ts-tests"><SOAP-ENV:Body><ns1:responseOk>foo</ns1:responseOk></SOAP-ENV:Body></SOAP-ENV:Envelope>
20ok
21