xref: /PHP-7.0/ext/soap/tests/soap12/T40.phpt (revision 840526f1)
1--TEST--
2SOAP 1.2: T40 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://www.w3.org/2003/05/soap-envelope">
10  <env:Header>
11    <test:Unknown xmlns:test="http://[FEDC:BA98:7654:3210:FEDC:BA98:7654:3210]/ts-tests"
12          env:role="http://www.w3.org/2003/05/soap-envelope/role/ultimateReceiver"
13          env:mustUnderstand="false">
14      foo
15    </test:Unknown>
16  </env:Header>
17  <env:Body>
18  </env:Body>
19</env:Envelope>
20EOF;
21include "soap12-test.inc";
22?>
23--EXPECT--
24<?xml version="1.0" encoding="UTF-8"?>
25<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope"><env:Body/></env:Envelope>
26ok