xref: /php-src/ext/soap/tests/soap12/T30.phpt (revision 7f2f0c00)
1--TEST--
2SOAP 1.2: T30 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://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