xref: /PHP-8.2/ext/soap/tests/soap12/T40.phpt (revision 7f2f0c00)
1--TEST--
2SOAP 1.2: T40 echoOK
3--EXTENSIONS--
4soap
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
27