Annotation of embedaddon/php/ext/soap/tests/bugs/multiport.phpt, revision 1.1.1.1
1.1 misho 1: --TEST--
2: Proper binding selection
3: --SKIPIF--
4: <?php require_once 'skipif.inc'; ?>
5: --INI--
6: soap.wsdl_cache_enabled=0
7: --FILE--
8: <?php
9: $client = new SoapClient(dirname(__FILE__).'/multiport.wsdl',
10: array('trace' => true, 'exceptions' => false));
11: $response = $client->GetSessionId(array('userId'=>'user', 'password'=>'password'));
12: echo $client->__getLastRequest();
13: ?>
14: --EXPECT--
15: <?xml version="1.0" encoding="UTF-8"?>
16: <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://www.reuters.com/"><SOAP-ENV:Body><ns1:GetSessionId><ns1:userId>user</ns1:userId><ns1:password>password</ns1:password></ns1:GetSessionId></SOAP-ENV:Body></SOAP-ENV:Envelope>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>