summaryrefslogtreecommitdiff
path: root/ext/soap/tests/bugs
diff options
context:
space:
mode:
Diffstat (limited to 'ext/soap/tests/bugs')
-rw-r--r--ext/soap/tests/bugs/bug27722.phpt13
-rw-r--r--ext/soap/tests/bugs/bug27722.wsdl92
-rw-r--r--ext/soap/tests/bugs/bug27742.phpt13
-rw-r--r--ext/soap/tests/bugs/bug27742.wsdl854
-rw-r--r--ext/soap/tests/bugs/bug28751.phpt38
-rw-r--r--ext/soap/tests/bugs/bug28969.phpt38
-rw-r--r--ext/soap/tests/bugs/bug28985.phpt204
-rw-r--r--ext/soap/tests/bugs/bug28985.wsdl683
-rw-r--r--ext/soap/tests/bugs/bug29061.phpt12
-rw-r--r--ext/soap/tests/bugs/bug29061.wsdl41
-rw-r--r--ext/soap/tests/bugs/bug29109.phpt18
-rw-r--r--ext/soap/tests/bugs/bug29109.wsdl121
-rw-r--r--ext/soap/tests/bugs/bug29236.phpt20
-rw-r--r--ext/soap/tests/bugs/bug29236.wsdl287
-rw-r--r--ext/soap/tests/bugs/bug29795.phpt32
-rw-r--r--ext/soap/tests/bugs/bug29795.wsdl40
-rw-r--r--ext/soap/tests/bugs/bug29830.phpt25
-rw-r--r--ext/soap/tests/bugs/bug29839.phpt41
-rw-r--r--ext/soap/tests/bugs/bug29839.wsdl42
-rw-r--r--ext/soap/tests/bugs/bug29844.phpt36
-rw-r--r--ext/soap/tests/bugs/bug29844.wsdl66
-rw-r--r--ext/soap/tests/bugs/bug30045.phpt171
-rw-r--r--ext/soap/tests/bugs/bug30106.phpt72
-rw-r--r--ext/soap/tests/bugs/bug30106.wsdl59
-rw-r--r--ext/soap/tests/bugs/bug30175.phpt47
-rw-r--r--ext/soap/tests/bugs/bug30175.wsdl126
-rw-r--r--ext/soap/tests/bugs/bug30799.phpt25
-rw-r--r--ext/soap/tests/bugs/bug30928.phpt63
-rw-r--r--ext/soap/tests/bugs/bug30928.wsdl49
-rw-r--r--ext/soap/tests/bugs/bug30994.phpt47
-rw-r--r--ext/soap/tests/bugs/bug31422.phpt42
-rw-r--r--ext/soap/tests/bugs/bug31695.phpt62
-rw-r--r--ext/soap/tests/bugs/bug31695.wsdl47
-rw-r--r--ext/soap/tests/bugs/bug31755.phpt17
-rw-r--r--ext/soap/tests/bugs/bug32776.phpt47
-rw-r--r--ext/soap/tests/bugs/bug32776.wsdl47
-rwxr-xr-xext/soap/tests/bugs/bug32941.phpt41
-rwxr-xr-xext/soap/tests/bugs/bug32941.wsdl141
-rwxr-xr-xext/soap/tests/bugs/bug34449.phpt20
-rwxr-xr-xext/soap/tests/bugs/bug34453.phpt41
-rwxr-xr-xext/soap/tests/bugs/bug34453.wsdl42
-rwxr-xr-xext/soap/tests/bugs/bug34643.phpt48
-rwxr-xr-xext/soap/tests/bugs/bug34643.wsdl42
-rwxr-xr-xext/soap/tests/bugs/bug35142.phpt135
-rwxr-xr-xext/soap/tests/bugs/bug35142.wsdl543
-rwxr-xr-xext/soap/tests/bugs/bug35273.phpt21
-rwxr-xr-xext/soap/tests/bugs/bug36226.phpt139
-rwxr-xr-xext/soap/tests/bugs/bug36575.phpt52
-rwxr-xr-xext/soap/tests/bugs/bug36575.wsdl87
-rwxr-xr-xext/soap/tests/bugs/bug36614.phpt13
-rwxr-xr-xext/soap/tests/bugs/bug36614.wsdl204
-rwxr-xr-xext/soap/tests/bugs/bug36629.phpt53
-rwxr-xr-xext/soap/tests/bugs/bug36908.phpt46
-rwxr-xr-xext/soap/tests/bugs/bug36908.wsdl51
-rwxr-xr-xext/soap/tests/bugs/bug37083.phpt58
-rwxr-xr-xext/soap/tests/bugs/bug37083.wsdl99
-rwxr-xr-xext/soap/tests/bugs/bug37278.phpt24
-rwxr-xr-xext/soap/tests/bugs/bug38004.phpt40
-rwxr-xr-xext/soap/tests/bugs/bug38004.wsdl51
-rwxr-xr-xext/soap/tests/bugs/bug38005.phpt41
-rwxr-xr-xext/soap/tests/bugs/bug38055.phpt39
-rwxr-xr-xext/soap/tests/bugs/bug38055.wsdl49
-rwxr-xr-xext/soap/tests/bugs/bug38067.phpt40
-rwxr-xr-xext/soap/tests/bugs/bug38067.wsdl48
-rw-r--r--ext/soap/tests/bugs/skipif.inc3
-rw-r--r--ext/soap/tests/bugs/xml.xsd34
-rwxr-xr-xext/soap/tests/bugs/xml2.xsd146
67 files changed, 0 insertions, 6028 deletions
diff --git a/ext/soap/tests/bugs/bug27722.phpt b/ext/soap/tests/bugs/bug27722.phpt
deleted file mode 100644
index 5df6adb816..0000000000
--- a/ext/soap/tests/bugs/bug27722.phpt
+++ /dev/null
@@ -1,13 +0,0 @@
---TEST--
-Bug #27722 (Segfault on schema without targetNamespace)
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
---GET--
-wsdl
---FILE--
-<?php
-$x = new SoapClient(dirname(__FILE__)."/bug27722.wsdl");
-echo "ok\n";
-?>
---EXPECT--
-ok \ No newline at end of file
diff --git a/ext/soap/tests/bugs/bug27722.wsdl b/ext/soap/tests/bugs/bug27722.wsdl
deleted file mode 100644
index 51f11e6c0f..0000000000
--- a/ext/soap/tests/bugs/bug27722.wsdl
+++ /dev/null
@@ -1,92 +0,0 @@
-<?xml version="1.0" ?>
-<definitions
- xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
- xmlns:xsd="http://www.w3.org/2001/XMLSchema"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
- xmlns:si="http://soapinterop.org/xsd"
- xmlns:tns="http://linuxsrv.home/~dmitry/soap/test.wsdl"
- xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
- xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
- xmlns="http://schemas.xmlsoap.org/wsdl/"
- targetNamespace="http://linuxsrv.home/~dmitry/soap/test.wsdl">
- <types>
-<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
- <xsd:annotation>
- <xsd:documentation xml:lang="en">
- Purchase order schema for Example.com.
- Copyright 2000 Example.com. All rights reserved.
- </xsd:documentation>
- </xsd:annotation>
-
- <xsd:element name="purchaseOrder" type="PurchaseOrderType"/>
-
- <xsd:element name="comment" type="xsd:string"/>
-
- <xsd:complexType name="PurchaseOrderType">
- <xsd:sequence>
- <xsd:element name="shipTo" type="USAddress"/>
- <xsd:element name="billTo" type="USAddress"/>
- <xsd:element ref="comment" minOccurs="0"/>
- <xsd:element name="items" type="Items"/>
- </xsd:sequence>
- <xsd:attribute name="orderDate" type="xsd:date"/>
- </xsd:complexType>
-
- <xsd:complexType name="USAddress">
- <xsd:sequence>
- <xsd:element name="name" type="xsd:string"/>
- <xsd:element name="street" type="xsd:string"/>
- <xsd:element name="city" type="xsd:string"/>
- <xsd:element name="state" type="xsd:string"/>
- <xsd:element name="zip" type="xsd:decimal"/>
- </xsd:sequence>
- <xsd:attribute name="country" type="xsd:NMTOKEN"
- fixed="US"/>
- </xsd:complexType>
-
- <xsd:complexType name="Items">
- <xsd:sequence>
- <xsd:element name="item" minOccurs="0" maxOccurs="unbounded">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="productName" type="xsd:string"/>
- <xsd:element name="quantity">
- <xsd:simpleType>
- <xsd:restriction base="xsd:positiveInteger">
- <xsd:maxExclusive value="100"/>
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:element>
- <xsd:element name="USPrice" type="xsd:decimal"/>
- <xsd:element ref="comment" minOccurs="0"/>
- <xsd:element name="shipDate" type="xsd:date" minOccurs="0"/>
- </xsd:sequence>
- <xsd:attribute name="partNum" type="SKU" use="required"/>
- </xsd:complexType>
- </xsd:element>
- </xsd:sequence>
- </xsd:complexType>
-
- <!-- Stock Keeping Unit, a code for identifying products -->
- <simpleType name="SKU">
- <restriction base="xsd:string">
- <pattern value="\d{3}-[A-Z]{2}"/>
- </restriction>
- </simpleType>
-
-</xsd:schema>
-</types>
- <portType name="TestServicePortType">
- </portType>
-
- <binding name="TestServiceBinding" type="tns:TestServicePortType">
- <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http" />
- </binding>
-
- <service name="TestService">
- <port name="TestServicePort" binding="tns:TestServiceBinding">
- <soap:address location="test://" />
- </port>
- </service>
-</definitions>
diff --git a/ext/soap/tests/bugs/bug27742.phpt b/ext/soap/tests/bugs/bug27742.phpt
deleted file mode 100644
index 1de856828e..0000000000
--- a/ext/soap/tests/bugs/bug27742.phpt
+++ /dev/null
@@ -1,13 +0,0 @@
---TEST--
-Bug #27742 (WDSL SOAP Parsing Schema bug)
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
---GET--
-wsdl
---FILE--
-<?php
-$x = new SoapClient(dirname(__FILE__)."/bug27742.wsdl");
-echo "ok\n";
-?>
---EXPECT--
-ok
diff --git a/ext/soap/tests/bugs/bug27742.wsdl b/ext/soap/tests/bugs/bug27742.wsdl
deleted file mode 100644
index f38d911852..0000000000
--- a/ext/soap/tests/bugs/bug27742.wsdl
+++ /dev/null
@@ -1,854 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!-- edited with XML Spy v4.4 U (http://www.xmlspy.com) by Rakesh Vidyadharan (Enterprise Application Development Tribune Media Services) -->
-<wsdl:definitions name="xtvdWebService" targetNamespace="urn:TMSWebServices" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tms="urn:TMSWebServices" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
- <wsdl:types>
- <xsd:schema targetNamespace="urn:TMSWebServices" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tms="urn:TMSWebServices" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
- <simpleType name="duration">
- <annotation>
- <documentation xml:lang="en">ISO 8601 pattern used to denote program durations. Year, month and day are not relevent in our context and are omitted.</documentation>
- </annotation>
- <restriction base="xsd:duration">
- <pattern value="PT[0-9][0-9]H[0-5][0-9]M"/>
- </restriction>
- </simpleType>
- <simpleType name="dateTime">
- <annotation>
- <documentation xml:lang="en">ISO 8601 pattern for date+time information : YYYY-MM-DDThh:mm:ssZ</documentation>
- </annotation>
- <restriction base="xsd:dateTime">
- <pattern value="20[0-9]{2}\-[0-1][0-9]\-[0-3][0-9]T[0-2][0-9]:[0-5][0-9]:[0-5][0-9]Z"/>
- </restriction>
- </simpleType>
- <simpleType name="date">
- <annotation>
- <documentation xml:lang="en">ISO 8601 pattern for date: YYYY-MM-DD</documentation>
- </annotation>
- <restriction base="xsd:date">
- <pattern value="(19|20)[0-9]{2}\-[0-1][0-9]\-[0-3][0-9]"/>
- </restriction>
- </simpleType>
- <simpleType name="time">
- <annotation>
- <documentation xml:lang="en">ISO 8601 pattern for time of day : hh:mm:ss</documentation>
- </annotation>
- <restriction base="xsd:time">
- <pattern value="\d\d:\d\d:\d\d"/>
- </restriction>
- </simpleType>
- <simpleType name="mpaaRatings">
- <annotation>
- <documentation xml:lang="en">MPAA standard ratings for a movie as defined in the movie and TV database schemas.</documentation>
- </annotation>
- <restriction base="xsd:string">
- <enumeration value="Adult">
- <annotation>
- <documentation xml:lang="en">This is the way this rating is defined in the movies database schema.</documentation>
- </annotation>
- </enumeration>
- <enumeration value="AO">
- <annotation>
- <documentation xml:lang="en">This is the way this rating is defined in the TV database schema.</documentation>
- </annotation>
- </enumeration>
- <enumeration value="G"/>
- <enumeration value="NC-17"/>
- <enumeration value="NONE">
- <annotation>
- <documentation xml:lang="en">Films in the movie database that do not have any ratings associated with them are sometimes marked with this value.</documentation>
- </annotation>
- </enumeration>
- <enumeration value="NOT RATED">
- <annotation>
- <documentation xml:lang="en">This is the way films without any rating are defined in the movies database schema.</documentation>
- </annotation>
- </enumeration>
- <enumeration value="NR">
- <annotation>
- <documentation xml:lang="en">This is the way films without any rating are defined in the TV database schema.</documentation>
- </annotation>
- </enumeration>
- <enumeration value="PG"/>
- <enumeration value="PG-13"/>
- <enumeration value="R"/>
- </restriction>
- </simpleType>
- <simpleType name="starRating">
- <annotation>
- <documentation xml:lang="en">A Zap2it reviewer assigned rating for a given film.</documentation>
- </annotation>
- <restriction base="xsd:string">
- <enumeration value="*"/>
- <enumeration value="*+"/>
- <enumeration value="**"/>
- <enumeration value="**+"/>
- <enumeration value="***"/>
- <enumeration value="***+"/>
- <enumeration value="****"/>
- </restriction>
- </simpleType>
- <simpleType name="movieCrewRole">
- <annotation>
- <documentation xml:lang="en">The roles that are currently defined for the production crew associated with a given film.</documentation>
- </annotation>
- <restriction base="xsd:string">
- <enumeration value="Actor"/>
- <enumeration value="Director"/>
- <enumeration value="Executive Producer"/>
- <enumeration value="Guest Star"/>
- <enumeration value="Producer"/>
- <enumeration value="Writer"/>
- </restriction>
- </simpleType>
- <simpleType name="movieGenres">
- <annotation>
- <documentation xml:lang="en">The standard genres that are used to classify films in the movies database schema.</documentation>
- </annotation>
- <restriction base="xsd:string">
- <enumeration value=""/>
- <enumeration value="Action"/>
- <enumeration value="Adults only"/>
- <enumeration value="Adventure"/>
- <enumeration value="Animated musical"/>
- <enumeration value="Biography"/>
- <enumeration value="Children"/>
- <enumeration value="Comedy"/>
- <enumeration value="Comedy-drama"/>
- <enumeration value="Crime drama"/>
- <enumeration value="Docudrama"/>
- <enumeration value="Documentary"/>
- <enumeration value="Drama"/>
- <enumeration value="Fantasy"/>
- <enumeration value="French"/>
- <enumeration value="Historical drama"/>
- <enumeration value="Horror"/>
- <enumeration value="Martial arts"/>
- <enumeration value="Musical"/>
- <enumeration value="Musical comedy"/>
- <enumeration value="Musical romance"/>
- <enumeration value="Mystery"/>
- <enumeration value="Romance"/>
- <enumeration value="Romance-comedy"/>
- <enumeration value="Science fiction"/>
- <enumeration value="Spanish"/>
- <enumeration value="Suspense"/>
- <enumeration value="Suspense-comedy"/>
- <enumeration value="War"/>
- <enumeration value="Western"/>
- </restriction>
- </simpleType>
- <simpleType name="movieAdvisories">
- <annotation>
- <documentation xml:lang="en">The standard advisory messages that are associated with a movie shown on TV.</documentation>
- </annotation>
- <restriction base="xsd:string">
- <enumeration value="Adult Situations"/>
- <enumeration value="Adolescentes y Adultos"/>
- <enumeration value="Adultos"/>
- <enumeration value="Brief Nudity"/>
- <enumeration value="Graphic Language"/>
- <enumeration value="Graphic Violence"/>
- <enumeration value="Language"/>
- <enumeration value="Mild Violence"/>
- <enumeration value="Nudity"/>
- <enumeration value="Publico General"/>
- <enumeration value="Rape"/>
- <enumeration value="Strong Sexual Content"/>
- <enumeration value="Violence"/>
- </restriction>
- </simpleType>
- <simpleType name="tvRatings">
- <annotation>
- <documentation xml:lang="en">The FCC standard ratings for TV programs (http://www.fcc.gov/vchip/#guidelines)</documentation>
- </annotation>
- <restriction base="xsd:string">
- <enumeration value="TVY"/>
- <enumeration value="TVY7"/>
- <enumeration value="TVG"/>
- <enumeration value="TVPG"/>
- <enumeration value="TV14"/>
- <enumeration value="TVMA"/>
- </restriction>
- </simpleType>
- <simpleType name="tvColorCode">
- <annotation>
- <documentation>The standard color codes used to denote the color scheme used by a TV program (eg. Color, B &amp; W ...).</documentation>
- </annotation>
- <restriction base="xsd:string">
- <enumeration value="B &amp; W">
- <annotation>
- <documentation xml:lang="en">Indicates that the program is begin telecast in Black and White.</documentation>
- </annotation>
- </enumeration>
- <enumeration value="Color">
- <annotation>
- <documentation xml:lang="en">Indicates that the program being telecast is in color.</documentation>
- </annotation>
- </enumeration>
- <enumeration value="Colorized">
- <annotation>
- <documentation xml:lang="en">Indicates that the program being telecast is a colorised version of the original program.</documentation>
- </annotation>
- </enumeration>
- <enumeration value="Color and B &amp; W">
- <annotation>
- <documentation xml:lang="en">Indicates that the program being telecast is partly in color and partly in Black and White.</documentation>
- </annotation>
- </enumeration>
- </restriction>
- </simpleType>
- <attributeGroup name="filmDataAttributes">
- <annotation>
- <documentation xml:lang="en">Common attributes that are applicable to all the root elements of the XML schemas developed to represent film data.</documentation>
- </annotation>
- <attribute name="postalCode" type="xsd:string" use="optional">
- <annotation>
- <documentation xml:lang="en">The ZIP/Postal code for which the theatre list was generated.</documentation>
- </annotation>
- </attribute>
- <attribute name="radius" type="xsd:float" use="optional" default="5">
- <annotation>
- <documentation xml:lang="en">The radius around the centroid of the ZIP/Postal code within which the films are located. A default value of 20 (miles for US customers and kilometres for non-US customers) will be used if the client making the request did not specify a radius.</documentation>
- </annotation>
- </attribute>
- <attribute name="maxCount" type="xsd:int" use="optional">
- <annotation>
- <documentation xml:lang="en">The maximum number of film/theatre records that are included in the document. This number may be specified by the client making the request for the list of films/theatres/showtimes.</documentation>
- </annotation>
- </attribute>
- </attributeGroup>
- <complexType name="crewMember">
- <annotation>
- <documentation xml:lang="en">A cast or production crew member for a film or TV show.</documentation>
- </annotation>
- <sequence>
- <element name="role" type="xsd:string">
- <annotation>
- <documentation xml:lang="en">Describes the role of the crew member. Eg. Actor, Director ...</documentation>
- </annotation>
- </element>
- <element name="givenname" type="xsd:string" nillable="true">
- <annotation>
- <documentation xml:lang="en">The given/first name of the crew member. The element name follows LDAP naming convention. TMS does not have given/first names for all cast/crew members. Hence this element is nillable.</documentation>
- </annotation>
- </element>
- <element name="surname" type="xsd:string">
- <annotation>
- <documentation xml:lang="en">The surname/last-name of the crew member. The element name follows LDAP naming convention.</documentation>
- </annotation>
- </element>
- </sequence>
- </complexType>
- <complexType name="image">
- <annotation>
- <documentation>Complex type that contains the attributes of an image. The only attribute available at present is its URI.</documentation>
- </annotation>
- <sequence>
- <element name="imageUri" type="xsd:anyURI" nillable="true">
- <annotation>
- <documentation>This element contains an absolute URI to an image associated with the film.</documentation>
- </annotation>
- </element>
- <element name="width" type="xsd:string" minOccurs="0">
- <annotation>
- <documentation>This element defines the width of the image associated with the film. This element is a place holder. The width attribute is not available at present.</documentation>
- </annotation>
- </element>
- <element name="height" type="xsd:string" minOccurs="0">
- <annotation>
- <documentation>This element defines the height of the image associated with the film. This element is a place holder. The height attribute is not available at present.</documentation>
- </annotation>
- </element>
- </sequence>
- </complexType>
- <complexType name="address">
- <annotation>
- <documentation xml:lang="en">This complex type describes a generic address.</documentation>
- </annotation>
- <sequence>
- <element name="streetAddress">
- <annotation>
- <documentation xml:lang="en">This element groups together the various street address parts for the entire address.</documentation>
- </annotation>
- <complexType>
- <sequence>
- <element name="street" type="xsd:string" maxOccurs="unbounded">
- <annotation>
- <documentation xml:lang="en">This field contains each entry for the street address part of the entire address.</documentation>
- </annotation>
- </element>
- </sequence>
- </complexType>
- </element>
- <element name="city" type="xsd:string">
- <annotation>
- <documentation xml:lang="en">This field contains the city for the address.</documentation>
- </annotation>
- </element>
- <element name="state" type="xsd:string">
- <annotation>
- <documentation xml:lang="en">This field contains the name/code of the state for the address.</documentation>
- </annotation>
- </element>
- <element name="postalCode" type="xsd:string">
- <annotation>
- <documentation xml:lang="en">This field contains the ZIP/Postal code for the address.</documentation>
- </annotation>
- </element>
- <element name="telephone" type="xsd:string" minOccurs="0">
- <annotation>
- <documentation xml:lang="en">This field contains the telephone number if available for the address.</documentation>
- </annotation>
- </element>
- <element name="fax" type="xsd:string" minOccurs="0">
- <annotation>
- <documentation xml:lang="en">This field contains the fax number if available for the address.</documentation>
- </annotation>
- </element>
- <element name="mobile" type="xsd:string" minOccurs="0">
- <annotation>
- <documentation xml:lang="en">This field contains the mobile phone number if available for the address.</documentation>
- </annotation>
- </element>
- <element name="email" type="xsd:string" minOccurs="0">
- <annotation>
- <documentation xml:lang="en">This field contains the email address if available for the address.</documentation>
- </annotation>
- </element>
- <element name="country" type="xsd:string" minOccurs="0">
- <annotation>
- <documentation xml:lang="en">This field contains the country of the address.</documentation>
- </annotation>
- </element>
- </sequence>
- </complexType>
- <element name="xtvd">
- <annotation>
- <documentation>Root element of the document. @IMPORTANT : All time and dates are specified in UTC !</documentation>
- </annotation>
- <complexType>
- <sequence>
- <element ref="tms:stations"/>
- <element ref="tms:lineups"/>
- <element ref="tms:schedules"/>
- <element ref="tms:programs"/>
- <element ref="tms:productionCrew" minOccurs="0"/>
- <element ref="tms:genres"/>
- </sequence>
- <attribute name="from" type="tms:dateTime" use="required">
- <annotation>
- <documentation xml:lang="en">Date and time defining the start of the period covered by this XTVD document.</documentation>
- </annotation>
- </attribute>
- <attribute name="to" type="tms:dateTime" use="required">
- <annotation>
- <documentation xml:lang="en">Date and time defining the end of the period covered by this XTVD document.</documentation>
- </annotation>
- </attribute>
- <attribute name="schemaVersion" type="xsd:float" use="required" fixed="1.2">
- <annotation>
- <documentation xml:lang="en">Version number of the schema used to build this document.</documentation>
- </annotation>
- </attribute>
- </complexType>
- <key name="station_key">
- <selector xpath="./stations/station"/>
- <field xpath="@id"/>
- </key>
- <keyref name="station_keyref_schedule" refer="tms:station_key">
- <selector xpath="./schedules/schedule"/>
- <field xpath="@station"/>
- </keyref>
- <keyref name="station_keyref_map" refer="tms:station_key">
- <selector xpath="./lineups/lineup/map"/>
- <field xpath="@station"/>
- </keyref>
- <unique name="program_key">
- <selector xpath="./programs/program"/>
- <field xpath="@id"/>
- </unique>
- <keyref name="program_keyref" refer="tms:program_key">
- <selector xpath="./schedules/schedule"/>
- <field xpath="@program"/>
- </keyref>
- <keyref name="crew_keyref" refer="tms:program_key">
- <selector xpath="./productionCrew/crew"/>
- <field xpath="@program"/>
- </keyref>
- <keyref name="genre_keyref" refer="tms:program_key">
- <selector xpath="./genres/programGenre"/>
- <field xpath="@program"/>
- </keyref>
- <keyref name="advisory_keyref" refer="tms:program_key">
- <selector xpath="./advisories/advisory"/>
- <field xpath="@program"/>
- </keyref>
- </element>
- <element name="stations">
- <annotation>
- <documentation>Collection of user selected station elements (across all lineups).</documentation>
- </annotation>
- <complexType>
- <sequence maxOccurs="unbounded">
- <element name="station">
- <annotation>
- <documentation>Defines a TV broadcast station - each station is identified with an unique ID.</documentation>
- </annotation>
- <complexType>
- <sequence>
- <element name="callSign">
- <annotation>
- <documentation>Short name of the station (eg. CNN).</documentation>
- </annotation>
- </element>
- <element name="name" minOccurs="0">
- <annotation>
- <documentation>Long name of the station (eg. Cable News Network).</documentation>
- </annotation>
- </element>
- <element name="fccChannelNumber" type="xsd:positiveInteger" minOccurs="0">
- <annotation>
- <documentation xml:lang="en">FCC channel number of a broadcast station.</documentation>
- </annotation>
- </element>
- <element name="affiliate" type="xsd:string" minOccurs="0">
- <annotation>
- <documentation xml:lang="en">Network, cable or broadcasting group with which the station is associated.</documentation>
- </annotation>
- </element>
- </sequence>
- <attribute name="id" type="xsd:int" use="required">
- <annotation>
- <documentation xml:lang="en">ID string of the station.</documentation>
- </annotation>
- </attribute>
- </complexType>
- </element>
- </sequence>
- </complexType>
- </element>
- <element name="lineups">
- <annotation>
- <documentation>Collection of lineup elements selected by the user.</documentation>
- </annotation>
- <complexType>
- <sequence maxOccurs="unbounded">
- <element name="lineup">
- <annotation>
- <documentation>Defines all the station that were selected for the given lineup. </documentation>
- </annotation>
- <complexType>
- <sequence maxOccurs="unbounded">
- <element name="map">
- <annotation>
- <documentation>This element defines the mapping between one station and one channel number. As channel numbers may change over time, attributes to define a validity period for the mapping are available.</documentation>
- </annotation>
- <complexType>
- <sequence minOccurs="0" maxOccurs="unbounded">
- <element name="onAir">
- <annotation>
- <documentation xml:lang="en">Specifies the time(s) of day when the given station-channel mapping is in effect.</documentation>
- </annotation>
- <complexType>
- <attribute name="from" type="tms:time" use="required">
- <annotation>
- <documentation xml:lang="en">The time of day from which the station-channel mapping is effective.</documentation>
- </annotation>
- </attribute>
- <attribute name="to" type="tms:time" use="required">
- <annotation>
- <documentation xml:lang="en">The time of day until which the station-channel mapping is effective.</documentation>
- </annotation>
- </attribute>
- </complexType>
- </element>
- </sequence>
- <attribute name="station" type="xsd:int" use="required">
- <annotation>
- <documentation xml:lang="en">Reference to a station.</documentation>
- </annotation>
- </attribute>
- <attribute name="channel" type="xsd:positiveInteger" use="required">
- <annotation>
- <documentation xml:lang="en">Channel number associated to the station.</documentation>
- </annotation>
- </attribute>
- <attribute name="channelMinor" type="xsd:positiveInteger" use="optional">
- <annotation>
- <documentation xml:lang="en">The major channel (the channel attribute) number is used to group all services associated with a broadcaster's NTSC brand, for example Channel 4. The minor channel number specifies a particular channel within that group. Zero (0) is reserved for the NTSC channel; all other values (1-999) are allowed for digital services. One common approach is to start with 1 and to continue numerically for different programming services.</documentation>
- </annotation>
- </attribute>
- <attribute name="from" type="tms:date" use="optional">
- <annotation>
- <documentation xml:lang="en">Date from which the mapping is valid, according to the validity period of the whole XTVD document. @IMPORTANT : It is assumed that the change will occur at midnight.</documentation>
- </annotation>
- </attribute>
- <attribute name="to" type="tms:date" use="optional">
- <annotation>
- <documentation xml:lang="en">Date untill which the mapping is valid, within the validity period of the whole XTVD document. @IMPORTANT : The change will occur at midnight.</documentation>
- </annotation>
- </attribute>
- </complexType>
- </element>
- </sequence>
- <attribute name="name" type="xsd:string" use="required">
- <annotation>
- <documentation xml:lang="en">Name given to the lineup.</documentation>
- </annotation>
- </attribute>
- <attribute name="type" type="tms:lineupTypes" use="required">
- <annotation>
- <documentation xml:lang="en">Defines the type of the lineup (CABLE, SATELLITE, ...).</documentation>
- </annotation>
- </attribute>
- <attribute name="device" type="xsd:string" use="optional">
- <annotation>
- <documentation xml:lang="en">The name of the device associated with the headend.</documentation>
- </annotation>
- </attribute>
- <attribute name="postalCode" type="xsd:string" use="optional">
- <annotation>
- <documentation xml:lang="en">The ZIP/Postal code for which the specified lineup was selected by the user.</documentation>
- </annotation>
- </attribute>
- </complexType>
- </element>
- </sequence>
- </complexType>
- </element>
- <element name="schedules">
- <annotation>
- <documentation>Contain all schedule records (across all selected lineups).</documentation>
- </annotation>
- <complexType>
- <sequence maxOccurs="unbounded">
- <annotation>
- <documentation>Sequence of schedule records.</documentation>
- </annotation>
- <element name="schedule">
- <annotation>
- <documentation>Describes a schedule entry.</documentation>
- </annotation>
- <complexType>
- <sequence minOccurs="0">
- <element name="part" minOccurs="0">
- <annotation>
- <documentation>Designates which part, when a program is split into 2 or more viewings.</documentation>
- </annotation>
- <complexType>
- <attribute name="number" use="required">
- <annotation>
- <documentation xml:lang="en">Designates which part, when a program is split into 2 or more viewings. </documentation>
- </annotation>
- <simpleType>
- <restriction base="xsd:unsignedInt">
- <minInclusive value="1"/>
- </restriction>
- </simpleType>
- </attribute>
- <attribute name="total" use="required">
- <annotation>
- <documentation xml:lang="en">Designates when a program is split into 2 or more parts for viewing. </documentation>
- </annotation>
- <simpleType>
- <restriction base="xsd:unsignedInt">
- <minInclusive value="2"/>
- </restriction>
- </simpleType>
- </attribute>
- </complexType>
- </element>
- </sequence>
- <attribute name="program" type="xsd:string" use="required">
- <annotation>
- <documentation xml:lang="en">Reference to a program ID.</documentation>
- </annotation>
- </attribute>
- <attribute name="station" type="xsd:int" use="required">
- <annotation>
- <documentation xml:lang="en">Reference to a station ID.</documentation>
- </annotation>
- </attribute>
- <attribute name="time" type="tms:dateTime" use="required">
- <annotation>
- <documentation xml:lang="en">Air date and time for the schedule.</documentation>
- </annotation>
- </attribute>
- <attribute name="duration" type="tms:duration" use="required">
- <annotation>
- <documentation xml:lang="en">Duration of the schedule.</documentation>
- </annotation>
- </attribute>
- <attribute name="repeat" type="xsd:boolean" use="optional">
- <annotation>
- <documentation xml:lang="en">Designates a program which has been aired previously.</documentation>
- </annotation>
- </attribute>
- <attribute name="tvRating" type="tms:tvRatings" use="optional">
- <annotation>
- <documentation xml:lang="en">The FCC standard ratings applied to TV shows.</documentation>
- </annotation>
- </attribute>
- <attribute name="stereo" type="xsd:boolean" use="optional">
- <annotation>
- <documentation xml:lang="en">Indicates whether the program has stereo sound or not.</documentation>
- </annotation>
- </attribute>
- <attribute name="subtitled" type="xsd:boolean" use="optional">
- <annotation>
- <documentation xml:lang="en">Indicates whether the program has subtitles.</documentation>
- </annotation>
- </attribute>
- <attribute name="hdtv" type="xsd:boolean" use="optional">
- <annotation>
- <documentation xml:lang="en">Indicates whether the program broadcast is HDTV compatible.</documentation>
- </annotation>
- </attribute>
- <attribute name="closeCaptioned" type="xsd:boolean" use="optional">
- <annotation>
- <documentation xml:lang="en">Indicates whether the program has closed captions.</documentation>
- </annotation>
- </attribute>
- </complexType>
- </element>
- </sequence>
- </complexType>
- </element>
- <element name="programs">
- <annotation>
- <documentation>Contains all the program records that are referenced by the schedule records.</documentation>
- </annotation>
- <complexType>
- <sequence maxOccurs="unbounded">
- <element name="program" minOccurs="0">
- <annotation>
- <documentation>Defines a program entry.</documentation>
- </annotation>
- <complexType>
- <sequence>
- <element name="title" type="xsd:string">
- <annotation>
- <documentation>Title of the program.</documentation>
- </annotation>
- </element>
- <element name="subtitle" type="xsd:string" minOccurs="0">
- <annotation>
- <documentation>Subtitle of the program (episode title, game title, ...)</documentation>
- </annotation>
- </element>
- <element name="description" type="xsd:string" minOccurs="0">
- <annotation>
- <documentation>Word string that describes the program.</documentation>
- </annotation>
- </element>
- <element name="mpaaRating" type="tms:mpaaRatings" minOccurs="0">
- <annotation>
- <documentation>MPAA rating of the program (applies to movies only).</documentation>
- </annotation>
- </element>
- <element name="starRating" type="tms:starRating" minOccurs="0">
- <annotation>
- <documentation>Star rating of the program (applies to movies only).</documentation>
- </annotation>
- </element>
- <element name="runTime" type="tms:duration" minOccurs="0">
- <annotation>
- <documentation>Actual length of the program. Not the same as schedule/@duration. Applies to movies only.</documentation>
- </annotation>
- </element>
- <element name="year" type="xsd:gYear" minOccurs="0">
- <annotation>
- <documentation>The year in which a feature film was released; YYYY format. Applies to movies only.</documentation>
- </annotation>
- </element>
- <element name="showType" type="xsd:string" minOccurs="0">
- <annotation>
- <documentation xml:lang="en">Distinguishes how a program was originally produced and/or distributed.</documentation>
- </annotation>
- </element>
- <element name="series" type="xsd:string" minOccurs="0">
- <annotation>
- <documentation xml:lang="en">The series ID associated with episodic programs. For instance an episode with programId "EP5544720193" has a series ID "SH5544720000". The series ID may be used to group together all episodes for a given series.</documentation>
- </annotation>
- </element>
- <element name="colorCode" type="tms:tvColorCode" minOccurs="0">
- <annotation>
- <documentation xml:lang="en">Indicates whether the program is in black and white, colorized or color. Since most programs are in "Color" this element will be populated only if a program is not in "Color".</documentation>
- </annotation>
- </element>
- <element name="advisories" minOccurs="0">
- <annotation>
- <documentation xml:lang="en">This element groups together all the advisories associated with the program. Advisories apply only to movies.</documentation>
- </annotation>
- <complexType>
- <sequence maxOccurs="6">
- <element name="advisory" type="tms:movieAdvisories">
- <annotation>
- <documentation xml:lang="en">An individual advisory message associated with the movie.</documentation>
- </annotation>
- </element>
- </sequence>
- </complexType>
- </element>
- </sequence>
- <attribute name="id" type="xsd:string" use="required">
- <annotation>
- <documentation xml:lang="en">Unique ID of the program.</documentation>
- </annotation>
- </attribute>
- </complexType>
- </element>
- </sequence>
- </complexType>
- </element>
- <element name="productionCrew">
- <annotation>
- <documentation>Contains information about the personnel associated with each program record.</documentation>
- </annotation>
- <complexType>
- <sequence maxOccurs="unbounded">
- <element name="crew">
- <annotation>
- <documentation xml:lang="en">This element groups together all the crew members associated with the given program.</documentation>
- </annotation>
- <complexType>
- <sequence maxOccurs="unbounded">
- <element name="member" type="tms:crewMember">
- <annotation>
- <documentation xml:lang="en">This element describes an individual production crew member associated with a program.</documentation>
- </annotation>
- </element>
- </sequence>
- <attribute name="program" type="xsd:string" use="required"/>
- </complexType>
- </element>
- </sequence>
- </complexType>
- </element>
- <element name="genres">
- <annotation>
- <documentation xml:lang="en">Containes genre information where available for the program records. A program may have more than one genre with different relevence factors.</documentation>
- </annotation>
- <complexType>
- <sequence maxOccurs="unbounded">
- <element name="programGenre">
- <annotation>
- <documentation xml:lang="en">This element groups together all the genres under which the specified program falls.</documentation>
- </annotation>
- <complexType>
- <sequence maxOccurs="unbounded">
- <element name="genre">
- <annotation>
- <documentation xml:lang="en">This element groups together the different elements associated with each genre with which the program is associated.</documentation>
- </annotation>
- <complexType>
- <sequence>
- <element name="class" type="xsd:string">
- <annotation>
- <documentation xml:lang="en">The genre that is associated with a specified program record.</documentation>
- </annotation>
- </element>
- <element name="relevance" type="xsd:int">
- <annotation>
- <documentation xml:lang="en">A relevence factor that applies to the genre classification for the program. A relevence factor of 1 indicates that this is the top-level genre under which the program is classified.</documentation>
- </annotation>
- </element>
- </sequence>
- </complexType>
- </element>
- </sequence>
- <attribute name="program" type="xsd:string" use="required"/>
- </complexType>
- </element>
- </sequence>
- </complexType>
- </element>
- <simpleType name="lineupTypes">
- <annotation>
- <documentation xml:lang="en">Standard lineup types.</documentation>
- </annotation>
- <restriction base="xsd:string">
- <enumeration value="Cable"/>
- <enumeration value="CableDigital"/>
- <enumeration value="Satellite"/>
- <enumeration value="LocalBroadcast"/>
- </restriction>
- </simpleType>
- <xsd:complexType name="xtvdResponse">
- <xsd:sequence>
- <xsd:element name="messages">
- <xsd:annotation>
- <xsd:documentation xml:lang="en">A collection of messages that may be sent back by the server to the client. Messages are usually used by the server to notify the user of changes to their subscription caused by automatic changes in station's that are part of their subscription. For instance, messages are passed back if a lineup selected by the user is no-longer valid, if all the stations selected by the user has been removed as they are no longer valid ... </xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence maxOccurs="unbounded" minOccurs="0">
- <xsd:element name="message" type="xsd:string">
- <xsd:annotation>
- <xsd:documentation xml:lang="en">An individual message that is passed back by the server.</xsd:documentation>
- </xsd:annotation>
- </xsd:element>
- </xsd:sequence>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="xtvdDocument" type="tms:xtvd"/>
- </xsd:sequence>
- </xsd:complexType>
- </xsd:schema>
- </wsdl:types>
- <wsdl:message name="downloadResponse">
- <wsdl:part name="xtvdResponse" type="tms:xtvdResponse"/>
- </wsdl:message>
- <wsdl:message name="downloadRequest">
- <wsdl:part name="startTime" type="tms:dateTime"/>
- <wsdl:part name="endTime" type="tms:dateTime"/>
- </wsdl:message>
- <wsdl:message name="activateRequest">
- <wsdl:part name="deviceType" type="xsd:string"/>
- <wsdl:part name="activationKey" type="xsd:string"/>
- </wsdl:message>
- <wsdl:message name="webserviceFault"/>
- <wsdl:message name="activateResponse"/>
- <wsdl:portType name="xtvdPortType">
- <wsdl:operation name="activate">
- <wsdl:input message="tms:activateRequest"/>
- <wsdl:output message="tms:activateResponse"/>
- <wsdl:fault message="tms:webserviceFault" name="webserviceFault"/>
- </wsdl:operation>
- <wsdl:operation name="download">
- <wsdl:input message="tms:downloadRequest"/>
- <wsdl:output message="tms:downloadResponse"/>
- <wsdl:fault message="tms:webserviceFault" name="webserviceFault"/>
- </wsdl:operation>
- </wsdl:portType>
- <wsdl:binding name="xtvdBinding" type="tms:xtvdPortType">
- <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
- <wsdl:operation name="activate">
- <soap:operation soapAction="urn:TMSWebServices:xtvdWebService#activate"/>
- <wsdl:input>
- <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:TMSWebServices" use="encoded"/>
- </wsdl:input>
- <wsdl:output>
- <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="encoded"/>
- </wsdl:output>
- <wsdl:fault name="webserviceFault">
- <soap:fault encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" name="tms:webserviceFault" namespace="urn:TMSWebServices" use="encoded"/>
- </wsdl:fault>
- </wsdl:operation>
- <wsdl:operation name="download">
- <soap:operation soapAction="urn:TMSWebServices:xtvdWebService#download"/>
- <wsdl:input>
- <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:TMSWebServices" use="encoded"/>
- </wsdl:input>
- <wsdl:output>
- <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="encoded"/>
- </wsdl:output>
- <wsdl:fault name="webserviceFault">
- <soap:fault encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" name="tms:webserviceFault" namespace="urn:TMSWebServices" use="encoded"/>
- </wsdl:fault>
- </wsdl:operation>
- </wsdl:binding>
- <wsdl:service name="xtvdWebService">
- <wsdl:port binding="tms:xtvdBinding" name="xtvdWebServicePort">
- <soap:address location="http://datadirect.webservices.zap2it.com/tvlistings/xtvdService"/>
- </wsdl:port>
- </wsdl:service>
-</wsdl:definitions>
diff --git a/ext/soap/tests/bugs/bug28751.phpt b/ext/soap/tests/bugs/bug28751.phpt
deleted file mode 100644
index a37a2c15eb..0000000000
--- a/ext/soap/tests/bugs/bug28751.phpt
+++ /dev/null
@@ -1,38 +0,0 @@
---TEST--
-Bug #28751 (SoapServer does not call _autoload())
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
---FILE--
-<?php
-function __autoload($className) {
- class SoapServerActions {
- function test() {
- return "Hello World";
- }
- }
-}
-
-$server = new SoapServer(NULL, array('uri'=>"http://testuri.org"));
-$server->setClass("SoapServerActions");
-
-$HTTP_RAW_POST_DATA = <<<EOF
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<SOAP-ENV:Envelope
- SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
- xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
- xmlns:xsd="http://www.w3.org/2001/XMLSchema"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns:si="http://soapinterop.org/xsd">
- <SOAP-ENV:Body>
- <ns1:test xmlns:ns1="http://testuri.org" />
- </SOAP-ENV:Body>
-</SOAP-ENV:Envelope>
-EOF;
-
-$server->handle();
-echo "ok\n";
-?>
---EXPECT--
-<?xml version="1.0" encoding="UTF-8"?>
-<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://testuri.org" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body><ns1:testResponse><return xsi:type="xsd:string">Hello World</return></ns1:testResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>
-ok
diff --git a/ext/soap/tests/bugs/bug28969.phpt b/ext/soap/tests/bugs/bug28969.phpt
deleted file mode 100644
index 6634888eac..0000000000
--- a/ext/soap/tests/bugs/bug28969.phpt
+++ /dev/null
@@ -1,38 +0,0 @@
---TEST--
-Bug #28969 (Wrong data encoding of special characters)
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
---FILE--
-<?php
-function test() {
- return "¦è¥";
-// return utf8_encode("¦è¥");
-}
-
-class LocalSoapClient extends SoapClient {
-
- function __construct($wsdl, $options) {
- parent::__construct($wsdl, $options);
- $this->server = new SoapServer($wsdl, $options);
- $this->server->addFunction('test');
- }
-
- function __doRequest($request, $location, $action, $version) {
- ob_start();
- $this->server->handle($request);
- $response = ob_get_contents();
- ob_end_clean();
- return $response;
- }
-
-}
-
-$x = new LocalSoapClient(NULL,array('location'=>'test://',
- 'uri'=>'http://testuri.org',
- 'encoding'=>'ISO-8859-1'));
-var_dump($x->test());
-echo "ok\n";
-?>
---EXPECT--
-string(3) "¦è¥"
-ok
diff --git a/ext/soap/tests/bugs/bug28985.phpt b/ext/soap/tests/bugs/bug28985.phpt
deleted file mode 100644
index 291cce0cbb..0000000000
--- a/ext/soap/tests/bugs/bug28985.phpt
+++ /dev/null
@@ -1,204 +0,0 @@
---TEST--
-Bug #28985 (__getTypes() returning nothing on complex WSDL)
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
---FILE--
-<?php
-$client = new SOAPClient(dirname(__FILE__).'/bug28985.wsdl', array('trace'=>1));
-var_dump($client->__getTypes());
-?>
---EXPECT--
-array(42) {
- [0]=>
- string(100) "struct LoginMGDIS {
- string iUserLogin;
- string iUserId;
- string iUserPassword;
- string iProfilId;
-}"
- [1]=>
- string(29) "struct LoginMGDISResponse {
-}"
- [2]=>
- string(28) "struct GetIdentification {
-}"
- [3]=>
- string(77) "struct GetIdentificationResponse {
- ArrayOfAnyType GetIdentificationResult;
-}"
- [4]=>
- string(43) "struct ArrayOfAnyType {
- anyType anyType;
-}"
- [5]=>
- string(37) "struct RollbackCurrentTransaction {
-}"
- [6]=>
- string(45) "struct RollbackCurrentTransactionResponse {
-}"
- [7]=>
- string(68) "struct GetListeProfil {
- string iUserLogin;
- string iUserPassword;
-}"
- [8]=>
- string(86) "struct MGCodeLibelle {
- string Code;
- string Libelle;
- boolean Defaut;
- anyType Tag;
-}"
- [9]=>
- string(61) "struct ArrayOfMGCodeLibelle {
- MGCodeLibelle MGCodeLibelle;
-}"
- [10]=>
- string(77) "struct GetListeProfilResponse {
- ArrayOfMGCodeLibelle GetListeProfilResult;
-}"
- [11]=>
- string(41) "struct GetListeValCodif {
- string Code;
-}"
- [12]=>
- string(43) "struct ArrayOfMGCodif {
- MGCodif MGCodif;
-}"
- [13]=>
- string(18) "struct MGCodif {
-}"
- [14]=>
- string(75) "struct GetListeValCodifResponse {
- ArrayOfMGCodif GetListeValCodifResult;
-}"
- [15]=>
- string(39) "struct TestPhpSoap {
- MGCodif entree;
-}"
- [16]=>
- string(57) "struct TestPhpSoapResponse {
- string TestPhpSoapResult;
-}"
- [17]=>
- string(50) "struct GetListeCodif {
- boolean iGetListeValeur;
-}"
- [18]=>
- string(87) "struct MGCodifGrp {
- string TypeCodif;
- string LibCodif;
- ArrayOfMGCodif ListeCodifs;
-}"
- [19]=>
- string(52) "struct ArrayOfMGCodifGrp {
- MGCodifGrp MGCodifGrp;
-}"
- [20]=>
- string(72) "struct GetListeCodifResponse {
- ArrayOfMGCodifGrp GetListeCodifResult;
-}"
- [21]=>
- string(57) "struct DroitCreation {
- string iObjet;
- string iProfil;
-}"
- [22]=>
- string(62) "struct DroitCreationResponse {
- boolean DroitCreationResult;
-}"
- [23]=>
- string(74) "struct ListeDroitCreation {
- ArrayOfString iListeObjet;
- string iProfil;
-}"
- [24]=>
- string(40) "struct ArrayOfString {
- string string;
-}"
- [25]=>
- string(79) "struct ListeDroitCreationResponse {
- ArrayOfAnyType ListeDroitCreationResult;
-}"
- [26]=>
- string(87) "struct GetDroitsObjetProtege {
- string iObjet;
- string iProfil;
- string iUtilisateur;
-}"
- [27]=>
- string(154) "struct MGDroitsObjetProtege {
- string LbUti;
- string LbProf;
- string LbServ;
- string LbDir;
- boolean isProtected;
- ArrayOfMGDroitAcces ListeDroitsAcces;
-}"
- [28]=>
- string(58) "struct ArrayOfMGDroitAcces {
- MGDroitAcces MGDroitAcces;
-}"
- [29]=>
- string(104) "struct MGDroitAcces {
- string IdProfil;
- boolean Lecture;
- boolean Modification;
- boolean Suppression;
-}"
- [30]=>
- string(91) "struct GetDroitsObjetProtegeResponse {
- MGDroitsObjetProtege GetDroitsObjetProtegeResult;
-}"
- [31]=>
- string(76) "struct GetPrivileges {
- string iIdSupport;
- int iIdForme;
- string iProfil;
-}"
- [32]=>
- string(68) "struct GetPrivilegesResponse {
- ArrayOfString GetPrivilegesResult;
-}"
- [33]=>
- string(46) "struct GetLibelleProfil {
- string iIdProfil;
-}"
- [34]=>
- string(67) "struct GetLibelleProfilResponse {
- string GetLibelleProfilResult;
-}"
- [35]=>
- string(91) "struct GetValeurRecherche {
- string iChampSource;
- string iTable;
- string iOrderByClause;
-}"
- [36]=>
- string(78) "struct GetValeurRechercheResponse {
- ArrayOfString GetValeurRechercheResult;
-}"
- [37]=>
- string(128) "struct GetValeurRechercheWithClauseWhere {
- string iChampSource;
- string iTable;
- string iClauseWhere;
- string iOrderByClause;
-}"
- [38]=>
- string(108) "struct GetValeurRechercheWithClauseWhereResponse {
- ArrayOfString GetValeurRechercheWithClauseWhereResult;
-}"
- [39]=>
- string(27) "struct GetEnvironnement {
-}"
- [40]=>
- string(106) "struct MGEnvironnement {
- string RepBureautique;
- string RepBureautiqueImage;
- string RepBureautiqueDoc;
-}"
- [41]=>
- string(76) "struct GetEnvironnementResponse {
- MGEnvironnement GetEnvironnementResult;
-}"
-} \ No newline at end of file
diff --git a/ext/soap/tests/bugs/bug28985.wsdl b/ext/soap/tests/bugs/bug28985.wsdl
deleted file mode 100644
index ee528818bb..0000000000
--- a/ext/soap/tests/bugs/bug28985.wsdl
+++ /dev/null
@@ -1,683 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
-xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
-xmlns:s="http://www.w3.org/2001/XMLSchema"
-xmlns:s0="http://tempuri.org/"
-xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
-xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/"
-xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
-targetNamespace="http://tempuri.org/"
-xmlns="http://schemas.xmlsoap.org/wsdl/">
- <types>
- <s:schema elementFormDefault="qualified"
-targetNamespace="http://tempuri.org/">
- <s:element name="LoginMGDIS">
- <s:complexType>
- <s:sequence>
- <s:element minOccurs="0" maxOccurs="1" name="iUserLogin"
-type="s:string" />
- <s:element minOccurs="0" maxOccurs="1" name="iUserId"
-type="s:string" />
- <s:element minOccurs="0" maxOccurs="1" name="iUserPassword"
-type="s:string" />
- <s:element minOccurs="0" maxOccurs="1" name="iProfilId"
-type="s:string" />
- </s:sequence>
- </s:complexType>
- </s:element>
- <s:element name="LoginMGDISResponse">
- <s:complexType />
- </s:element>
- <s:element name="GetIdentification">
- <s:complexType />
- </s:element>
- <s:element name="GetIdentificationResponse">
- <s:complexType>
- <s:sequence>
- <s:element minOccurs="0" maxOccurs="1"
-name="GetIdentificationResult" type="s0:ArrayOfAnyType" />
- </s:sequence>
- </s:complexType>
- </s:element>
- <s:complexType name="ArrayOfAnyType">
- <s:sequence>
- <s:element minOccurs="0" maxOccurs="unbounded" name="anyType"
-nillable="true" />
- </s:sequence>
- </s:complexType>
- <s:element name="RollbackCurrentTransaction">
- <s:complexType />
- </s:element>
- <s:element name="RollbackCurrentTransactionResponse">
- <s:complexType />
- </s:element>
- <s:element name="GetListeProfil">
- <s:complexType>
- <s:sequence>
- <s:element minOccurs="0" maxOccurs="1" name="iUserLogin"
-type="s:string" />
- <s:element minOccurs="0" maxOccurs="1" name="iUserPassword"
-type="s:string" />
- </s:sequence>
- </s:complexType>
- </s:element>
- <s:complexType name="MGCodeLibelle">
- <s:sequence>
- <s:element minOccurs="0" maxOccurs="1" name="Code"
-type="s:string" />
- <s:element minOccurs="0" maxOccurs="1" name="Libelle"
-type="s:string" />
- <s:element minOccurs="1" maxOccurs="1" name="Defaut"
-type="s:boolean" />
- <s:element minOccurs="0" maxOccurs="1" name="Tag" />
- </s:sequence>
- </s:complexType>
- <s:complexType name="ArrayOfMGCodeLibelle">
- <s:sequence>
- <s:element minOccurs="0" maxOccurs="unbounded"
-name="MGCodeLibelle" nillable="true" type="s0:MGCodeLibelle" />
- </s:sequence>
- </s:complexType>
- <s:element name="GetListeProfilResponse">
- <s:complexType>
- <s:sequence>
- <s:element minOccurs="0" maxOccurs="1"
-name="GetListeProfilResult" type="s0:ArrayOfMGCodeLibelle" />
- </s:sequence>
- </s:complexType>
- </s:element>
- <s:element name="GetListeValCodif">
- <s:complexType>
- <s:sequence>
- <s:element minOccurs="0" maxOccurs="1" name="Code"
-type="s:string" />
- </s:sequence>
- </s:complexType>
- </s:element>
- <s:complexType name="ArrayOfMGCodif">
- <s:sequence>
- <s:element minOccurs="0" maxOccurs="unbounded" name="MGCodif"
-nillable="true" type="s0:MGCodif" />
- </s:sequence>
- </s:complexType>
- <s:complexType name="MGCodif">
- <s:complexContent mixed="false">
- <s:extension base="s0:MGCodeLibelle" />
- </s:complexContent>
- </s:complexType>
- <s:element name="GetListeValCodifResponse">
- <s:complexType>
- <s:sequence>
- <s:element minOccurs="0" maxOccurs="1"
-name="GetListeValCodifResult" type="s0:ArrayOfMGCodif" />
- </s:sequence>
- </s:complexType>
- </s:element>
- <s:element name="TestPhpSoap">
- <s:complexType>
- <s:sequence>
- <s:element minOccurs="0" maxOccurs="1" name="entree"
-type="s0:MGCodif" />
- </s:sequence>
- </s:complexType>
- </s:element>
- <s:element name="TestPhpSoapResponse">
- <s:complexType>
- <s:sequence>
- <s:element minOccurs="0" maxOccurs="1"
-name="TestPhpSoapResult" type="s:string" />
- </s:sequence>
- </s:complexType>
- </s:element>
- <s:element name="GetListeCodif">
- <s:complexType>
- <s:sequence>
- <s:element minOccurs="1" maxOccurs="1"
-name="iGetListeValeur" type="s:boolean" />
- </s:sequence>
- </s:complexType>
- </s:element>
- <s:complexType name="MGCodifGrp">
- <s:sequence>
- <s:element minOccurs="0" maxOccurs="1" name="TypeCodif"
-type="s:string" />
- <s:element minOccurs="0" maxOccurs="1" name="LibCodif"
-type="s:string" />
- <s:element minOccurs="0" maxOccurs="1" name="ListeCodifs"
-type="s0:ArrayOfMGCodif" />
- </s:sequence>
- </s:complexType>
- <s:complexType name="ArrayOfMGCodifGrp">
- <s:sequence>
- <s:element minOccurs="0" maxOccurs="unbounded"
-name="MGCodifGrp" nillable="true" type="s0:MGCodifGrp" />
- </s:sequence>
- </s:complexType>
- <s:element name="GetListeCodifResponse">
- <s:complexType>
- <s:sequence>
- <s:element minOccurs="0" maxOccurs="1"
-name="GetListeCodifResult" type="s0:ArrayOfMGCodifGrp" />
- </s:sequence>
- </s:complexType>
- </s:element>
- <s:element name="DroitCreation">
- <s:complexType>
- <s:sequence>
- <s:element minOccurs="0" maxOccurs="1" name="iObjet"
-type="s:string" />
- <s:element minOccurs="0" maxOccurs="1" name="iProfil"
-type="s:string" />
- </s:sequence>
- </s:complexType>
- </s:element>
- <s:element name="DroitCreationResponse">
- <s:complexType>
- <s:sequence>
- <s:element minOccurs="1" maxOccurs="1"
-name="DroitCreationResult" type="s:boolean" />
- </s:sequence>
- </s:complexType>
- </s:element>
- <s:element name="ListeDroitCreation">
- <s:complexType>
- <s:sequence>
- <s:element minOccurs="0" maxOccurs="1" name="iListeObjet"
-type="s0:ArrayOfString" />
- <s:element minOccurs="0" maxOccurs="1" name="iProfil"
-type="s:string" />
- </s:sequence>
- </s:complexType>
- </s:element>
- <s:complexType name="ArrayOfString">
- <s:sequence>
- <s:element minOccurs="0" maxOccurs="unbounded" name="string"
-nillable="true" type="s:string" />
- </s:sequence>
- </s:complexType>
- <s:element name="ListeDroitCreationResponse">
- <s:complexType>
- <s:sequence>
- <s:element minOccurs="0" maxOccurs="1"
-name="ListeDroitCreationResult" type="s0:ArrayOfAnyType" />
- </s:sequence>
- </s:complexType>
- </s:element>
- <s:element name="GetDroitsObjetProtege">
- <s:complexType>
- <s:sequence>
- <s:element minOccurs="0" maxOccurs="1" name="iObjet"
-type="s:string" />
- <s:element minOccurs="0" maxOccurs="1" name="iProfil"
-type="s:string" />
- <s:element minOccurs="0" maxOccurs="1" name="iUtilisateur"
-type="s:string" />
- </s:sequence>
- </s:complexType>
- </s:element>
- <s:complexType name="MGDroitsObjetProtege">
- <s:sequence>
- <s:element minOccurs="0" maxOccurs="1" name="LbUti"
-type="s:string" />
- <s:element minOccurs="0" maxOccurs="1" name="LbProf"
-type="s:string" />
- <s:element minOccurs="0" maxOccurs="1" name="LbServ"
-type="s:string" />
- <s:element minOccurs="0" maxOccurs="1" name="LbDir"
-type="s:string" />
- <s:element minOccurs="1" maxOccurs="1" name="isProtected"
-type="s:boolean" />
- <s:element minOccurs="0" maxOccurs="1" name="ListeDroitsAcces"
-type="s0:ArrayOfMGDroitAcces" />
- </s:sequence>
- </s:complexType>
- <s:complexType name="ArrayOfMGDroitAcces">
- <s:sequence>
- <s:element minOccurs="0" maxOccurs="unbounded"
-name="MGDroitAcces" nillable="true" type="s0:MGDroitAcces" />
- </s:sequence>
- </s:complexType>
- <s:complexType name="MGDroitAcces">
- <s:sequence>
- <s:element minOccurs="0" maxOccurs="1" name="IdProfil"
-type="s:string" />
- <s:element minOccurs="1" maxOccurs="1" name="Lecture"
-type="s:boolean" />
- <s:element minOccurs="1" maxOccurs="1" name="Modification"
-type="s:boolean" />
- <s:element minOccurs="1" maxOccurs="1" name="Suppression"
-type="s:boolean" />
- </s:sequence>
- </s:complexType>
- <s:element name="GetDroitsObjetProtegeResponse">
- <s:complexType>
- <s:sequence>
- <s:element minOccurs="0" maxOccurs="1"
-name="GetDroitsObjetProtegeResult" type="s0:MGDroitsObjetProtege" />
- </s:sequence>
- </s:complexType>
- </s:element>
- <s:element name="GetPrivileges">
- <s:complexType>
- <s:sequence>
- <s:element minOccurs="0" maxOccurs="1" name="iIdSupport"
-type="s:string" />
- <s:element minOccurs="1" maxOccurs="1" name="iIdForme"
-type="s:int" />
- <s:element minOccurs="0" maxOccurs="1" name="iProfil"
-type="s:string" />
- </s:sequence>
- </s:complexType>
- </s:element>
- <s:element name="GetPrivilegesResponse">
- <s:complexType>
- <s:sequence>
- <s:element minOccurs="0" maxOccurs="1"
-name="GetPrivilegesResult" type="s0:ArrayOfString" />
- </s:sequence>
- </s:complexType>
- </s:element>
- <s:element name="GetLibelleProfil">
- <s:complexType>
- <s:sequence>
- <s:element minOccurs="0" maxOccurs="1" name="iIdProfil"
-type="s:string" />
- </s:sequence>
- </s:complexType>
- </s:element>
- <s:element name="GetLibelleProfilResponse">
- <s:complexType>
- <s:sequence>
- <s:element minOccurs="0" maxOccurs="1"
-name="GetLibelleProfilResult" type="s:string" />
- </s:sequence>
- </s:complexType>
- </s:element>
- <s:element name="GetValeurRecherche">
- <s:complexType>
- <s:sequence>
- <s:element minOccurs="0" maxOccurs="1" name="iChampSource"
-type="s:string" />
- <s:element minOccurs="0" maxOccurs="1" name="iTable"
-type="s:string" />
- <s:element minOccurs="0" maxOccurs="1" name="iOrderByClause"
-type="s:string" />
- </s:sequence>
- </s:complexType>
- </s:element>
- <s:element name="GetValeurRechercheResponse">
- <s:complexType>
- <s:sequence>
- <s:element minOccurs="0" maxOccurs="1"
-name="GetValeurRechercheResult" type="s0:ArrayOfString" />
- </s:sequence>
- </s:complexType>
- </s:element>
- <s:element name="GetValeurRechercheWithClauseWhere">
- <s:complexType>
- <s:sequence>
- <s:element minOccurs="0" maxOccurs="1" name="iChampSource"
-type="s:string" />
- <s:element minOccurs="0" maxOccurs="1" name="iTable"
-type="s:string" />
- <s:element minOccurs="0" maxOccurs="1" name="iClauseWhere"
-type="s:string" />
- <s:element minOccurs="0" maxOccurs="1" name="iOrderByClause"
-type="s:string" />
- </s:sequence>
- </s:complexType>
- </s:element>
- <s:element name="GetValeurRechercheWithClauseWhereResponse">
- <s:complexType>
- <s:sequence>
- <s:element minOccurs="0" maxOccurs="1"
-name="GetValeurRechercheWithClauseWhereResult" type="s0:ArrayOfString"
-/>
- </s:sequence>
- </s:complexType>
- </s:element>
- <s:element name="GetEnvironnement">
- <s:complexType />
- </s:element>
- <s:complexType name="MGEnvironnement">
- <s:sequence>
- <s:element minOccurs="0" maxOccurs="1" name="RepBureautique"
-type="s:string" />
- <s:element minOccurs="0" maxOccurs="1"
-name="RepBureautiqueImage" type="s:string" />
- <s:element minOccurs="0" maxOccurs="1"
-name="RepBureautiqueDoc" type="s:string" />
- </s:sequence>
- </s:complexType>
- <s:element name="GetEnvironnementResponse">
- <s:complexType>
- <s:sequence>
- <s:element minOccurs="0" maxOccurs="1"
-name="GetEnvironnementResult" type="s0:MGEnvironnement" />
- </s:sequence>
- </s:complexType>
- </s:element>
- </s:schema>
- </types>
- <message name="LoginMGDISSoapIn">
- <part name="parameters" element="s0:LoginMGDIS" />
- </message>
- <message name="LoginMGDISSoapOut">
- <part name="parameters" element="s0:LoginMGDISResponse" />
- </message>
- <message name="GetIdentificationSoapIn">
- <part name="parameters" element="s0:GetIdentification" />
- </message>
- <message name="GetIdentificationSoapOut">
- <part name="parameters" element="s0:GetIdentificationResponse" />
- </message>
- <message name="RollbackCurrentTransactionSoapIn">
- <part name="parameters" element="s0:RollbackCurrentTransaction" />
- </message>
- <message name="RollbackCurrentTransactionSoapOut">
- <part name="parameters"
-element="s0:RollbackCurrentTransactionResponse" />
- </message>
- <message name="GetListeProfilSoapIn">
- <part name="parameters" element="s0:GetListeProfil" />
- </message>
- <message name="GetListeProfilSoapOut">
- <part name="parameters" element="s0:GetListeProfilResponse" />
- </message>
- <message name="GetListeValCodifSoapIn">
- <part name="parameters" element="s0:GetListeValCodif" />
- </message>
- <message name="GetListeValCodifSoapOut">
- <part name="parameters" element="s0:GetListeValCodifResponse" />
- </message>
- <message name="TestPhpSoapSoapIn">
- <part name="parameters" element="s0:TestPhpSoap" />
- </message>
- <message name="TestPhpSoapSoapOut">
- <part name="parameters" element="s0:TestPhpSoapResponse" />
- </message>
- <message name="GetListeCodifSoapIn">
- <part name="parameters" element="s0:GetListeCodif" />
- </message>
- <message name="GetListeCodifSoapOut">
- <part name="parameters" element="s0:GetListeCodifResponse" />
- </message>
- <message name="DroitCreationSoapIn">
- <part name="parameters" element="s0:DroitCreation" />
- </message>
- <message name="DroitCreationSoapOut">
- <part name="parameters" element="s0:DroitCreationResponse" />
- </message>
- <message name="ListeDroitCreationSoapIn">
- <part name="parameters" element="s0:ListeDroitCreation" />
- </message>
- <message name="ListeDroitCreationSoapOut">
- <part name="parameters" element="s0:ListeDroitCreationResponse" />
- </message>
- <message name="GetDroitsObjetProtegeSoapIn">
- <part name="parameters" element="s0:GetDroitsObjetProtege" />
- </message>
- <message name="GetDroitsObjetProtegeSoapOut">
- <part name="parameters" element="s0:GetDroitsObjetProtegeResponse"
-/>
- </message>
- <message name="GetPrivilegesSoapIn">
- <part name="parameters" element="s0:GetPrivileges" />
- </message>
- <message name="GetPrivilegesSoapOut">
- <part name="parameters" element="s0:GetPrivilegesResponse" />
- </message>
- <message name="GetLibelleProfilSoapIn">
- <part name="parameters" element="s0:GetLibelleProfil" />
- </message>
- <message name="GetLibelleProfilSoapOut">
- <part name="parameters" element="s0:GetLibelleProfilResponse" />
- </message>
- <message name="GetValeurRechercheSoapIn">
- <part name="parameters" element="s0:GetValeurRecherche" />
- </message>
- <message name="GetValeurRechercheSoapOut">
- <part name="parameters" element="s0:GetValeurRechercheResponse" />
- </message>
- <message name="GetValeurRechercheWithClauseWhereSoapIn">
- <part name="parameters"
-element="s0:GetValeurRechercheWithClauseWhere" />
- </message>
- <message name="GetValeurRechercheWithClauseWhereSoapOut">
- <part name="parameters"
-element="s0:GetValeurRechercheWithClauseWhereResponse" />
- </message>
- <message name="GetEnvironnementSoapIn">
- <part name="parameters" element="s0:GetEnvironnement" />
- </message>
- <message name="GetEnvironnementSoapOut">
- <part name="parameters" element="s0:GetEnvironnementResponse" />
- </message>
- <portType name="MGServiceNoyauNETSoap">
- <operation name="LoginMGDIS">
- <input message="s0:LoginMGDISSoapIn" />
- <output message="s0:LoginMGDISSoapOut" />
- </operation>
- <operation name="GetIdentification">
- <input message="s0:GetIdentificationSoapIn" />
- <output message="s0:GetIdentificationSoapOut" />
- </operation>
- <operation name="RollbackCurrentTransaction">
- <input message="s0:RollbackCurrentTransactionSoapIn" />
- <output message="s0:RollbackCurrentTransactionSoapOut" />
- </operation>
- <operation name="GetListeProfil">
- <input message="s0:GetListeProfilSoapIn" />
- <output message="s0:GetListeProfilSoapOut" />
- </operation>
- <operation name="GetListeValCodif">
- <input message="s0:GetListeValCodifSoapIn" />
- <output message="s0:GetListeValCodifSoapOut" />
- </operation>
- <operation name="TestPhpSoap">
- <input message="s0:TestPhpSoapSoapIn" />
- <output message="s0:TestPhpSoapSoapOut" />
- </operation>
- <operation name="GetListeCodif">
- <input message="s0:GetListeCodifSoapIn" />
- <output message="s0:GetListeCodifSoapOut" />
- </operation>
- <operation name="DroitCreation">
- <input message="s0:DroitCreationSoapIn" />
- <output message="s0:DroitCreationSoapOut" />
- </operation>
- <operation name="ListeDroitCreation">
- <input message="s0:ListeDroitCreationSoapIn" />
- <output message="s0:ListeDroitCreationSoapOut" />
- </operation>
- <operation name="GetDroitsObjetProtege">
- <input message="s0:GetDroitsObjetProtegeSoapIn" />
- <output message="s0:GetDroitsObjetProtegeSoapOut" />
- </operation>
- <operation name="GetPrivileges">
- <input message="s0:GetPrivilegesSoapIn" />
- <output message="s0:GetPrivilegesSoapOut" />
- </operation>
- <operation name="GetLibelleProfil">
- <input message="s0:GetLibelleProfilSoapIn" />
- <output message="s0:GetLibelleProfilSoapOut" />
- </operation>
- <operation name="GetValeurRecherche">
- <input message="s0:GetValeurRechercheSoapIn" />
- <output message="s0:GetValeurRechercheSoapOut" />
- </operation>
- <operation name="GetValeurRechercheWithClauseWhere">
- <input message="s0:GetValeurRechercheWithClauseWhereSoapIn" />
- <output message="s0:GetValeurRechercheWithClauseWhereSoapOut" />
- </operation>
- <operation name="GetEnvironnement">
- <input message="s0:GetEnvironnementSoapIn" />
- <output message="s0:GetEnvironnementSoapOut" />
- </operation>
- </portType>
- <binding name="MGServiceNoyauNETSoap"
-type="s0:MGServiceNoyauNETSoap">
- <soap:binding transport="http://schemas.xmlsoap.org/soap/http"
-style="document" />
- <operation name="LoginMGDIS">
- <soap:operation soapAction="http://tempuri.org/LoginMGDIS"
-style="document" />
- <input>
- <soap:body use="literal" />
- </input>
- <output>
- <soap:body use="literal" />
- </output>
- </operation>
- <operation name="GetIdentification">
- <soap:operation soapAction="http://tempuri.org/GetIdentification"
-style="document" />
- <input>
- <soap:body use="literal" />
- </input>
- <output>
- <soap:body use="literal" />
- </output>
- </operation>
- <operation name="RollbackCurrentTransaction">
- <soap:operation
-soapAction="http://tempuri.org/RollbackCurrentTransaction"
-style="document" />
- <input>
- <soap:body use="literal" />
- </input>
- <output>
- <soap:body use="literal" />
- </output>
- </operation>
- <operation name="GetListeProfil">
- <soap:operation soapAction="http://tempuri.org/GetListeProfil"
-style="document" />
- <input>
- <soap:body use="literal" />
- </input>
- <output>
- <soap:body use="literal" />
- </output>
- </operation>
- <operation name="GetListeValCodif">
- <soap:operation soapAction="http://tempuri.org/GetListeValCodif"
-style="document" />
- <input>
- <soap:body use="literal" />
- </input>
- <output>
- <soap:body use="literal" />
- </output>
- </operation>
- <operation name="TestPhpSoap">
- <soap:operation soapAction="http://tempuri.org/TestPhpSoap"
-style="document" />
- <input>
- <soap:body use="literal" />
- </input>
- <output>
- <soap:body use="literal" />
- </output>
- </operation>
- <operation name="GetListeCodif">
- <soap:operation soapAction="http://tempuri.org/GetListeCodif"
-style="document" />
- <input>
- <soap:body use="literal" />
- </input>
- <output>
- <soap:body use="literal" />
- </output>
- </operation>
- <operation name="DroitCreation">
- <soap:operation soapAction="http://tempuri.org/DroitCreation"
-style="document" />
- <input>
- <soap:body use="literal" />
- </input>
- <output>
- <soap:body use="literal" />
- </output>
- </operation>
- <operation name="ListeDroitCreation">
- <soap:operation soapAction="http://tempuri.org/ListeDroitCreation"
-style="document" />
- <input>
- <soap:body use="literal" />
- </input>
- <output>
- <soap:body use="literal" />
- </output>
- </operation>
- <operation name="GetDroitsObjetProtege">
- <soap:operation
-soapAction="http://tempuri.org/GetDroitsObjetProtege" style="document"
-/>
- <input>
- <soap:body use="literal" />
- </input>
- <output>
- <soap:body use="literal" />
- </output>
- </operation>
- <operation name="GetPrivileges">
- <soap:operation soapAction="http://tempuri.org/GetPrivileges"
-style="document" />
- <input>
- <soap:body use="literal" />
- </input>
- <output>
- <soap:body use="literal" />
- </output>
- </operation>
- <operation name="GetLibelleProfil">
- <soap:operation soapAction="http://tempuri.org/GetLibelleProfil"
-style="document" />
- <input>
- <soap:body use="literal" />
- </input>
- <output>
- <soap:body use="literal" />
- </output>
- </operation>
- <operation name="GetValeurRecherche">
- <soap:operation soapAction="http://tempuri.org/GetValeurRecherche"
-style="document" />
- <input>
- <soap:body use="literal" />
- </input>
- <output>
- <soap:body use="literal" />
- </output>
- </operation>
- <operation name="GetValeurRechercheWithClauseWhere">
- <soap:operation
-soapAction="http://tempuri.org/GetValeurRechercheWithClauseWhere"
-style="document" />
- <input>
- <soap:body use="literal" />
- </input>
- <output>
- <soap:body use="literal" />
- </output>
- </operation>
- <operation name="GetEnvironnement">
- <soap:operation soapAction="http://tempuri.org/GetEnvironnement"
-style="document" />
- <input>
- <soap:body use="literal" />
- </input>
- <output>
- <soap:body use="literal" />
- </output>
- </operation>
- </binding>
- <service name="MGServiceNoyauNET">
- <port name="MGServiceNoyauNETSoap"
-binding="s0:MGServiceNoyauNETSoap">
- <soap:address
-location="http://localhost/SoapSrvSOFI/MGServiceNoyauNET.asmx" />
- </port>
- </service>
-</definitions>
diff --git a/ext/soap/tests/bugs/bug29061.phpt b/ext/soap/tests/bugs/bug29061.phpt
deleted file mode 100644
index 0bf8917fa5..0000000000
--- a/ext/soap/tests/bugs/bug29061.phpt
+++ /dev/null
@@ -1,12 +0,0 @@
---TEST--
-Bug #29061 (soap extension segfaults)
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
---FILE--
-<?php
-$client = new SoapClient(dirname(__FILE__)."/bug29061.wsdl", array("exceptions"=>0));
-$client->getQuote("ibm");
-echo "ok\n";
-?>
---EXPECT--
-ok \ No newline at end of file
diff --git a/ext/soap/tests/bugs/bug29061.wsdl b/ext/soap/tests/bugs/bug29061.wsdl
deleted file mode 100644
index fb4d9aa3b5..0000000000
--- a/ext/soap/tests/bugs/bug29061.wsdl
+++ /dev/null
@@ -1,41 +0,0 @@
-<definitions xmlns="http://schemas.xmlsoap.org/wsdl/"
-xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:http="http://
-schemas.xmlsoap.org/wsdl/http/"
-xmlns:xs="http://www.w3.org/2001/XMLSchema"
-xmlns:soapenc="http://schemas.xmlsoap.org/soap/e
-ncoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
-xmlns:y="http://new.webservice.namespace" targetNamespace="http
-://new.webservice.namespace">
-<types>
-<xs:schema/>
-</types>
-<message name="getQuoteResponse">
-<part name="parameter" element="" type="xs:string"/>
-</message>
-<message name="getQuoteRequest">
-<part name="String" element="" type="xs:string"/>
-</message>
-<portType name="SOAPport">
-<operation name="getQuote">
-<input message="y:getQuoteRequest"/>
-<output message="y:getQuoteResponse"/>
-</operation>
-</portType>
-<binding name="bindingName" type="y:SOAPport">
-<soap:binding style="rpc"
-transport="http://schemas.xmlsoap.org/soap/http"/>
-<operation name="getQuote">
-<input>
-<soap:body use="literal"/>
-</input>
-<output>
-<soap:body use="literal"/>
-</output>
-</operation>
-</binding>
-<service name="myService">
-<port name="myPort" binding="y:bindingName">
-<soap:address location="test://"/>
-</port>
-</service>
-</definitions>
diff --git a/ext/soap/tests/bugs/bug29109.phpt b/ext/soap/tests/bugs/bug29109.phpt
deleted file mode 100644
index 91d3ea265f..0000000000
--- a/ext/soap/tests/bugs/bug29109.phpt
+++ /dev/null
@@ -1,18 +0,0 @@
---TEST--
-Bug #29109 (Uncaught SoapFault exception: [WSDL] Out of memory)
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
---FILE--
-<?php
-$client = new SoapClient(dirname(__FILE__)."/bug29109.wsdl");
-var_dump($client->__getFunctions());
-?>
---EXPECT--
-array(3) {
- [0]=>
- string(53) "HelloWorldResponse HelloWorld(HelloWorld $parameters)"
- [1]=>
- string(19) "string HelloWorld()"
- [2]=>
- string(19) "string HelloWorld()"
-} \ No newline at end of file
diff --git a/ext/soap/tests/bugs/bug29109.wsdl b/ext/soap/tests/bugs/bug29109.wsdl
deleted file mode 100644
index 800cd2357d..0000000000
--- a/ext/soap/tests/bugs/bug29109.wsdl
+++ /dev/null
@@ -1,121 +0,0 @@
-<?xml version="1.0" encoding="windows-1257"?>
-<definitions xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
-xmlns:s0="http://tempuri.org/"
-xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
-xmlns:s="http://www.w3.org/2001/XMLSchema"
-xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
-xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/"
-xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" name="test"
-targetNamespace="http://tempuri.org/"
-xmlns="http://schemas.xmlsoap.org/wsdl/">
- <types>
- <xs:schema elementFormDefault="qualified"
-targetNamespace="http://tempuri.org/"
-xmlns:xs="http://www.w3.org/2001/XMLSchema">
- <xs:element name="HelloWorld">
- <xs:complexType />
- </xs:element>
- <xs:element name="HelloWorldResponse">
- <xs:complexType>
- <xs:sequence>
-
- <xs:element minOccurs="0" maxOccurs="1"
-name="HelloWorldResult" type="xs:string" />
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="string" type="xs:string" />
- </xs:schema>
- </types>
- <message name="HelloWorldSoapIn">
- <part name="parameters" element="s0:HelloWorld" />
-
- </message>
- <message name="HelloWorldSoapOut">
- <part name="parameters" element="s0:HelloWorldResponse" />
- </message>
- <message name="HelloWorldHttpGetIn" />
- <message name="HelloWorldHttpGetOut">
- <part name="Body" element="s0:string" />
- </message>
- <message name="HelloWorldHttpPostIn" />
-
- <message name="HelloWorldHttpPostOut">
- <part name="Body" element="s0:string" />
- </message>
- <portType name="testSoap">
- <operation name="HelloWorld">
- <input message="s0:HelloWorldSoapIn" />
- <output message="s0:HelloWorldSoapOut" />
- </operation>
- </portType>
-
- <portType name="testHttpGet">
- <operation name="HelloWorld">
- <input message="s0:HelloWorldHttpGetIn" />
- <output message="s0:HelloWorldHttpGetOut" />
- </operation>
- </portType>
- <portType name="testHttpPost">
- <operation name="HelloWorld">
- <input message="s0:HelloWorldHttpPostIn" />
-
- <output message="s0:HelloWorldHttpPostOut" />
- </operation>
- </portType>
- <binding name="testSoap" type="s0:testSoap">
- <soap:binding style="document"
-transport="http://schemas.xmlsoap.org/soap/http" />
- <operation name="HelloWorld">
- <soap:operation soapAction="http://tempuri.org/HelloWorld"
-style="document" />
- <input>
- <soap:body use="literal" />
-
- </input>
- <output>
- <soap:body use="literal" />
- </output>
- </operation>
- </binding>
- <binding name="testHttpGet" type="s0:testHttpGet">
- <http:binding verb="GET" />
- <operation name="HelloWorld">
-
- <http:operation location="/HelloWorld" />
- <input>
- <http:urlEncoded />
- </input>
- <output>
- <mime:mimeXml part="Body" />
- </output>
- </operation>
- </binding>
-
- <binding name="testHttpPost" type="s0:testHttpPost">
- <http:binding verb="POST" />
- <operation name="HelloWorld">
- <http:operation location="/HelloWorld" />
- <input>
- <mime:content part="" type="application/x-www-form-urlencoded"
-/>
- </input>
- <output>
- <mime:mimeXml part="Body" />
-
- </output>
- </operation>
- </binding>
- <service name="test">
- <port name="testSoap" binding="s0:testSoap">
- <soap:address location="http://localhost:81/test.asmx" />
- </port>
- <port name="testHttpGet" binding="s0:testHttpGet">
- <http:address location="http://localhost:81/test.asmx" />
-
- </port>
- <port name="testHttpPost" binding="s0:testHttpPost">
- <http:address location="http://localhost:81/test.asmx" />
- </port>
- </service>
-</definitions>
diff --git a/ext/soap/tests/bugs/bug29236.phpt b/ext/soap/tests/bugs/bug29236.phpt
deleted file mode 100644
index 4dbc302c17..0000000000
--- a/ext/soap/tests/bugs/bug29236.phpt
+++ /dev/null
@@ -1,20 +0,0 @@
---TEST--
-Bug #29236 (memory error when wsdl-cache is enabled)
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
---FILE--
-<?php
-$client = new SoapClient(dirname(__FILE__)."/bug29236.wsdl");
-var_dump($client->__getFunctions());
-?>
---EXPECT--
-array(4) {
- [0]=>
- string(59) "StartSessionResponse StartSession(StartSession $parameters)"
- [1]=>
- string(62) "VerifySessionResponse VerifySession(VerifySession $parameters)"
- [2]=>
- string(41) "LogoutResponse Logout(Logout $parameters)"
- [3]=>
- string(62) "GetSystemInfoResponse GetSystemInfo(GetSystemInfo $parameters)"
-}
diff --git a/ext/soap/tests/bugs/bug29236.wsdl b/ext/soap/tests/bugs/bug29236.wsdl
deleted file mode 100644
index d60a4871d4..0000000000
--- a/ext/soap/tests/bugs/bug29236.wsdl
+++ /dev/null
@@ -1,287 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:s0="http://isis.ais.ucla.edu/ws/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" targetNamespace="http://isis.ais.ucla.edu/ws/" xmlns="http://schemas.xmlsoap.org/wsdl/">
- <types>
- <s:schema elementFormDefault="qualified" targetNamespace="http://isis.ais.ucla.edu/ws/">
- <s:element name="StartSession">
- <s:complexType>
- <s:sequence>
- <s:element minOccurs="0" maxOccurs="1" name="uclaId" type="s:string" />
- <s:element minOccurs="0" maxOccurs="1" name="userIpAddr" type="s:string" />
- </s:sequence>
- </s:complexType>
- </s:element>
- <s:element name="StartSessionResponse">
- <s:complexType>
- <s:sequence>
- <s:element minOccurs="1" maxOccurs="1" name="iwsResponse" nillable="true" type="s0:IwsResponse" />
- </s:sequence>
- </s:complexType>
- </s:element>
- <s:complexType name="IwsResponse">
- <s:sequence>
- <s:element minOccurs="1" maxOccurs="1" name="sessionInfo" nillable="true" type="s0:IwsSession" />
- <s:element minOccurs="1" maxOccurs="1" name="errorInfo" nillable="true" type="s0:IwsErrorCollection" />
- </s:sequence>
- <s:attribute name="action" type="s0:ActionEnum" />
- <s:attribute name="hasErrors" type="s:boolean" />
- <s:attribute name="transactionId" type="s:long" />
- </s:complexType>
- <s:complexType name="IwsSession">
- <s:sequence>
- <s:element minOccurs="0" maxOccurs="1" name="userAttributes" type="s0:ArrayOfIwsUserAttribute" />
- <s:element minOccurs="0" maxOccurs="1" name="accounts" type="s0:ArrayOfIwsAccount" />
- <s:element minOccurs="1" maxOccurs="1" name="ticket" nillable="true" type="s:string" />
- <s:element minOccurs="1" maxOccurs="1" name="uclaId" nillable="true" type="s:string" />
- </s:sequence>
- <s:attribute name="status" type="s0:SessionStatus" />
- </s:complexType>
- <s:complexType name="ArrayOfIwsUserAttribute">
- <s:sequence>
- <s:element minOccurs="0" maxOccurs="unbounded" name="attribute" type="s0:IwsUserAttribute" />
- </s:sequence>
- </s:complexType>
- <s:complexType name="IwsUserAttribute">
- <s:attribute name="name" type="s:string" />
- <s:attribute name="value" type="s:string" />
- </s:complexType>
- <s:complexType name="ArrayOfIwsAccount">
- <s:sequence>
- <s:element minOccurs="0" maxOccurs="unbounded" name="account" type="s0:IwsAccount" />
- </s:sequence>
- </s:complexType>
- <s:complexType name="IwsAccount">
- <s:attribute name="loginId" type="s:string" />
- <s:attribute name="type" type="s0:LoginType" />
- <s:attribute name="status" type="s0:AccountStatus" />
- </s:complexType>
- <s:simpleType name="LoginType">
- <s:restriction base="s:string">
- <s:enumeration value="BruinOnline" />
- <s:enumeration value="ACF2" />
- <s:enumeration value="QDB" />
- <s:enumeration value="UID" />
- <s:enumeration value="CommonLogon" />
- <s:enumeration value="RACF" />
- </s:restriction>
- </s:simpleType>
- <s:simpleType name="AccountStatus">
- <s:restriction base="s:string">
- <s:enumeration value="Unknown" />
- <s:enumeration value="Active" />
- <s:enumeration value="Authenticated" />
- <s:enumeration value="AuthenticatedWithCachedCredential" />
- <s:enumeration value="NotAuthenticated" />
- <s:enumeration value="PermmanentlySuspended" />
- <s:enumeration value="TemporarilySuspended" />
- <s:enumeration value="PasswordResetRequired" />
- <s:enumeration value="InvalidID" />
- </s:restriction>
- </s:simpleType>
- <s:simpleType name="SessionStatus">
- <s:restriction base="s:string">
- <s:enumeration value="Uninitialized" />
- <s:enumeration value="Active" />
- <s:enumeration value="ActiveWithCachedCredential" />
- <s:enumeration value="ActiveWithMultipleCredentials" />
- <s:enumeration value="Expired" />
- </s:restriction>
- </s:simpleType>
- <s:complexType name="IwsErrorCollection">
- <s:sequence>
- <s:element minOccurs="0" maxOccurs="1" name="errors" type="s0:ArrayOfIwsError" />
- </s:sequence>
- <s:attribute name="count" type="s:int" />
- </s:complexType>
- <s:complexType name="ArrayOfIwsError">
- <s:sequence>
- <s:element minOccurs="0" maxOccurs="unbounded" name="error" type="s0:IwsError" />
- </s:sequence>
- </s:complexType>
- <s:complexType name="IwsError">
- <s:attribute name="errorCode" type="s:int" />
- <s:attribute name="detail" type="s:string" />
- </s:complexType>
- <s:simpleType name="ActionEnum">
- <s:restriction base="s:string">
- <s:enumeration value="GetInfo" />
- <s:enumeration value="Start" />
- <s:enumeration value="Verify" />
- <s:enumeration value="Logout" />
- </s:restriction>
- </s:simpleType>
- <s:element name="wsConsumerCredential" type="s0:WsConsumerCredential" />
- <s:complexType name="WsConsumerCredential">
- <s:sequence>
- <s:element minOccurs="0" maxOccurs="1" name="id" type="s:string" />
- <s:element minOccurs="0" maxOccurs="1" name="password" type="s:string" />
- </s:sequence>
- </s:complexType>
- <s:element name="VerifySession">
- <s:complexType>
- <s:sequence>
- <s:element minOccurs="0" maxOccurs="1" name="ticket" type="s:string" />
- <s:element minOccurs="0" maxOccurs="1" name="userIpAddr" type="s:string" />
- <s:element minOccurs="1" maxOccurs="1" name="returnExtendedAttributes" type="s:boolean" />
- </s:sequence>
- </s:complexType>
- </s:element>
- <s:element name="VerifySessionResponse">
- <s:complexType>
- <s:sequence>
- <s:element minOccurs="1" maxOccurs="1" name="iwsResponse" nillable="true" type="s0:IwsResponse" />
- </s:sequence>
- </s:complexType>
- </s:element>
- <s:element name="Logout">
- <s:complexType>
- <s:sequence>
- <s:element minOccurs="0" maxOccurs="1" name="ticket" type="s:string" />
- <s:element minOccurs="0" maxOccurs="1" name="userIpAddr" type="s:string" />
- </s:sequence>
- </s:complexType>
- </s:element>
- <s:element name="LogoutResponse">
- <s:complexType>
- <s:sequence>
- <s:element minOccurs="1" maxOccurs="1" name="iwsResponse" nillable="true" type="s0:IwsResponse" />
- </s:sequence>
- </s:complexType>
- </s:element>
- <s:element name="GetSystemInfo">
- <s:complexType />
- </s:element>
- <s:element name="GetSystemInfoResponse">
- <s:complexType>
- <s:sequence>
- <s:element minOccurs="0" maxOccurs="1" name="GetSystemInfoResult" type="s0:ArrayOfIwsAttribute" />
- </s:sequence>
- </s:complexType>
- </s:element>
- <s:complexType name="ArrayOfIwsAttribute">
- <s:sequence>
- <s:element minOccurs="0" maxOccurs="unbounded" name="IwsAttribute" type="s0:IwsAttribute" />
- </s:sequence>
- </s:complexType>
- <s:complexType name="IwsAttribute">
- <s:attribute name="name" type="s:string" />
- <s:attribute name="value" type="s:string" />
- </s:complexType>
- </s:schema>
- </types>
- <message name="StartSessionSoapIn">
- <part name="parameters" element="s0:StartSession" />
- </message>
- <message name="StartSessionSoapOut">
- <part name="parameters" element="s0:StartSessionResponse" />
- </message>
- <message name="StartSessionwsConsumerCredential">
- <part name="wsConsumerCredential" element="s0:wsConsumerCredential" />
- </message>
- <message name="VerifySessionSoapIn">
- <part name="parameters" element="s0:VerifySession" />
- </message>
- <message name="VerifySessionSoapOut">
- <part name="parameters" element="s0:VerifySessionResponse" />
- </message>
- <message name="VerifySessionwsConsumerCredential">
- <part name="wsConsumerCredential" element="s0:wsConsumerCredential" />
- </message>
- <message name="LogoutSoapIn">
- <part name="parameters" element="s0:Logout" />
- </message>
- <message name="LogoutSoapOut">
- <part name="parameters" element="s0:LogoutResponse" />
- </message>
- <message name="LogoutwsConsumerCredential">
- <part name="wsConsumerCredential" element="s0:wsConsumerCredential" />
- </message>
- <message name="GetSystemInfoSoapIn">
- <part name="parameters" element="s0:GetSystemInfo" />
- </message>
- <message name="GetSystemInfoSoapOut">
- <part name="parameters" element="s0:GetSystemInfoResponse" />
- </message>
- <message name="GetSystemInfowsConsumerCredential">
- <part name="wsConsumerCredential" element="s0:wsConsumerCredential" />
- </message>
- <portType name="IsisSoap">
- <operation name="StartSession">
- <input message="s0:StartSessionSoapIn" />
- <output message="s0:StartSessionSoapOut" />
- </operation>
- <operation name="VerifySession">
- <input message="s0:VerifySessionSoapIn" />
- <output message="s0:VerifySessionSoapOut" />
- </operation>
- <operation name="Logout">
- <input message="s0:LogoutSoapIn" />
- <output message="s0:LogoutSoapOut" />
- </operation>
- <operation name="GetSystemInfo">
- <input message="s0:GetSystemInfoSoapIn" />
- <output message="s0:GetSystemInfoSoapOut" />
- </operation>
- </portType>
- <portType name="IsisHttpGet" />
- <portType name="IsisHttpPost" />
- <binding name="IsisSoap" type="s0:IsisSoap">
- <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
- <operation name="StartSession">
- <soap:operation soapAction="http://isis.ais.ucla.edu/ws/StartSession" style="document" />
- <input>
- <soap:body use="literal" />
- <soap:header d5p1:required="true" message="s0:StartSessionwsConsumerCredential" part="wsConsumerCredential" use="literal" xmlns:d5p1="http://schemas.xmlsoap.org/wsdl/" />
- </input>
- <output>
- <soap:body use="literal" />
- </output>
- </operation>
- <operation name="VerifySession">
- <soap:operation soapAction="http://isis.ais.ucla.edu/ws/VerifySession" style="document" />
- <input>
- <soap:body use="literal" />
- <soap:header d5p1:required="true" message="s0:VerifySessionwsConsumerCredential" part="wsConsumerCredential" use="literal" xmlns:d5p1="http://schemas.xmlsoap.org/wsdl/" />
- </input>
- <output>
- <soap:body use="literal" />
- </output>
- </operation>
- <operation name="Logout">
- <soap:operation soapAction="http://isis.ais.ucla.edu/ws/Logout" style="document" />
- <input>
- <soap:body use="literal" />
- <soap:header d5p1:required="true" message="s0:LogoutwsConsumerCredential" part="wsConsumerCredential" use="literal" xmlns:d5p1="http://schemas.xmlsoap.org/wsdl/" />
- </input>
- <output>
- <soap:body use="literal" />
- </output>
- </operation>
- <operation name="GetSystemInfo">
- <soap:operation soapAction="http://isis.ais.ucla.edu/ws/GetSystemInfo" style="document" />
- <input>
- <soap:body use="literal" />
- <soap:header d5p1:required="true" message="s0:GetSystemInfowsConsumerCredential" part="wsConsumerCredential" use="literal" xmlns:d5p1="http://schemas.xmlsoap.org/wsdl/" />
- </input>
- <output>
- <soap:body use="literal" />
- </output>
- </operation>
- </binding>
- <binding name="IsisHttpGet" type="s0:IsisHttpGet">
- <http:binding verb="GET" />
- </binding>
- <binding name="IsisHttpPost" type="s0:IsisHttpPost">
- <http:binding verb="POST" />
- </binding>
- <service name="Isis">
- <port name="IsisSoap" binding="s0:IsisSoap">
- <soap:address location="http://isisdev1.tig.ucla.edu/iws/v4.asmx" />
- </port>
- <port name="IsisHttpGet" binding="s0:IsisHttpGet">
- <http:address location="http://isisdev1.tig.ucla.edu/iws/v4.asmx" />
- </port>
- <port name="IsisHttpPost" binding="s0:IsisHttpPost">
- <http:address location="http://isisdev1.tig.ucla.edu/iws/v4.asmx" />
- </port>
- </service>
-</definitions> \ No newline at end of file
diff --git a/ext/soap/tests/bugs/bug29795.phpt b/ext/soap/tests/bugs/bug29795.phpt
deleted file mode 100644
index 52f8862fda..0000000000
--- a/ext/soap/tests/bugs/bug29795.phpt
+++ /dev/null
@@ -1,32 +0,0 @@
---TEST--
-Bug #29795 (SegFault with Soap and Amazon's Web Services)
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
---FILE--
-<?php
-class LocalSoapClient extends SoapClient {
-
- function __construct($wsdl, $options) {
- parent::__construct($wsdl, $options);
- }
-
- function __doRequest($request, $location, $action, $version) {
- return <<<EOF
-<?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
-xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
-xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-xmlns:xsd="http://www.w3.org/2001/XMLSchema"><SOAP-ENV:Body><Price><Amount>3995</Amount><CurrencyCode>USD</CurrencyCode></Price></SOAP-ENV:Body></SOAP-ENV:Envelope>
-EOF;
- }
-
-}
-
-$client = new LocalSoapClient(dirname(__FILE__)."/bug29795.wsdl",array("trace"=>1));
-$ar=$client->GetPrice();
-echo "o";
-$client = new LocalSoapClient(dirname(__FILE__)."/bug29795.wsdl",array("trace"=>1));
-$ar=$client->GetPrice();
-echo "k\n";
-?>
---EXPECT--
-ok
diff --git a/ext/soap/tests/bugs/bug29795.wsdl b/ext/soap/tests/bugs/bug29795.wsdl
deleted file mode 100644
index 5a4499da0d..0000000000
--- a/ext/soap/tests/bugs/bug29795.wsdl
+++ /dev/null
@@ -1,40 +0,0 @@
-<definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://xml.amazon.com/AWSProductData/2004-08-01" targetNamespace="http://xml.amazon.com/AWSProductData/2004-08-01">
- <types>
- <xs:schema targetNamespace="http://xml.amazon.com/AWSProductData/2004-08-01" elementFormDefault="qualified">
- <xs:complexType name="Price">
- <xs:sequence>
- <xs:element name="Amount" type="xs:integer" minOccurs="0"/>
- <xs:element name="CurrencyCode" type="xs:string" minOccurs="0"/>
- </xs:sequence>
- </xs:complexType>
- </xs:schema>
- </types>
- <message name="GetPriceRequest">
- </message>
- <message name="GetPriceResponse">
- <part name="Price" type="tns:Price"/>
- </message>
- <portType name="AWSProductDataPortType">
- <operation name="GetPrice">
- <input message="tns:GetPriceRequest"/>
- <output message="tns:GetPriceResponse"/>
- </operation>
- </portType>
- <binding name="AWSProductDataBinding" type="tns:AWSProductDataPortType">
- <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
- <operation name="GetPrice">
- <soap:operation soapAction="http://soap.amazon.com"/>
- <input>
- <soap:body use="literal"/>
- </input>
- <output>
- <soap:body use="literal"/>
- </output>
- </operation>
- </binding>
- <service name="AWSProductData">
- <port name="AWSProductDataPort" binding="tns:AWSProductDataBinding">
- <soap:address location="http://aws-beta.amazon.com/onca/soap?Service=AWSProductData"/>
- </port>
- </service>
-</definitions>
diff --git a/ext/soap/tests/bugs/bug29830.phpt b/ext/soap/tests/bugs/bug29830.phpt
deleted file mode 100644
index dc090f82cc..0000000000
--- a/ext/soap/tests/bugs/bug29830.phpt
+++ /dev/null
@@ -1,25 +0,0 @@
---TEST--
-Bug #29844 (SoapServer::setClass() should not export non-public methods)
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
---FILE--
-<?php
-
-class hello_world {
- public function hello($to) {
- return 'Hello ' . $to;
- }
- private function bye($to) {
- return 'Bye ' . $to;
- }
-}
-
-$server = new SoapServer(NULL, array("uri"=>"test://"));
-$server->setClass('hello_world');
-$functions = $server->getFunctions();
-foreach($functions as $func) {
- echo $func . "\n";
-}
-?>
---EXPECT--
-hello
diff --git a/ext/soap/tests/bugs/bug29839.phpt b/ext/soap/tests/bugs/bug29839.phpt
deleted file mode 100644
index 25b4512a72..0000000000
--- a/ext/soap/tests/bugs/bug29839.phpt
+++ /dev/null
@@ -1,41 +0,0 @@
---TEST--
-Bug #29839 incorrect convert (xml:lang to lang)
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
---FILE--
-<?php
-
-function EchoString($s) {
- return $s;
-}
-
-class LocalSoapClient extends SoapClient {
-
- function __construct($wsdl, $options) {
- parent::__construct($wsdl, $options);
- $this->server = new SoapServer($wsdl, $options);
- $this->server->addFunction('EchoString');
- }
-
- function __doRequest($request, $location, $action, $version) {
- ob_start();
- $this->server->handle($request);
- $response = ob_get_contents();
- ob_end_clean();
- return $response;
- }
-
-}
-
-$client = new LocalSoapClient(dirname(__FILE__)."/bug29839.wsdl", array("trace"=>1));
-$client->EchoString(array("value"=>"hello","lang"=>"en"));
-echo $client->__getLastRequest();
-echo $client->__getLastResponse();
-echo "ok\n";
-?>
---EXPECT--
-<?xml version="1.0" encoding="UTF-8"?>
-<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://test-uri"><SOAP-ENV:Body><string xml:lang="en"><ns1:value>hello</ns1:value></string></SOAP-ENV:Body></SOAP-ENV:Envelope>
-<?xml version="1.0" encoding="UTF-8"?>
-<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://test-uri"><SOAP-ENV:Body><string xml:lang="en"><ns1:value>hello</ns1:value></string></SOAP-ENV:Body></SOAP-ENV:Envelope>
-ok \ No newline at end of file
diff --git a/ext/soap/tests/bugs/bug29839.wsdl b/ext/soap/tests/bugs/bug29839.wsdl
deleted file mode 100644
index d8ccb97954..0000000000
--- a/ext/soap/tests/bugs/bug29839.wsdl
+++ /dev/null
@@ -1,42 +0,0 @@
-<definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://test-uri" targetNamespace="http://test-uri">
- <types>
- <xs:schema targetNamespace="http://test-uri" elementFormDefault="qualified">
- <import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="xml.xsd" />
- <complexType name="LocalizedString">
- <sequence>
- <element name="value" type="xsd:string"/>
- </sequence>
- <attribute ref="xml:lang" use="required"/>
- </complexType>
- </xs:schema>
- </types>
- <message name="EchoStringRequest">
- <part name="string" type="tns:LocalizedString"/>
- </message>
- <message name="EchoStringResponse">
- <part name="string" type="tns:LocalizedString"/>
- </message>
- <portType name="AWSProductDataPortType">
- <operation name="EchoString">
- <input message="tns:EchoStringRequest"/>
- <output message="tns:EchoStringResponse"/>
- </operation>
- </portType>
- <binding name="AWSProductDataBinding" type="tns:AWSProductDataPortType">
- <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
- <operation name="EchoString">
- <soap:operation soapAction="http://test-uri"/>
- <input>
- <soap:body use="literal"/>
- </input>
- <output>
- <soap:body use="literal"/>
- </output>
- </operation>
- </binding>
- <service name="AWSProductData">
- <port name="AWSProductDataPort" binding="tns:AWSProductDataBinding">
- <soap:address location="http://aws-beta.amazon.com/onca/soap?Service=AWSProductData"/>
- </port>
- </service>
-</definitions>
diff --git a/ext/soap/tests/bugs/bug29844.phpt b/ext/soap/tests/bugs/bug29844.phpt
deleted file mode 100644
index bef8335709..0000000000
--- a/ext/soap/tests/bugs/bug29844.phpt
+++ /dev/null
@@ -1,36 +0,0 @@
---TEST--
-Bug #29844 (SOAP doesn't return the result of a valid SOAP request)
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
---FILE--
-<?php
-
-class hello_world {
- public function hello($to) {
- return 'Hello ' . $to;
- }
-}
-
-class LocalSoapClient extends SoapClient {
-
- function __construct($wsdl, $options) {
- parent::__construct($wsdl, $options);
- $this->server = new SoapServer($wsdl, $options);
- $this->server->setClass('hello_world');;
- }
-
- function __doRequest($request, $location, $action, $version) {
- ob_start();
- $this->server->handle($request);
- $response = ob_get_contents();
- ob_end_clean();
- return $response;
- }
-
-}
-
-$client = new LocalSoapClient(dirname(__FILE__)."/bug29844.wsdl", array("trace"=>1));
-var_dump($client->hello('davey'));
-?>
---EXPECT--
-string(11) "Hello davey"
diff --git a/ext/soap/tests/bugs/bug29844.wsdl b/ext/soap/tests/bugs/bug29844.wsdl
deleted file mode 100644
index b45aa3666f..0000000000
--- a/ext/soap/tests/bugs/bug29844.wsdl
+++ /dev/null
@@ -1,66 +0,0 @@
-<?xml version="1.0" ?>
-<definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://davey.synapticmedia.net/php-mag/shafikdavey_automaticwebservices/src/Listing%201.php" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap-enc="http://schemas.xmlsoap.org/soap/encoding/" name="Crtx_SOAP_AutoDiscover_Example" targetNamespace="http://davey.synapticmedia.net/php-mag/shafikdavey_automaticwebservices/src/Listing%201.php">
- <portType name="Crtx_SOAP_AutoDiscover_ExamplePort">
- <operation name="hello">
- <input message="tns:helloRequest" />
- <output message="tns:helloResponse" />
- <documentation>Say Hello to Somebody</documentation>
- </operation>
- <operation name="goodBye">
- <input message="tns:goodByeRequest" />
- <output message="tns:goodByeResponse" />
- <documentation>Say Goodbye to Somebody</documentation>
- </operation>
- </portType>
- <binding name="Crtx_SOAP_AutoDiscover_ExampleBinding"
- type="tns:Crtx_SOAP_AutoDiscover_ExamplePort">
- <soap:binding style="document"
- transport="http://schemas.xmlsoap.org/soap/http" />
- <operation name="hello">
- <input>
- <soap:body use="encoded"
- encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
- </input>
- <output>
- <soap:body use="encoded"
- encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
- </output>
- <soap:operation soapAction="http://davey.synapticmedia.net/php-mag/shafikdavey_automaticwebservices/src/Listing%201.php#hello" />
- </operation>
- <soap:binding style="document"
- transport="http://schemas.xmlsoap.org/soap/http" />
- <operation name="goodBye">
- <input>
- <soap:body use="encoded"
- encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
- </input>
- <output>
- <soap:body use="encoded"
- encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
- </output>
- <soap:operation soapAction="http://davey.synapticmedia.net/php-mag/shafikdavey_automaticwebservices/src/Listing%201.php#goodBye" />
- </operation>
- </binding>
- <service name="Crtx_SOAP_AutoDiscover_ExampleService">
- <port name="tns:Crtx_SOAP_AutoDiscover_ExamplePort"
- binding="tns:Crtx_SOAP_AutoDiscover_ExampleBinding">
- <soap:address location="http://davey.synapticmedia.net/php-mag/shafikdavey_automaticwebservices/src/Listing%201.php" />
- </port>
- </service>
- <message name="helloRequest">
- <part name="to" type="xsd:string" />
- <documentation>Say Hello to Somebody</documentation>
- </message>
- <message name="helloResponse">
- <part name="helloReturn" type="xsd:string" />
- <documentation>The greeting</documentation>
- </message>
- <message name="goodByeRequest">
- <part name="to" type="xsd:string" />
- <documentation>Say Goodbye to Somebody</documentation>
- </message>
- <message name="goodByeResponse">
- <part name="goodByeReturn" type="xsd:string" />
- <documentation>The goodbye</documentation>
- </message>
-</definitions>
diff --git a/ext/soap/tests/bugs/bug30045.phpt b/ext/soap/tests/bugs/bug30045.phpt
deleted file mode 100644
index 02424713c5..0000000000
--- a/ext/soap/tests/bugs/bug30045.phpt
+++ /dev/null
@@ -1,171 +0,0 @@
---TEST--
-Bug #30045 (Cannot pass big integers (> 2147483647) in SOAP requests)
---SKIPIF--
-<?php
- if (!extension_loaded('soap')) die('skip soap extension not available');
- if (!extension_loaded('simplexml')) die('skip simplexml extension not available');
-?>
---FILE--
-<?php
-
-function foo($type, $num) {
- return new SoapVar($num, $type);
-}
-
-class LocalSoapClient extends SoapClient {
-
- function __construct($wsdl, $options) {
- parent::__construct($wsdl, $options);
- $this->server = new SoapServer($wsdl, $options);
- $this->server->addFunction('foo');
- }
-
- function __doRequest($request, $location, $action, $version) {
- $xml = simplexml_load_string($request);
- echo $xml->children("http://schemas.xmlsoap.org/soap/envelope/")->Body->children("http://test-uri")->children()->param1->asXML(),"\n";
- unset($xml);
-
- ob_start();
- $this->server->handle($request);
- $response = ob_get_contents();
- ob_end_clean();
-
- return $response;
- }
-
-}
-
-$soap = new LocalSoapClient(NULL, array("uri"=>"http://test-uri", "location"=>"test://"));
-
-function test($type, $num) {
- global $soap;
- try {
- printf(" %0.0f\n ", $num);
- $ret = $soap->foo($type, new SoapVar($num, $type));
- printf(" %0.0f\n", $ret);
- } catch (SoapFault $ex) {
- var_dump($ex);
- }
-}
-/*
-echo "byte\n";
-//test(XSD_BYTE, -129);
-test(XSD_BYTE, -128);
-test(XSD_BYTE, 127);
-//test(XSD_BYTE, 128);
-
-echo "\nshort\n";
-//test(XSD_SHORT, -32769);
-test(XSD_SHORT, -32768);
-test(XSD_SHORT, 32767);
-//test(XSD_SHORT, 32768);
-
-echo "\nint\n";
-//test(XSD_INT, -2147483649);
-test(XSD_INT, -2147483648);
-test(XSD_INT, 2147483647);
-//test(XSD_INT, 2147483648);
-
-echo "\nlong\n";
-//test(XSD_LONG, -9223372036854775809);
-test(XSD_LONG, -9223372036854775808);
-test(XSD_LONG, 9223372036854775807);
-//test(XSD_LONG, 9223372036854775808);
-
-echo "\nunsignedByte\n";
-//test(XSD_UNSIGNEDBYTE, -1);
-test(XSD_UNSIGNEDBYTE, 0);
-test(XSD_UNSIGNEDBYTE, 255);
-//test(XSD_UNSIGNEDBYTE, 256);
-
-echo "\nunsignedShort\n";
-//test(XSD_UNSIGNEDSHORT, -1);
-test(XSD_UNSIGNEDSHORT, 0);
-test(XSD_UNSIGNEDSHORT, 65535);
-//test(XSD_UNSIGNEDSHORT, 65536);
-
-echo "\nunsignedInt\n";
-//test(XSD_UNSIGNEDINT, -1);
-test(XSD_UNSIGNEDINT, 0);
-test(XSD_UNSIGNEDINT, 4294967295);
-//test(XSD_UNSIGNEDINT, 4294967296);
-
-echo "\nunsignedLong\n";
-//test(XSD_UNSIGNEDLONG, -1);
-test(XSD_UNSIGNEDLONG, 0);
-test(XSD_UNSIGNEDLONG, 18446744073709551615);
-//test(XSD_UNSIGNEDLONG, 18446744073709551616);
-
-echo "\nnegativeInteger\n";
-test(XSD_NEGATIVEINTEGER, -18446744073709551616);
-test(XSD_NEGATIVEINTEGER, -1);
-//test(XSD_NEGATIVEINTEGER, 0);
-
-echo "\nnonPositiveInteger\n";
-test(XSD_NONPOSITIVEINTEGER, -18446744073709551616);
-test(XSD_NONPOSITIVEINTEGER, 0);
-//test(XSD_NONPOSITIVEINTEGER, 1);
-
-echo "\nnonNegativeInteger\n";
-//test(XSD_NONNEGATIVEINTEGER, -1);
-test(XSD_NONNEGATIVEINTEGER, 0);
-test(XSD_NONNEGATIVEINTEGER, 18446744073709551616);
-
-echo "\nPositiveInteger\n";
-//test(XSD_POSITIVEINTEGER, 0);
-test(XSD_POSITIVEINTEGER, 1);
-test(XSD_POSITIVEINTEGER, 18446744073709551616);
-
-echo "\ninteger\n";
-test(XSD_INTEGER, -18446744073709551616);
-test(XSD_INTEGER, 18446744073709551616);
-*/
-echo "long\n";
-test(XSD_LONG, 2147483647);
-test(XSD_LONG, 2147483648);
-test(XSD_LONG, 4294967296);
-test(XSD_LONG, 8589934592);
-test(XSD_LONG, 17179869184);
-
-echo "\nunsignedLong\n";
-test(XSD_UNSIGNEDLONG, 2147483647);
-test(XSD_UNSIGNEDLONG, 2147483648);
-test(XSD_UNSIGNEDLONG, 4294967296);
-test(XSD_UNSIGNEDLONG, 8589934592);
-test(XSD_UNSIGNEDLONG, 17179869184);
-
-?>
---EXPECT--
-long
- 2147483647
- <param1 xsi:type="xsd:long">2147483647</param1>
- 2147483647
- 2147483648
- <param1 xsi:type="xsd:long">2147483648</param1>
- 2147483648
- 4294967296
- <param1 xsi:type="xsd:long">4294967296</param1>
- 4294967296
- 8589934592
- <param1 xsi:type="xsd:long">8589934592</param1>
- 8589934592
- 17179869184
- <param1 xsi:type="xsd:long">17179869184</param1>
- 17179869184
-
-unsignedLong
- 2147483647
- <param1 xsi:type="xsd:unsignedLong">2147483647</param1>
- 2147483647
- 2147483648
- <param1 xsi:type="xsd:unsignedLong">2147483648</param1>
- 2147483648
- 4294967296
- <param1 xsi:type="xsd:unsignedLong">4294967296</param1>
- 4294967296
- 8589934592
- <param1 xsi:type="xsd:unsignedLong">8589934592</param1>
- 8589934592
- 17179869184
- <param1 xsi:type="xsd:unsignedLong">17179869184</param1>
- 17179869184
diff --git a/ext/soap/tests/bugs/bug30106.phpt b/ext/soap/tests/bugs/bug30106.phpt
deleted file mode 100644
index dbc44f6f0d..0000000000
--- a/ext/soap/tests/bugs/bug30106.phpt
+++ /dev/null
@@ -1,72 +0,0 @@
---TEST--
-Bug #30106 SOAP cannot not parse 'ref' element. Causes Uncaught SoapFault exception.
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
---FILE--
-<?php
-ini_set("soap.wsdl_cache_enabled", 0);
-
-function getContinentList() {
- return array("getContinentListResult"=>array(
- "schema"=>"<xsd:schema><element name=\"test\" type=\"xsd:string\"/></xsd:schema>",
- "any"=>"<test>Hello World!</test><test>Bye World!</test>"));
-}
-
-class LocalSoapClient extends SoapClient {
- function __construct($wsdl, $options=array()) {
- parent::__construct($wsdl, $options);
- $this->server = new SoapServer($wsdl, $options);
- $this->server->addFunction("getContinentList");
- }
-
- function __doRequest($request, $location, $action, $version) {
- echo $request;
- ob_start();
- $this->server->handle($request);
- $response = ob_get_contents();
- ob_end_clean();
- echo $response;
- return $response;
- }
-}
-
-$client = new LocalSoapClient(dirname(__FILE__)."/bug30106.wsdl");
-var_dump($client->__getFunctions());
-var_dump($client->__getTypes());
-$x = $client->getContinentList(array("AFFILIATE_ID"=>1,"PASSWORD"=>"x"));
-var_dump($x);
-?>
---EXPECTF--
-array(1) {
- [0]=>
- string(71) "getContinentListResponse getContinentList(getContinentList $parameters)"
-}
-array(3) {
- [0]=>
- string(64) "struct getContinentList {
- int AFFILIATE_ID;
- string PASSWORD;
-}"
- [1]=>
- string(83) "struct getContinentListResponse {
- getContinentListResult getContinentListResult;
-}"
- [2]=>
- string(66) "struct getContinentListResult {
- <anyXML> schema;
- <anyXML> any;
-}"
-}
-<?xml version="1.0" encoding="UTF-8"?>
-<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://tempuri.org/PRWebServ/getOtherInformation"><SOAP-ENV:Body><ns1:getContinentList><ns1:AFFILIATE_ID>1</ns1:AFFILIATE_ID><ns1:PASSWORD>x</ns1:PASSWORD></ns1:getContinentList></SOAP-ENV:Body></SOAP-ENV:Envelope>
-<?xml version="1.0" encoding="UTF-8"?>
-<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns1="http://tempuri.org/PRWebServ/getOtherInformation"><SOAP-ENV:Body><ns1:getContinentListResponse><ns1:getContinentListResult><xsd:schema><element name="test" type="xsd:string"/></xsd:schema><test>Hello World!</test><test>Bye World!</test></ns1:getContinentListResult></ns1:getContinentListResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>
-object(stdClass)#%d (1) {
- ["getContinentListResult"]=>
- object(stdClass)#%d (2) {
- ["schema"]=>
- string(65) "<xsd:schema><element name="test" type="xsd:string"/></xsd:schema>"
- ["any"]=>
- string(48) "<test>Hello World!</test><test>Bye World!</test>"
- }
-}
diff --git a/ext/soap/tests/bugs/bug30106.wsdl b/ext/soap/tests/bugs/bug30106.wsdl
deleted file mode 100644
index db1922da33..0000000000
--- a/ext/soap/tests/bugs/bug30106.wsdl
+++ /dev/null
@@ -1,59 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<wsdl:definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://tempuri.org/PRWebServ/getOtherInformation" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" targetNamespace="http://tempuri.org/PRWebServ/getOtherInformation" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
- <wsdl:types>
- <s:schema elementFormDefault="qualified" targetNamespace="http://tempuri.org/PRWebServ/getOtherInformation">
- <s:import namespace="http://www.w3.org/2001/XMLSchema" />
- <s:element name="getContinentList">
- <s:complexType>
- <s:sequence>
- <s:element minOccurs="1" maxOccurs="1" name="AFFILIATE_ID" type="s:int" />
- <s:element minOccurs="0" maxOccurs="1" name="PASSWORD" type="s:string" />
- </s:sequence>
- </s:complexType>
- </s:element>
- <s:element name="getContinentListResponse">
- <s:complexType>
- <s:sequence>
- <s:element minOccurs="0" maxOccurs="1" name="getContinentListResult">
- <s:complexType>
- <s:sequence>
- <s:element ref="s:schema" />
- <s:any />
- </s:sequence>
- </s:complexType>
- </s:element>
- </s:sequence>
- </s:complexType>
- </s:element>
- </s:schema>
- </wsdl:types>
- <wsdl:message name="getContinentListSoapIn">
- <wsdl:part name="parameters" element="tns:getContinentList" />
- </wsdl:message>
- <wsdl:message name="getContinentListSoapOut">
- <wsdl:part name="parameters" element="tns:getContinentListResponse" />
- </wsdl:message>
- <wsdl:portType name="getOtherInformationSoap">
- <wsdl:operation name="getContinentList">
- <wsdl:input message="tns:getContinentListSoapIn" />
- <wsdl:output message="tns:getContinentListSoapOut" />
- </wsdl:operation>
- </wsdl:portType>
- <wsdl:binding name="getOtherInformationSoap" type="tns:getOtherInformationSoap">
- <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
- <wsdl:operation name="getContinentList">
- <soap:operation soapAction="http://tempuri.org/PRWebServ/getOtherInformation/getContinentList" style="document" />
- <wsdl:input>
- <soap:body use="literal" />
- </wsdl:input>
- <wsdl:output>
- <soap:body use="literal" />
- </wsdl:output>
- </wsdl:operation>
- </wsdl:binding>
- <wsdl:service name="getOtherInformation">
- <wsdl:port name="getOtherInformationSoap" binding="tns:getOtherInformationSoap">
- <soap:address location="http://www.precisionreservations.com/PRWebServ/getOtherInformation.asmx" />
- </wsdl:port>
- </wsdl:service>
-</wsdl:definitions> \ No newline at end of file
diff --git a/ext/soap/tests/bugs/bug30175.phpt b/ext/soap/tests/bugs/bug30175.phpt
deleted file mode 100644
index f5501ac9bd..0000000000
--- a/ext/soap/tests/bugs/bug30175.phpt
+++ /dev/null
@@ -1,47 +0,0 @@
---TEST--
-Bug #30175 (SOAP results aren't parsed correctly)
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
---INI--
-soap.wsdl_cache_enabled=0
---FILE--
-<?php
-
-class LocalSoapClient extends SoapClient {
-
- function __doRequest($request, $location, $action, $version) {
- return <<<EOF
-<?xml version="1.0" encoding="UTF-8"?>
-<SOAP-ENV:Envelope
-xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
-xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
-xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-xmlns:ns1="urn:qweb">
-<SOAP-ENV:Body
-SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
-id="_0">
-<ns1:HostInfo xsi:type="ns1:HostInfo">
-<name xsi:type="xsd:string">blah blah some name field</name>
-<shortDescription xsi:type="xsd:string">This is a description. more blah blah blah</shortDescription>
-<ipAddress xsi:type="xsd:string">127.0.0.1</ipAddress>
-</ns1:HostInfo>
-</SOAP-ENV:Body>
-</SOAP-ENV:Envelope>
-EOF;
- }
-
-}
-
-$client = new LocalSoapClient(dirname(__FILE__)."/bug30175.wsdl");
-var_dump($client->qwebGetHostInfo());
-?>
---EXPECT--
-array(3) {
- ["name"]=>
- string(25) "blah blah some name field"
- ["shortDescription"]=>
- string(42) "This is a description. more blah blah blah"
- ["ipAddress"]=>
- string(9) "127.0.0.1"
-}
diff --git a/ext/soap/tests/bugs/bug30175.wsdl b/ext/soap/tests/bugs/bug30175.wsdl
deleted file mode 100644
index f4cae2554e..0000000000
--- a/ext/soap/tests/bugs/bug30175.wsdl
+++ /dev/null
@@ -1,126 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<definitions name="qweb"
- targetNamespace="http://www.newsblob.com/qweb.wsdl"
- xmlns:tns="http://www.newsblob.com/qweb.wsdl"
- xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
- xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns:xsd="http://www.w3.org/2001/XMLSchema"
- xmlns:ns1="urn:qweb"
- xmlns:SOAP="http://schemas.xmlsoap.org/wsdl/soap/"
- xmlns:WSDL="http://schemas.xmlsoap.org/wsdl/"
- xmlns="http://schemas.xmlsoap.org/wsdl/">
-
-<types>
-
- <schema targetNamespace="urn:qweb"
- xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
- xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns:xsd="http://www.w3.org/2001/XMLSchema"
- xmlns:ns1="urn:qweb"
- xmlns="http://www.w3.org/2001/XMLSchema"
- elementFormDefault="unqualified"
- attributeFormDefault="unqualified">
- <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
- <complexType name="qwebGetHostInfoResponse">
- <sequence>
- <element name="return" type="ns1:HostInfo" minOccurs="1" maxOccurs="1"/>
- </sequence>
- </complexType>
- <complexType name="ArrayOfHostInfo">
- <complexContent>
- <restriction base="SOAP-ENC:Array">
- <sequence>
- <element name="item" type="ns1:HostInfo" minOccurs="0" maxOccurs="unbounded"/>
- </sequence>
- <attribute ref="SOAP-ENC:arrayType" WSDL:arrayType="ns1:HostInfo[]"/>
- </restriction>
- </complexContent>
- </complexType>
- </schema>
-
-</types>
-
-<message name="qwebSquareRequest">
- <part name="mynum" type="xsd:int"/>
-</message>
-
-<message name="qwebSquareResponse">
- <part name="result" type="xsd:int"/>
-</message>
-
-<message name="qwebStrlenRequest">
- <part name="mystr" type="xsd:string"/>
-</message>
-
-<message name="qwebStrlenResponse">
- <part name="result" type="xsd:int"/>
-</message>
-
-<message name="qwebGetHostInfoRequest">
-</message>
-
-<message name="HostInfo">
- <part name="name" type="xsd:string"/>
- <part name="shortDescription" type="xsd:string"/>
- <part name="ipAddress" type="xsd:string"/>
-</message>
-
-<portType name="qwebPortType">
- <operation name="qwebSquare">
- <documentation>Service definition of function ns1__qwebSquare</documentation>
- <input message="tns:qwebSquareRequest"/>
- <output message="tns:qwebSquareResponse"/>
- </operation>
- <operation name="qwebStrlen">
- <documentation>Service definition of function ns1__qwebStrlen</documentation>
- <input message="tns:qwebStrlenRequest"/>
- <output message="tns:qwebStrlenResponse"/>
- </operation>
- <operation name="qwebGetHostInfo">
- <documentation>Service definition of function ns1__qwebGetHostInfo</documentation>
- <input message="tns:qwebGetHostInfoRequest"/>
- <output message="tns:HostInfo"/>
- </operation>
-</portType>
-
-<binding name="qweb" type="tns:qwebPortType">
- <SOAP:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
- <operation name="qwebSquare">
- <SOAP:operation style="rpc" soapAction=""/>
- <input>
- <SOAP:body use="encoded" namespace="urn:qweb" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
- </input>
- <output>
- <SOAP:body use="encoded" namespace="urn:qweb" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
- </output>
- </operation>
- <operation name="qwebStrlen">
- <SOAP:operation style="rpc" soapAction=""/>
- <input>
- <SOAP:body use="encoded" namespace="urn:qweb" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
- </input>
- <output>
- <SOAP:body use="encoded" namespace="urn:qweb" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
- </output>
- </operation>
- <operation name="qwebGetHostInfo">
- <SOAP:operation style="rpc" soapAction=""/>
- <input>
- <SOAP:body use="encoded" namespace="urn:qweb" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
- </input>
- <output>
- <SOAP:body use="encoded" namespace="urn:qweb" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
- </output>
- </operation>
-</binding>
-
-<service name="qweb">
- <documentation>Demo Qweb SOAP interface</documentation>
- <port name="qweb" binding="tns:qweb">
- <SOAP:address location="http://www.newsblob.com:6969"/>
- </port>
-</service>
-
-</definitions>
diff --git a/ext/soap/tests/bugs/bug30799.phpt b/ext/soap/tests/bugs/bug30799.phpt
deleted file mode 100644
index d5f2da5170..0000000000
--- a/ext/soap/tests/bugs/bug30799.phpt
+++ /dev/null
@@ -1,25 +0,0 @@
---TEST--
-Bug #30799 SoapServer doesn't handle private or protected properties
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
---FILE--
-<?php
-class foo {
- public $a="a";
- private $b="b";
- protected $c="c";
-
-}
-
-$x = new SoapClient(NULL,array("location"=>"test://",
- "uri" => "test://",
- "exceptions" => 0,
- "trace" => 1 ));
-$x->test(new foo());
-echo $x->__getLastRequest();
-echo "ok\n";
-?>
---EXPECT--
-<?xml version="1.0" encoding="UTF-8"?>
-<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="test://" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body><ns1:test><param0 xsi:type="SOAP-ENC:Struct"><a xsi:type="xsd:string">a</a><b xsi:type="xsd:string">b</b><c xsi:type="xsd:string">c</c></param0></ns1:test></SOAP-ENV:Body></SOAP-ENV:Envelope>
-ok
diff --git a/ext/soap/tests/bugs/bug30928.phpt b/ext/soap/tests/bugs/bug30928.phpt
deleted file mode 100644
index c7b497c0ed..0000000000
--- a/ext/soap/tests/bugs/bug30928.phpt
+++ /dev/null
@@ -1,63 +0,0 @@
---TEST--
-Bug #30928 When Using WSDL, SoapServer doesn't handle private or protected properties
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
---FILE--
-<?php
-ini_set("soap.wsdl_cache_enabled", 0);
-
-class foo {
- public $a="a";
- private $b="b";
- protected $c="c";
-}
-
-function test($x) {
- return $x;
-}
-
-class LocalSoapClient extends SoapClient {
-
- function __construct($wsdl, $options) {
- parent::__construct($wsdl, $options);
- $this->server = new SoapServer($wsdl, $options);
- $this->server->addFunction('test');
- }
-
- function __doRequest($request, $location, $action, $version) {
- ob_start();
- $this->server->handle($request);
- $response = ob_get_contents();
- ob_end_clean();
- return $response;
- }
-}
-
-$x = new LocalSoapClient(dirname(__FILE__)."/bug30928.wsdl",
- array());
-var_dump($x->test(new foo()));
-
-$x = new LocalSoapClient(dirname(__FILE__)."/bug30928.wsdl",
- array("classmap" => array('testType'=>'foo')));
-var_dump($x->test(new foo()));
-
-echo "ok\n";
-?>
---EXPECTF--
-object(stdClass)#%d (3) {
- ["a"]=>
- string(1) "a"
- ["b"]=>
- string(1) "b"
- ["c"]=>
- string(1) "c"
-}
-object(foo)#%d (3) {
- ["a"]=>
- string(1) "a"
- ["b:private"]=>
- string(1) "b"
- ["c:protected"]=>
- string(1) "c"
-}
-ok
diff --git a/ext/soap/tests/bugs/bug30928.wsdl b/ext/soap/tests/bugs/bug30928.wsdl
deleted file mode 100644
index 7ed34d31a2..0000000000
--- a/ext/soap/tests/bugs/bug30928.wsdl
+++ /dev/null
@@ -1,49 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<definitions name="InteropTest"
- xmlns:xsd="http://www.w3.org/2001/XMLSchema"
- xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
- xmlns:tns="http://test-uri/"
- xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
- xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
- xmlns="http://schemas.xmlsoap.org/wsdl/"
- targetNamespace="http://test-uri/">
- <types>
- <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://test-uri/">
- <xsd:import namespace="http://schemas.xmlsoap.org/soap/encoding/" />
- <xsd:import namespace="http://schemas.xmlsoap.org/wsdl/" />
- <complexType name="testType">
- <sequence>
- <element name="a" type="string"/>
- <element name="b" type="string"/>
- </sequence>
- <attribute name="c" type="string"/>
- </complexType>
- </schema>
- </types>
- <message name="testMessage">
- <part name="testParam" type="tns:testType"/>
- </message>
- <portType name="testPortType">
- <operation name="test">
- <input message="testMessage"/>
- <output message="testMessage"/>
- </operation>
- </portType>
- <binding name="testBinding" type="testPortType">
- <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
- <operation name="test">
- <soap:operation soapAction="#test" style="rpc"/>
- <input>
- <soap:body use="encoded" namespace="http://test-uri/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
- </input>
- <output>
- <soap:body use="encoded" namespace="http://test-uri/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
- </output>
- </operation>
- </binding>
- <service name="testService">
- <port name="testPort" binding="tns:testBinding">
- <soap:address location="test://" />
- </port>
- </service>
-</definitions>
diff --git a/ext/soap/tests/bugs/bug30994.phpt b/ext/soap/tests/bugs/bug30994.phpt
deleted file mode 100644
index 7e811bbbf9..0000000000
--- a/ext/soap/tests/bugs/bug30994.phpt
+++ /dev/null
@@ -1,47 +0,0 @@
---TEST--
-Bug #30994 SOAP server unable to handle request with references
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
---FILE--
-<?php
-$HTTP_RAW_POST_DATA = <<<EOF
-<?xml version="1.0" encoding="utf-8"?>
-<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
- xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
- xmlns:tns="http://spock/kunta/kunta"
- xmlns:types="http://spock/kunta/kunta/encodedTypes"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns:xsd="http://www.w3.org/2001/XMLSchema">
-
-<soap:Body
-soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
- <q1:bassCall xmlns:q1="http://spock/bass/types/kunta">
- <system xsi:type="xsd:string">XXX</system>
- <function xsi:type="xsd:string">TASKTEST</function>
- <parameter href="#id1" />
- </q1:bassCall>
-
- <soapenc:Array id="id1" soapenc:arrayType="tns:Item[1]">
- <Item href="#id2" />
- </soapenc:Array>
-
- <tns:Item id="id2" xsi:type="tns:Item">
- <key xsi:type="xsd:string">ABCabc123</key>
- <val xsi:type="xsd:string">123456</val>
- </tns:Item>
-
-</soap:Body>
-</soap:Envelope>
-EOF;
-
-function bassCall() {
- return "ok";
-}
-
-$x = new SoapServer(NULL, array("uri"=>"http://spock/kunta/kunta"));
-$x->addFunction("bassCall");
-$x->handle();
-?>
---EXPECT--
-<?xml version="1.0" encoding="UTF-8"?>
-<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://spock/kunta/kunta" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body><ns1:bassCallResponse><return xsi:type="xsd:string">ok</return></ns1:bassCallResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>
diff --git a/ext/soap/tests/bugs/bug31422.phpt b/ext/soap/tests/bugs/bug31422.phpt
deleted file mode 100644
index fbad1cbd98..0000000000
--- a/ext/soap/tests/bugs/bug31422.phpt
+++ /dev/null
@@ -1,42 +0,0 @@
---TEST--
-Bug #31422 No Error-Logging on SoapServer-Side
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
---INI--
-log_errors=1
---FILE--
-<?php
-function Add($x,$y) {
- fopen();
- user_error("Hello", E_USER_ERROR);
- return $x+$y;
-}
-
-$server = new SoapServer(null,array('uri'=>"http://testuri.org"));
-$server->addfunction("Add");
-
-$HTTP_RAW_POST_DATA = <<<EOF
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<SOAP-ENV:Envelope
- SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
- xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
- xmlns:xsd="http://www.w3.org/2001/XMLSchema"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns:si="http://soapinterop.org/xsd">
- <SOAP-ENV:Body>
- <ns1:Add xmlns:ns1="http://testuri.org">
- <x xsi:type="xsd:int">22</x>
- <y xsi:type="xsd:int">33</y>
- </ns1:Add>
- </SOAP-ENV:Body>
-</SOAP-ENV:Envelope>
-EOF;
-
-$server->handle();
-echo "ok\n";
-?>
---EXPECTF--
-PHP Warning: fopen() expects at least 2 parameters, 0 given in %sbug31422.php on line %d
-PHP Fatal error: Hello in %sbug31422.php on line %d
-<?xml version="1.0" encoding="UTF-8"?>
-<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><SOAP-ENV:Fault><faultcode>SOAP-ENV:Server</faultcode><faultstring>Hello</faultstring></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>
diff --git a/ext/soap/tests/bugs/bug31695.phpt b/ext/soap/tests/bugs/bug31695.phpt
deleted file mode 100644
index 770f5b4b6d..0000000000
--- a/ext/soap/tests/bugs/bug31695.phpt
+++ /dev/null
@@ -1,62 +0,0 @@
---TEST--
-Bug #31695 Cannot redefine endpoint when using WSDL
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
---FILE--
-<?php
-ini_set("soap.wsdl_cache_enabled", 0);
-
-function Test($x) {
- return $x;
-}
-
-class LocalSoapClient extends SoapClient {
- function __construct($wsdl, $options=array()) {
- parent::__construct($wsdl, $options);
- $this->server = new SoapServer($wsdl, $options);
- $this->server->addFunction("Test");
- }
-
- function __doRequest($request, $location, $action, $version) {
- echo "$location\n";
- ob_start();
- $this->server->handle($request);
- $response = ob_get_contents();
- ob_end_clean();
- return $response;
- }
-}
-
-$client = new LocalSoapClient(dirname(__FILE__)."/bug31695.wsdl");
-$client->Test("str");
-$client = new LocalSoapClient(dirname(__FILE__)."/bug31695.wsdl", array("location"=>"test://1"));
-$client->Test("str");
-$client->__soapCall("Test",
- array("arg1"),
- array("location"=>"test://2"));
-$old = $client->__setLocation("test://3");
-echo "$old\n";
-$client->Test("str");
-$client->Test("str");
-$client->__setLocation($old);
-$client->Test("str");
-$old = $client->__setLocation();
-$client->Test("str");
-$client->__setLocation($old);
-$client->Test("str");
-$client->__setLocation(null);
-$client->Test("str");
-var_dump($client->__setLocation());
-?>
---EXPECT--
-test://0
-test://1
-test://2
-test://1
-test://3
-test://3
-test://1
-test://0
-test://1
-test://0
-NULL
diff --git a/ext/soap/tests/bugs/bug31695.wsdl b/ext/soap/tests/bugs/bug31695.wsdl
deleted file mode 100644
index 5785cb0770..0000000000
--- a/ext/soap/tests/bugs/bug31695.wsdl
+++ /dev/null
@@ -1,47 +0,0 @@
-<?xml version="1.0" ?>
-<definitions
- xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
- xmlns:xsd="http://www.w3.org/2001/XMLSchema"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
- xmlns:si="http://soapinterop.org/xsd"
- xmlns:tns="http://linuxsrv.home/~dmitry/soap/test.wsdl"
- xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
- xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
- xmlns="http://schemas.xmlsoap.org/wsdl/"
- targetNamespace="http://linuxsrv.home/~dmitry/soap/test.wsdl">
-
- <message name="TestRequest">
- <part name="x" type="xsd:string" />
- </message>
- <message name="TestResponse">
- <part name="result" type="xsd:string" />
- </message>
-
- <portType name="TestServicePortType">
- <operation name="Test">
- <input message="tns:TestRequest" />
- <output message="tns:TestResponse" />
- </operation>
- </portType>
-
- <binding name="TestServiceBinding" type="tns:TestServicePortType">
- <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http" />
- <operation name="Test">
- <soap:operation soapAction="Test" style="rpc" />
- <input>
- <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
- </input>
- <output>
- <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
- </output>
- </operation>
- </binding>
-
- <service name="TestService">
- <port name="TestServicePort" binding="tns:TestServiceBinding">
- <soap:address location="test://0" />
- </port>
- </service>
-
-</definitions>
diff --git a/ext/soap/tests/bugs/bug31755.phpt b/ext/soap/tests/bugs/bug31755.phpt
deleted file mode 100644
index 6523588c92..0000000000
--- a/ext/soap/tests/bugs/bug31755.phpt
+++ /dev/null
@@ -1,17 +0,0 @@
---TEST--
-Bug #31422 No Error-Logging on SoapServer-Side
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
---FILE--
-<?php
-$client=new SOAPClient(null, array('location' => 'http://localhost',
-'uri' => 'myNS', 'exceptions' => false, 'trace' => true));
-
-$header = new SOAPHeader(null, 'foo', 'bar');
-
-$response= $client->__call('function', array(), null, $header);
-
-print $client->__getLastRequest();
-?>
---EXPECTF--
-Fatal error: SoapHeader::SoapHeader(): Invalid parameters. Invalid namespace. in %s on line %d
diff --git a/ext/soap/tests/bugs/bug32776.phpt b/ext/soap/tests/bugs/bug32776.phpt
deleted file mode 100644
index b3c4ff0170..0000000000
--- a/ext/soap/tests/bugs/bug32776.phpt
+++ /dev/null
@@ -1,47 +0,0 @@
---TEST--
-Bug #32776 SOAP doesn't support one-way operations
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
---FILE--
-<?php
-
-$d = null;
-
-function test($x) {
- global $d;
- $d = $x;
-}
-
-class LocalSoapClient extends SoapClient {
-
- function __construct($wsdl, $options) {
- parent::__construct($wsdl, $options);
- $this->server = new SoapServer($wsdl, $options);
- $this->server->addFunction('test');
- }
-
- function __doRequest($request, $location, $action, $version) {
- ob_start();
- $this->server->handle($request);
- $response = ob_get_contents();
- ob_end_clean();
- return $response;
- }
-
-}
-
-$x = new LocalSoapClient(dirname(__FILE__)."/bug32776.wsdl",array("trace"=>true,"exceptions"=>false));
-var_dump($x->test("Hello"));
-var_dump($d);
-var_dump($x->__getLastRequest());
-var_dump($x->__getLastResponse());
-echo "ok\n";
-?>
---EXPECT--
-NULL
-string(5) "Hello"
-string(459) "<?xml version="1.0" encoding="UTF-8"?>
-<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body><SOAP-ENV:test><x xsi:type="xsd:string">Hello</x></SOAP-ENV:test></SOAP-ENV:Body></SOAP-ENV:Envelope>
-"
-string(0) ""
-ok
diff --git a/ext/soap/tests/bugs/bug32776.wsdl b/ext/soap/tests/bugs/bug32776.wsdl
deleted file mode 100644
index 733901849e..0000000000
--- a/ext/soap/tests/bugs/bug32776.wsdl
+++ /dev/null
@@ -1,47 +0,0 @@
-<?xml version="1.0" ?>
-<definitions
- xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
- xmlns:xsd="http://www.w3.org/2001/XMLSchema"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
- xmlns:si="http://soapinterop.org/xsd"
- xmlns:tns="http://linuxsrv.home/~dmitry/soap/test.wsdl"
- xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
- xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
- xmlns="http://schemas.xmlsoap.org/wsdl/"
- targetNamespace="http://linuxsrv.home/~dmitry/soap/test.wsdl">
-
- <types>
- <xsd:schema targetNamespace="http://linuxsrv.home/~dmitry/soap/test.wsdl">
- <xsd:import namespace="http://schemas.xmlsoap.org/soap/encoding/" />
- <xsd:import namespace="http://schemas.xmlsoap.org/wsdl/" />
- </xsd:schema>
- </types>
-
- <message name="TestRequest">
- <part name="x" type="xsd:string" />
- </message>
-
- <portType name="TestServicePortType">
- <operation name="test">
- <input message="tns:TestRequest" />
- </operation>
- </portType>
-
- <binding name="TestServiceBinding" type="tns:TestServicePortType">
- <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http" />
- <operation name="test">
- <soap:operation soapAction="Add" style="rpc" />
- <input>
- <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
- </input>
- </operation>
- </binding>
-
- <service name="TestService">
- <port name="TestServicePort" binding="tns:TestServiceBinding">
- <soap:address location="http://linuxsrv.home/~dmitry/soap/soap_server.php" />
- </port>
- </service>
-
-</definitions>
diff --git a/ext/soap/tests/bugs/bug32941.phpt b/ext/soap/tests/bugs/bug32941.phpt
deleted file mode 100755
index 5fd17df18e..0000000000
--- a/ext/soap/tests/bugs/bug32941.phpt
+++ /dev/null
@@ -1,41 +0,0 @@
---TEST--
-Bug #32941 (Sending structured exception kills a php)
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
---FILE--
-<?php
-class TestSoapClient extends SoapClient {
- function __doRequest($request, $location, $action, $version) {
- return <<<EOF
-<?xml version="1.0" encoding="UTF-8"?>
-<soapenv:Envelope
-xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
-xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <soapenv:Body>
- <soapenv:Fault>
- <faultcode>soapenv:Server.userException</faultcode>
- <faultstring>service.EchoServiceException</faultstring>
- <detail>
- <service.EchoServiceException xsi:type="ns1:EchoServiceException" xmlns:ns1="urn:service.EchoService">
- <intParameter xsi:type="xsd:int">105</intParameter>
- <parameter xsi:type="soapenc:string" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">string param</parameter>
- </service.EchoServiceException>
- <ns2:hostname xmlns:ns2="http://xml.apache.org/axis/">steckovic</ns2:hostname>
- </detail>
- </soapenv:Fault>
- </soapenv:Body>
-</soapenv:Envelope>
-EOF;
- }
-}
-
-ini_set("soap.wsdl_cache_enabled", 1);
-$client = new TestSoapClient(dirname(__FILE__).'/bug32941.wsdl', array("trace" => 1, 'exceptions' => 0));
-$ahoj = $client->echoString('exception');
-$client = new TestSoapClient(dirname(__FILE__).'/bug32941.wsdl', array("trace" => 1, 'exceptions' => 0));
-$ahoj = $client->echoString('exception');
-echo "ok\n";
-?>
---EXPECT--
-ok
diff --git a/ext/soap/tests/bugs/bug32941.wsdl b/ext/soap/tests/bugs/bug32941.wsdl
deleted file mode 100755
index 61fd13dcbc..0000000000
--- a/ext/soap/tests/bugs/bug32941.wsdl
+++ /dev/null
@@ -1,141 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<wsdl:definitions targetNamespace="http://212.24.157.117:8080/axis/services/echo" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://212.24.157.117:8080/axis/services/echo" xmlns:intf="http://212.24.157.117:8080/axis/services/echo" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns1="urn:service.EchoService" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
-<!--WSDL created by Apache Axis version: 1.2RC3
-Built on Feb 28, 2005 (10:15:14 EST)-->
- <wsdl:types>
- <schema targetNamespace="urn:service.EchoService" xmlns="http://www.w3.org/2001/XMLSchema">
- <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
- <complexType name="EchoServiceException">
- <sequence>
- <element name="intParameter" type="xsd:int"/>
- <element name="parameter" nillable="true" type="soapenc:string"/>
- </sequence>
- </complexType>
- <complexType name="Person">
- <sequence>
- <element name="name" nillable="true" type="soapenc:string"/>
- <element name="surname" nillable="true" type="soapenc:string"/>
- </sequence>
- </complexType>
- </schema>
- </wsdl:types>
-
- <wsdl:message name="echoStringResponse">
-
- <wsdl:part name="echoStringReturn" type="soapenc:string"/>
-
- </wsdl:message>
-
- <wsdl:message name="EchoServiceException">
-
- <wsdl:part name="EchoServiceException" type="tns1:EchoServiceException"/>
-
- </wsdl:message>
-
- <wsdl:message name="echoStringRequest">
-
- <wsdl:part name="e" type="xsd:string"/>
-
- </wsdl:message>
-
- <wsdl:message name="echoPersonResponse">
-
- <wsdl:part name="echoPersonReturn" type="tns1:Person"/>
-
- </wsdl:message>
-
- <wsdl:message name="echoPersonRequest">
-
- <wsdl:part name="p" type="tns1:Person"/>
-
- </wsdl:message>
-
- <wsdl:portType name="EchoService">
-
- <wsdl:operation name="echoString" parameterOrder="e">
-
- <wsdl:input message="impl:echoStringRequest" name="echoStringRequest"/>
-
- <wsdl:output message="impl:echoStringResponse" name="echoStringResponse"/>
-
- <wsdl:fault message="impl:EchoServiceException" name="EchoServiceException"/>
-
- </wsdl:operation>
-
- <wsdl:operation name="echoPerson" parameterOrder="p">
-
- <wsdl:input message="impl:echoPersonRequest" name="echoPersonRequest"/>
-
- <wsdl:output message="impl:echoPersonResponse" name="echoPersonResponse"/>
-
- <wsdl:fault message="impl:EchoServiceException" name="EchoServiceException"/>
-
- </wsdl:operation>
-
- </wsdl:portType>
-
- <wsdl:binding name="echoSoapBinding" type="impl:EchoService">
-
- <wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
-
- <wsdl:operation name="echoString">
-
- <wsdlsoap:operation soapAction=""/>
-
- <wsdl:input name="echoStringRequest">
-
- <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:service.EchoService" use="encoded"/>
-
- </wsdl:input>
-
- <wsdl:output name="echoStringResponse">
-
- <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://212.24.157.117:8080/axis/services/echo" use="encoded"/>
-
- </wsdl:output>
-
- <wsdl:fault name="EchoServiceException">
-
- <wsdlsoap:fault encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" name="EchoServiceException" namespace="urn:service.EchoService" use="encoded"/>
-
- </wsdl:fault>
-
- </wsdl:operation>
-
- <wsdl:operation name="echoPerson">
-
- <wsdlsoap:operation soapAction=""/>
-
- <wsdl:input name="echoPersonRequest">
-
- <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://service" use="encoded"/>
-
- </wsdl:input>
-
- <wsdl:output name="echoPersonResponse">
-
- <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://212.24.157.117:8080/axis/services/echo" use="encoded"/>
-
- </wsdl:output>
-
- <wsdl:fault name="EchoServiceException">
-
- <wsdlsoap:fault encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" name="EchoServiceException" namespace="http://212.24.157.117:8080/axis/services/echo" use="encoded"/>
-
- </wsdl:fault>
-
- </wsdl:operation>
-
- </wsdl:binding>
-
- <wsdl:service name="EchoServiceService">
-
- <wsdl:port binding="impl:echoSoapBinding" name="echo">
-
- <wsdlsoap:address location="http://212.24.157.117:8080/axis/services/echo"/>
-
- </wsdl:port>
-
- </wsdl:service>
-
-</wsdl:definitions>
diff --git a/ext/soap/tests/bugs/bug34449.phpt b/ext/soap/tests/bugs/bug34449.phpt
deleted file mode 100755
index 1bc9ff8749..0000000000
--- a/ext/soap/tests/bugs/bug34449.phpt
+++ /dev/null
@@ -1,20 +0,0 @@
---TEST--
-Bug #34449 (ext/soap: XSD_ANYXML functionality not exposed)
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
---FILE--
-<?php
-class TestSoapClient extends SoapClient {
- function __doRequest($request, $location, $action, $version) {
- echo "$request\n";
- exit;
- }
-}
-
-$my_xml = "<array><item/><item/><item/></array>";
-$client = new TestSoapClient(null, array('location' => 'test://', 'uri' => 'test://'));
-$client->AnyFunction(new SoapVar($my_xml, XSD_ANYXML));
-?>
---EXPECT--
-<?xml version="1.0" encoding="UTF-8"?>
-<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="test://" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body><ns1:AnyFunction><array><item/><item/><item/></array></ns1:AnyFunction></SOAP-ENV:Body></SOAP-ENV:Envelope>
diff --git a/ext/soap/tests/bugs/bug34453.phpt b/ext/soap/tests/bugs/bug34453.phpt
deleted file mode 100755
index 7b6bba0253..0000000000
--- a/ext/soap/tests/bugs/bug34453.phpt
+++ /dev/null
@@ -1,41 +0,0 @@
---TEST--
-Bug #29839 incorrect convert (xml:lang to lang)
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
---FILE--
-<?php
-
-function EchoString($s) {
- return $s;
-}
-
-class LocalSoapClient extends SoapClient {
-
- function __construct($wsdl, $options) {
- parent::__construct($wsdl, $options);
- $this->server = new SoapServer($wsdl, $options);
- $this->server->addFunction('EchoString');
- }
-
- function __doRequest($request, $location, $action, $version) {
- ob_start();
- $this->server->handle($request);
- $response = ob_get_contents();
- ob_end_clean();
- return $response;
- }
-
-}
-
-$client = new LocalSoapClient(dirname(__FILE__)."/bug34453.wsdl", array("trace"=>1));
-$client->EchoString(array("value"=>"hello","lang"=>"en"));
-echo $client->__getLastRequest();
-echo $client->__getLastResponse();
-echo "ok\n";
-?>
---EXPECT--
-<?xml version="1.0" encoding="UTF-8"?>
-<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://test-uri"><SOAP-ENV:Body><string xml:lang="en"><ns1:value>hello</ns1:value></string></SOAP-ENV:Body></SOAP-ENV:Envelope>
-<?xml version="1.0" encoding="UTF-8"?>
-<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://test-uri"><SOAP-ENV:Body><string xml:lang="en"><ns1:value>hello</ns1:value></string></SOAP-ENV:Body></SOAP-ENV:Envelope>
-ok \ No newline at end of file
diff --git a/ext/soap/tests/bugs/bug34453.wsdl b/ext/soap/tests/bugs/bug34453.wsdl
deleted file mode 100755
index 205e1c95b5..0000000000
--- a/ext/soap/tests/bugs/bug34453.wsdl
+++ /dev/null
@@ -1,42 +0,0 @@
-<definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://test-uri" targetNamespace="http://test-uri">
- <types>
- <xs:schema targetNamespace="http://test-uri" elementFormDefault="qualified">
- <import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="xml2.xsd" />
- <complexType name="LocalizedString">
- <sequence>
- <element name="value" type="xsd:string"/>
- </sequence>
- <attribute ref="xml:lang" use="required"/>
- </complexType>
- </xs:schema>
- </types>
- <message name="EchoStringRequest">
- <part name="string" type="tns:LocalizedString"/>
- </message>
- <message name="EchoStringResponse">
- <part name="string" type="tns:LocalizedString"/>
- </message>
- <portType name="AWSProductDataPortType">
- <operation name="EchoString">
- <input message="tns:EchoStringRequest"/>
- <output message="tns:EchoStringResponse"/>
- </operation>
- </portType>
- <binding name="AWSProductDataBinding" type="tns:AWSProductDataPortType">
- <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
- <operation name="EchoString">
- <soap:operation soapAction="http://test-uri"/>
- <input>
- <soap:body use="literal"/>
- </input>
- <output>
- <soap:body use="literal"/>
- </output>
- </operation>
- </binding>
- <service name="AWSProductData">
- <port name="AWSProductDataPort" binding="tns:AWSProductDataBinding">
- <soap:address location="http://aws-beta.amazon.com/onca/soap?Service=AWSProductData"/>
- </port>
- </service>
-</definitions>
diff --git a/ext/soap/tests/bugs/bug34643.phpt b/ext/soap/tests/bugs/bug34643.phpt
deleted file mode 100755
index d05f9bd7f5..0000000000
--- a/ext/soap/tests/bugs/bug34643.phpt
+++ /dev/null
@@ -1,48 +0,0 @@
---TEST--
-Bug #34643 (wsdl default value)
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
---INI--
-soap.wsdl_cache_enabled=0
---FILE--
-<?php
-ini_set("soap.wsdl_cache_enabled", 0);
-
-class fp {
- public function get_it($opt="zzz") {
- return $opt;
- }
-}
-
-class LocalSoapClient extends SoapClient {
-
- function __construct($wsdl, $options) {
- parent::__construct($wsdl, $options);
- $this->server = new SoapServer($wsdl, $options);
- $this->server->setClass('fp');
- }
-
- function __doRequest($request, $location, $action, $version) {
- ob_start();
- $this->server->handle($request);
- $response = ob_get_contents();
- ob_end_clean();
- return $response;
- }
-
-}
-
-$cl = new LocalSoapClient(dirname(__FILE__).'/bug34643.wsdl', array("trace"=>1));
-print_r($cl->__getFunctions());
-echo $cl->get_it("aaa")."\n";
-echo $cl->get_it()."\n";
-var_dump($cl->get_it(null));
-?>
---EXPECT--
-Array
-(
- [0] => string get_it(string $opt)
-)
-aaa
-zzz
-NULL
diff --git a/ext/soap/tests/bugs/bug34643.wsdl b/ext/soap/tests/bugs/bug34643.wsdl
deleted file mode 100755
index 24c3a50828..0000000000
--- a/ext/soap/tests/bugs/bug34643.wsdl
+++ /dev/null
@@ -1,42 +0,0 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<definitions name="wsdl" targetNamespace="urn:wsdl"
-xmlns:typens="urn:wsdl" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
-xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
-xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
-xmlns="http://schemas.xmlsoap.org/wsdl/">
- <types>
- <xsd:schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:wsdl">
- <xsd:element name="opt" type="xsd:string" default="zzz" />
- </xsd:schema>
- </types>
- <message name="get_it">
- <part name="opt" element="typens:opt"/>
- </message>
- <message name="get_itResponse">
- <part name="return" type="xsd:string"/>
- </message>
- <portType name="fpPortType">
- <operation name="get_it">
- <input message="typens:get_it"/>
- <output message="typens:get_itResponse"/>
- </operation>
- </portType>
- <binding name="fpBinding" type="typens:fpPortType">
- <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
- <operation name="get_it">
- <soap:operation soapAction="urn:fpAction"/>
- <input>
- <soap:body namespace="urn:wsdl" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
- </input>
- <output>
- <soap:body namespace="urn:wsdl" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
- </output>
- </operation>
- </binding>
- <service name="wsdlService">
- <port name="fpPort" binding="typens:fpBinding">
- <soap:address location="**********"/>
- </port>
- </service>
-</definitions>
diff --git a/ext/soap/tests/bugs/bug35142.phpt b/ext/soap/tests/bugs/bug35142.phpt
deleted file mode 100755
index e12b5ad98a..0000000000
--- a/ext/soap/tests/bugs/bug35142.phpt
+++ /dev/null
@@ -1,135 +0,0 @@
---TEST--
-Bug #35142 SOAP Client/Server Complex Object Support
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
---INI--
-soap.wsdl_cache_enabled=0
---FILE--
-<?php
-ini_set("soap.wsdl_cache_enabled",0);
-$timestamp = "2005-11-08T11:22:07+03:00";
-$wsdl = dirname(__FILE__)."/bug35142.wsdl";
-
-function PostEvents($x) {
- var_dump($x);
- exit();
- return $x;
-}
-
-class TestSoapClient extends SoapClient {
-
- function __construct($wsdl, $options) {
- parent::__construct($wsdl, $options);
- $this->server = new SoapServer($wsdl, $options);
- $this->server->addFunction('PostEvents');
- }
-
- function __doRequest($request, $location, $action, $version) {
- echo "$request\n";
- $this->server->handle($request);
- return $response;
- }
-
-}
-
-$soapClient = new TestSoapClient($wsdl,
- array('trace' => 1, 'exceptions' => 0,
- 'classmap' => array('logOnEvent' => 'LogOnEvent',
- 'logOffEvent' => 'LogOffEvent',
- 'events' => 'IVREvents')));
-
-$logOnEvent = new LogOnEvent(34567, $timestamp);
-$logOffEvents[] = new LogOffEvent(34567, $timestamp, "Smoked");
-$logOffEvents[] = new LogOffEvent(34568, $timestamp, "SmokeFree");
-$ivrEvents = new IVREvents("1.0", 101, 12345, 'IVR', $logOnEvent, $logOffEvents);
-
-$result = $soapClient->PostEvents($ivrEvents);
-
-class LogOffEvent {
- public $audienceMemberId;
- public $timestamp;
- public $smokeStatus;
- public $callInitiator;
-
- function __construct($audienceMemberId, $timestamp, $smokeStatus) {
- $this->audienceMemberId = $audienceMemberId;
- $this->timestamp = $timestamp;
- $this->smokeStatus = $smokeStatus;
- $this->callInitiator = "IVR";
- }
-}
-
-class LogOnEvent {
- public $audienceMemberId;
- public $timestamp;
-
- function __construct($audienceMemberId, $timestamp) {
- $this->audienceMemberId = $audienceMemberId;
- $this->timestamp = $timestamp;
- }
-}
-
-class IVREvents {
- public $version;
- public $activityId;
- public $messageId;
- public $source;
- public $logOnEvent;
- public $logOffEvent;
-
- function __construct($version, $activityId, $messageId, $source, $logOnEvent=NULL, $logOffEvent=NULL) {
- $this->version = $version;
- $this->activityId = $activityId;
- $this->messageId = $messageId;
- $this->source = $source;
- $this->logOnEvent = $logOnEvent;
- $this->logOffEvent = $logOffEvent;
- }
-}
-?>
---EXPECTF--
-<?xml version="1.0" encoding="UTF-8"?>
-<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://testurl/Message"><SOAP-ENV:Body><ns1:ivrEvents version="1.0" activityId="101" messageId="12345" source="IVR"><ns1:logOffEvent audienceMemberId="34567" timestamp="2005-11-08T11:22:07+03:00" smokeStatus="Smoked" callInitiator="IVR"/><ns1:logOffEvent audienceMemberId="34568" timestamp="2005-11-08T11:22:07+03:00" smokeStatus="SmokeFree" callInitiator="IVR"/><ns1:logOnEvent audienceMemberId="34567" timestamp="2005-11-08T11:22:07+03:00"/></ns1:ivrEvents></SOAP-ENV:Body></SOAP-ENV:Envelope>
-
-object(IVREvents)#%d (6) {
- ["version"]=>
- string(3) "1.0"
- ["activityId"]=>
- int(101)
- ["messageId"]=>
- int(12345)
- ["source"]=>
- string(3) "IVR"
- ["logOnEvent"]=>
- object(LogOnEvent)#%d (2) {
- ["audienceMemberId"]=>
- int(34567)
- ["timestamp"]=>
- string(25) "2005-11-08T11:22:07+03:00"
- }
- ["logOffEvent"]=>
- array(2) {
- [0]=>
- object(LogOffEvent)#%d (4) {
- ["audienceMemberId"]=>
- int(34567)
- ["timestamp"]=>
- string(25) "2005-11-08T11:22:07+03:00"
- ["smokeStatus"]=>
- string(6) "Smoked"
- ["callInitiator"]=>
- string(3) "IVR"
- }
- [1]=>
- object(LogOffEvent)#%d (4) {
- ["audienceMemberId"]=>
- int(34568)
- ["timestamp"]=>
- string(25) "2005-11-08T11:22:07+03:00"
- ["smokeStatus"]=>
- string(9) "SmokeFree"
- ["callInitiator"]=>
- string(3) "IVR"
- }
- }
-}
diff --git a/ext/soap/tests/bugs/bug35142.wsdl b/ext/soap/tests/bugs/bug35142.wsdl
deleted file mode 100755
index 2c712ec108..0000000000
--- a/ext/soap/tests/bugs/bug35142.wsdl
+++ /dev/null
@@ -1,543 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<definitions xmlns:s1="http://testurl/Events" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:s0="http://testurl/Message" xmlns:s3="http://testurl/Smoker" xmlns:soap12enc="http://www.w3.org/2002/06/soap-envelope" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:s4="http://testurl/AudienceMember" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:s2="http://testurl/Actions" xmlns:tns="http://testurl/Service" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" targetNamespace="http://testurl/Service" xmlns="http://schemas.xmlsoap.org/wsdl/">
- <types>
- <s:schema elementFormDefault="qualified" targetNamespace="http://testurl/Message">
- <s:import namespace="http://testurl/Events" />
- <s:import namespace="http://testurl/Actions" />
- <s:element name="ivrActions" type="s0:actions" />
- <s:complexType name="actions">
- <s:complexContent mixed="false">
- <s:extension base="s0:abstractMessage">
- <s:sequence>
- <s:choice minOccurs="0" maxOccurs="unbounded">
- <s:element minOccurs="0" maxOccurs="1" name="pauseSmokerAction" type="s2:pauseSmokerAction" />
- <s:element minOccurs="0" maxOccurs="1" name="terminateSmokerAction" type="s2:terminateSmokerAction" />
- <s:element minOccurs="0" maxOccurs="1" name="activateSmokerAction" type="s2:activateSmokerAction" />
- <s:element minOccurs="0" maxOccurs="1" name="addSmokerAction" type="s2:addSmokerAction" />
- <s:element minOccurs="0" maxOccurs="1" name="updateSmokerAction" type="s2:updateSmokerAction" />
- <s:element minOccurs="0" maxOccurs="1" name="deleteSmokerAction" type="s2:deleteSmokerAction" />
- </s:choice>
- </s:sequence>
- <s:attribute default="Client" name="source" type="s0:ivrMessageSource" />
- </s:extension>
- </s:complexContent>
- </s:complexType>
- <s:complexType name="abstractMessage" abstract="true">
- <s:attribute default="1.0" name="version" type="s:string" />
- <s:attribute name="activityId" type="s:unsignedLong" use="required" />
- <s:attribute name="messageId" type="s:unsignedLong" use="required" />
- </s:complexType>
- <s:complexType name="events">
- <s:complexContent mixed="false">
- <s:extension base="s0:abstractMessage">
- <s:sequence>
- <s:choice minOccurs="0" maxOccurs="unbounded">
- <s:element minOccurs="0" maxOccurs="1" name="authFailureEvent" type="s1:authFailureEvent" />
- <s:element minOccurs="0" maxOccurs="1" name="logOffEvent" type="s1:logOffEvent" />
- <s:element minOccurs="0" maxOccurs="1" name="cravingLineEvent" type="s1:cravingLineEvent" />
- <s:element minOccurs="0" maxOccurs="1" name="terminateEvent" type="s1:terminateEvent" />
- <s:element minOccurs="0" maxOccurs="1" name="relapseWakeSmsReplaceEvent" type="s1:relapseWakeSmsReplaceEvent" />
- <s:element minOccurs="0" maxOccurs="1" name="confessionLineEvent" type="s1:confessionLineEvent" />
- <s:element minOccurs="0" maxOccurs="1" name="rfqRecordedEvent" type="s1:rfqRecordedEvent" />
- <s:element minOccurs="0" maxOccurs="1" name="logOnEvent" type="s1:logOnEvent" />
- </s:choice>
- </s:sequence>
- <s:attribute default="IVR" name="source" type="s0:ivrMessageSource" />
- </s:extension>
- </s:complexContent>
- </s:complexType>
- <s:simpleType name="ivrMessageSource">
- <s:restriction base="s:string">
- <s:enumeration value="IVR" />
- <s:enumeration value="Client" />
- </s:restriction>
- </s:simpleType>
- <s:complexType name="actionResults">
- <s:complexContent mixed="false">
- <s:extension base="s0:abstractMessage">
- <s:sequence>
- <s:choice minOccurs="0" maxOccurs="unbounded">
- <s:element minOccurs="0" maxOccurs="1" name="updateSmokerActionResult" type="s2:updateSmokerActionResult" />
- <s:element minOccurs="0" maxOccurs="1" name="activateSmokerActionResult" type="s2:activateSmokerActionResult" />
- <s:element minOccurs="0" maxOccurs="1" name="deleteSmokerActionResult" type="s2:deleteSmokerActionResult" />
- <s:element minOccurs="0" maxOccurs="1" name="addSmokerActionResult" type="s2:addSmokerActionResult" />
- <s:element minOccurs="0" maxOccurs="1" name="pauseSmokerActionResult" type="s2:pauseSmokerActionResult" />
- <s:element minOccurs="0" maxOccurs="1" name="terminateSmokerActionResult" type="s2:terminateSmokerActionResult" />
- </s:choice>
- </s:sequence>
- <s:attribute default="IVR" name="source" type="s0:ivrMessageSource" />
- </s:extension>
- </s:complexContent>
- </s:complexType>
- <s:complexType name="eventResults">
- <s:complexContent mixed="false">
- <s:extension base="s0:abstractMessage">
- <s:sequence>
- <s:element minOccurs="0" maxOccurs="unbounded" name="eventResult" type="s1:eventResult" />
- </s:sequence>
- <s:attribute default="IVR" name="source" type="s0:ivrMessageSource" />
- </s:extension>
- </s:complexContent>
- </s:complexType>
- <s:element name="ivrActionResults" type="s0:actionResults" />
- <s:element name="ivrEvents" type="s0:events" />
- <s:element name="ivrEventResults" type="s0:eventResults" />
- </s:schema>
- <s:schema elementFormDefault="qualified" targetNamespace="http://testurl/Events">
- <s:complexType name="authFailureEvent">
- <s:complexContent mixed="false">
- <s:extension base="s1:abstractEvent">
- <s:attribute name="mobileNumber" type="s:string" />
- <s:attribute name="line" type="s1:line" use="required" />
- <s:attribute name="reason" type="s:string" />
- </s:extension>
- </s:complexContent>
- </s:complexType>
- <s:complexType name="abstractEvent" abstract="true">
- <s:attribute name="audienceMemberId" type="s:unsignedLong" />
- <s:attribute name="timestamp" type="s:dateTime" use="required" />
- </s:complexType>
- <s:complexType name="logOnEvent">
- <s:complexContent mixed="false">
- <s:extension base="s1:abstractEvent" />
- </s:complexContent>
- </s:complexType>
- <s:complexType name="cravingLineEvent">
- <s:complexContent mixed="false">
- <s:extension base="s1:abstractEvent">
- <s:sequence>
- <s:element minOccurs="0" maxOccurs="unbounded" name="selection" type="s1:cravingLineEventSelection" />
- </s:sequence>
- </s:extension>
- </s:complexContent>
- </s:complexType>
- <s:complexType name="cravingLineEventSelection">
- <s:attribute name="type" type="s1:cravingLineMessageType" use="required" />
- <s:attribute name="msgNumber" type="s:positiveInteger" />
- </s:complexType>
- <s:simpleType name="cravingLineMessageType">
- <s:restriction base="s:string">
- <s:enumeration value="Motivational" />
- <s:enumeration value="StressReval" />
- <s:enumeration value="EffectReg" />
- </s:restriction>
- </s:simpleType>
- <s:complexType name="confessionLineEvent">
- <s:complexContent mixed="false">
- <s:extension base="s1:abstractEvent">
- <s:attribute name="smokeStatus" type="s1:smokeStatus" use="required" />
- </s:extension>
- </s:complexContent>
- </s:complexType>
- <s:simpleType name="smokeStatus">
- <s:restriction base="s:string">
- <s:enumeration value="Smoked" />
- <s:enumeration value="SmokeFree" />
- </s:restriction>
- </s:simpleType>
- <s:complexType name="rfqRecordedEvent">
- <s:complexContent mixed="false">
- <s:extension base="s1:abstractEvent" />
- </s:complexContent>
- </s:complexType>
- <s:complexType name="terminateEvent">
- <s:complexContent mixed="false">
- <s:extension base="s1:abstractEvent" />
- </s:complexContent>
- </s:complexType>
- <s:complexType name="logOffEvent">
- <s:complexContent mixed="false">
- <s:extension base="s1:abstractEvent">
- <s:attribute name="smokeStatus" type="s1:smokeStatus" use="required" />
- <s:attribute name="callInitiator" type="s1:callInitiator" use="required" />
- </s:extension>
- </s:complexContent>
- </s:complexType>
- <s:simpleType name="callInitiator">
- <s:restriction base="s:string">
- <s:enumeration value="AudienceMember" />
- <s:enumeration value="IVR" />
- </s:restriction>
- </s:simpleType>
- <s:complexType name="relapseWakeSmsReplaceEvent">
- <s:complexContent mixed="false">
- <s:extension base="s1:abstractEvent">
- <s:attribute name="relapseCount" type="s:positiveInteger" />
- </s:extension>
- </s:complexContent>
- </s:complexType>
- <s:simpleType name="line">
- <s:restriction base="s:string">
- <s:enumeration value="LogOnOffLine" />
- <s:enumeration value="CravingLine" />
- <s:enumeration value="ConfessionLine" />
- <s:enumeration value="ReasonsForQuittingLine" />
- </s:restriction>
- </s:simpleType>
- <s:complexType name="eventResult">
- <s:attribute name="success" type="s:boolean" use="required" />
- </s:complexType>
- </s:schema>
- <s:schema elementFormDefault="qualified" targetNamespace="http://testurl/Actions">
- <s:import namespace="http://testurl/Smoker" />
- <s:complexType name="updateSmokerActionResult">
- <s:complexContent mixed="false">
- <s:extension base="s2:abstractActionResult">
- <s:sequence>
- <s:element minOccurs="0" maxOccurs="unbounded" name="smoker" type="s2:updateSmokerActionResultSmoker" />
- </s:sequence>
- </s:extension>
- </s:complexContent>
- </s:complexType>
- <s:complexType name="abstractActionResult">
- <s:attribute name="resultId" type="s:unsignedLong" use="required" />
- </s:complexType>
- <s:complexType name="pauseSmokerActionResult">
- <s:complexContent mixed="false">
- <s:extension base="s2:abstractActionResult">
- <s:sequence>
- <s:element minOccurs="0" maxOccurs="unbounded" name="smoker" type="s2:pauseSmokerActionResultSmoker" />
- </s:sequence>
- </s:extension>
- </s:complexContent>
- </s:complexType>
- <s:complexType name="pauseSmokerActionResultSmoker">
- <s:attribute name="audienceMemberId" type="s:unsignedLong" use="required" />
- <s:attribute name="status" type="s2:pauseSmokerActionResultSmokerStatus" use="required" />
- <s:attribute name="exception" type="s2:pauseSmokerActionResultSmokerException" />
- </s:complexType>
- <s:simpleType name="pauseSmokerActionResultSmokerStatus">
- <s:restriction base="s:string">
- <s:enumeration value="Paused" />
- <s:enumeration value="NotPaused" />
- </s:restriction>
- </s:simpleType>
- <s:simpleType name="pauseSmokerActionResultSmokerException">
- <s:restriction base="s:string">
- <s:enumeration value="UnspecifiedError" />
- <s:enumeration value="IDNotFound" />
- </s:restriction>
- </s:simpleType>
- <s:complexType name="addSmokerActionResult">
- <s:complexContent mixed="false">
- <s:extension base="s2:abstractActionResult">
- <s:sequence>
- <s:element minOccurs="0" maxOccurs="unbounded" name="smoker" type="s2:addSmokerActionResultSmoker" />
- </s:sequence>
- </s:extension>
- </s:complexContent>
- </s:complexType>
- <s:complexType name="addSmokerActionResultSmoker">
- <s:attribute name="audienceMemberId" type="s:unsignedLong" use="required" />
- <s:attribute name="status" type="s2:addSmokerActionResultSmokerStatus" use="required" />
- <s:attribute name="exception" type="s2:addSmokerActionResultSmokerException" />
- </s:complexType>
- <s:simpleType name="addSmokerActionResultSmokerStatus">
- <s:restriction base="s:string">
- <s:enumeration value="Added" />
- <s:enumeration value="NotAdded" />
- </s:restriction>
- </s:simpleType>
- <s:simpleType name="addSmokerActionResultSmokerException">
- <s:restriction base="s:string">
- <s:enumeration value="UnspecifiedError" />
- <s:enumeration value="DuplicateID" />
- </s:restriction>
- </s:simpleType>
- <s:complexType name="deleteSmokerActionResult">
- <s:complexContent mixed="false">
- <s:extension base="s2:abstractActionResult">
- <s:sequence>
- <s:element minOccurs="0" maxOccurs="unbounded" name="smoker" type="s2:deleteSmokerActionResultSmoker" />
- </s:sequence>
- </s:extension>
- </s:complexContent>
- </s:complexType>
- <s:complexType name="deleteSmokerActionResultSmoker">
- <s:attribute name="audienceMemberId" type="s:unsignedLong" use="required" />
- <s:attribute name="status" type="s2:deleteSmokerActionResultSmokerStatus" use="required" />
- <s:attribute name="exception" type="s2:deleteSmokerActionResultSmokerException" />
- </s:complexType>
- <s:simpleType name="deleteSmokerActionResultSmokerStatus">
- <s:restriction base="s:string">
- <s:enumeration value="Deleted" />
- <s:enumeration value="NotDeleted" />
- </s:restriction>
- </s:simpleType>
- <s:simpleType name="deleteSmokerActionResultSmokerException">
- <s:restriction base="s:string">
- <s:enumeration value="UnspecifiedError" />
- <s:enumeration value="IDNotFound" />
- </s:restriction>
- </s:simpleType>
- <s:complexType name="activateSmokerActionResult">
- <s:complexContent mixed="false">
- <s:extension base="s2:abstractActionResult">
- <s:sequence>
- <s:element minOccurs="0" maxOccurs="unbounded" name="smoker" type="s2:activateSmokerActionResultSmoker" />
- </s:sequence>
- </s:extension>
- </s:complexContent>
- </s:complexType>
- <s:complexType name="activateSmokerActionResultSmoker">
- <s:attribute name="audienceMemberId" type="s:unsignedLong" use="required" />
- <s:attribute name="status" type="s2:activateSmokerActionResultSmokerStatus" use="required" />
- <s:attribute name="exception" type="s2:activateSmokerActionResultSmokerException" />
- </s:complexType>
- <s:simpleType name="activateSmokerActionResultSmokerStatus">
- <s:restriction base="s:string">
- <s:enumeration value="Activated" />
- <s:enumeration value="NotActivated" />
- </s:restriction>
- </s:simpleType>
- <s:simpleType name="activateSmokerActionResultSmokerException">
- <s:restriction base="s:string">
- <s:enumeration value="UnspecifiedError" />
- <s:enumeration value="IDNotFound" />
- </s:restriction>
- </s:simpleType>
- <s:complexType name="terminateSmokerActionResult">
- <s:complexContent mixed="false">
- <s:extension base="s2:abstractActionResult">
- <s:sequence>
- <s:element minOccurs="0" maxOccurs="unbounded" name="smoker" type="s2:terminateSmokerActionResultSmoker" />
- </s:sequence>
- </s:extension>
- </s:complexContent>
- </s:complexType>
- <s:complexType name="terminateSmokerActionResultSmoker">
- <s:attribute name="audienceMemberId" type="s:unsignedLong" use="required" />
- <s:attribute name="status" type="s2:terminateSmokerActionResultSmokerStatus" use="required" />
- <s:attribute name="exception" type="s2:terminateSmokerActionResultSmokerException" />
- </s:complexType>
- <s:simpleType name="terminateSmokerActionResultSmokerStatus">
- <s:restriction base="s:string">
- <s:enumeration value="Terminated" />
- <s:enumeration value="NotTerminated" />
- </s:restriction>
- </s:simpleType>
- <s:simpleType name="terminateSmokerActionResultSmokerException">
- <s:restriction base="s:string">
- <s:enumeration value="UnspecifiedError" />
- <s:enumeration value="IDNotFound" />
- </s:restriction>
- </s:simpleType>
- <s:complexType name="updateSmokerActionResultSmoker">
- <s:attribute name="audienceMemberId" type="s:unsignedLong" use="required" />
- <s:attribute name="status" type="s2:updateSmokerActionResultSmokerStatus" use="required" />
- <s:attribute name="exception" type="s2:updateSmokerActionResultSmokerException" />
- </s:complexType>
- <s:simpleType name="updateSmokerActionResultSmokerStatus">
- <s:restriction base="s:string">
- <s:enumeration value="Updated" />
- <s:enumeration value="NotUpdated" />
- </s:restriction>
- </s:simpleType>
- <s:simpleType name="updateSmokerActionResultSmokerException">
- <s:restriction base="s:string">
- <s:enumeration value="UnspecifiedError" />
- <s:enumeration value="IDNotFound" />
- </s:restriction>
- </s:simpleType>
- <s:complexType name="pauseSmokerAction">
- <s:complexContent mixed="false">
- <s:extension base="s2:abstractAction">
- <s:sequence>
- <s:element minOccurs="0" maxOccurs="unbounded" name="audienceMemberID" type="s:unsignedLong" />
- </s:sequence>
- </s:extension>
- </s:complexContent>
- </s:complexType>
- <s:complexType name="abstractAction" abstract="true">
- <s:attribute name="requestId" type="s:unsignedLong" use="required" />
- </s:complexType>
- <s:complexType name="addSmokerAction">
- <s:complexContent mixed="false">
- <s:extension base="s2:abstractAction">
- <s:sequence>
- <s:element minOccurs="0" maxOccurs="unbounded" name="smoker" type="s3:smoker" />
- </s:sequence>
- </s:extension>
- </s:complexContent>
- </s:complexType>
- <s:complexType name="updateSmokerAction">
- <s:complexContent mixed="false">
- <s:extension base="s2:abstractAction">
- <s:sequence>
- <s:element minOccurs="0" maxOccurs="unbounded" name="smoker" type="s3:smoker" />
- </s:sequence>
- </s:extension>
- </s:complexContent>
- </s:complexType>
- <s:complexType name="terminateSmokerAction">
- <s:complexContent mixed="false">
- <s:extension base="s2:abstractAction">
- <s:attribute name="audienceMemberId" type="s:unsignedLong" use="required" />
- </s:extension>
- </s:complexContent>
- </s:complexType>
- <s:complexType name="deleteSmokerAction">
- <s:complexContent mixed="false">
- <s:extension base="s2:abstractAction">
- <s:sequence>
- <s:element minOccurs="0" maxOccurs="unbounded" name="audienceMemberID" type="s:unsignedLong" />
- </s:sequence>
- </s:extension>
- </s:complexContent>
- </s:complexType>
- <s:complexType name="activateSmokerAction">
- <s:complexContent mixed="false">
- <s:extension base="s2:abstractAction">
- <s:attribute name="audienceMemberId" type="s:unsignedLong" use="required" />
- </s:extension>
- </s:complexContent>
- </s:complexType>
- </s:schema>
- <s:schema elementFormDefault="qualified" targetNamespace="http://testurl/Smoker">
- <s:import namespace="http://testurl/AudienceMember" />
- <s:complexType name="smoker">
- <s:complexContent mixed="false">
- <s:extension base="s4:ivrAudienceMember">
- <s:attribute name="startDate" type="s:date" use="required" />
- <s:attribute name="phase" type="s3:phase" use="required" />
- <s:attribute name="day" type="s:positiveInteger" />
- <s:attribute name="track" type="s3:track" use="required" />
- <s:attribute name="status" type="s3:status" use="required" />
- <s:attribute name="baseTime" type="s:string" />
- <s:attribute name="sunWakeOffset" type="s:string" />
- <s:attribute name="monWakeOffset" type="s:string" />
- <s:attribute name="tueWakeOffset" type="s:string" />
- <s:attribute name="wedWakeOffset" type="s:string" />
- <s:attribute name="thuWakeOffset" type="s:string" />
- <s:attribute name="friWakeOffset" type="s:string" />
- <s:attribute name="satWakeOffset" type="s:string" />
- <s:attribute name="sunSleepOffset" type="s:string" />
- <s:attribute name="monSleepOffset" type="s:string" />
- <s:attribute name="tueSleepOffset" type="s:string" />
- <s:attribute name="wedSleepOffset" type="s:string" />
- <s:attribute name="thuSleepOffset" type="s:string" />
- <s:attribute name="friSleepOffset" type="s:string" />
- <s:attribute name="satSleepOffset" type="s:string" />
- <s:attribute name="sunLogOnWindowOffset" type="s:string" />
- <s:attribute name="monLogOnWindowOffset" type="s:string" />
- <s:attribute name="tueLogOnWindowOffset" type="s:string" />
- <s:attribute name="wedLogOnWindowOffset" type="s:string" />
- <s:attribute name="thuLogOnWindowOffset" type="s:string" />
- <s:attribute name="friLogOnWindowOffset" type="s:string" />
- <s:attribute name="satLogOnWindowOffset" type="s:string" />
- <s:attribute name="sunLogOffWindowOffset" type="s:string" />
- <s:attribute name="monLogOffWindowOffset" type="s:string" />
- <s:attribute name="tueLogOffWindowOffset" type="s:string" />
- <s:attribute name="wedLogOffWindowOffset" type="s:string" />
- <s:attribute name="thuLogOffWindowOffset" type="s:string" />
- <s:attribute name="friLogOffWindowOffset" type="s:string" />
- <s:attribute name="satLogOffWindowOffset" type="s:string" />
- </s:extension>
- </s:complexContent>
- </s:complexType>
- <s:simpleType name="phase">
- <s:restriction base="s:string">
- <s:enumeration value="Prep" />
- <s:enumeration value="Quit" />
- <s:enumeration value="Followup" />
- </s:restriction>
- </s:simpleType>
- <s:simpleType name="track">
- <s:restriction base="s:string">
- <s:enumeration value="NRT" />
- <s:enumeration value="NonNRT" />
- </s:restriction>
- </s:simpleType>
- <s:simpleType name="status">
- <s:restriction base="s:string">
- <s:enumeration value="Pre-Start" />
- <s:enumeration value="Completed" />
- <s:enumeration value="Terminated" />
- <s:enumeration value="Paused" />
- <s:enumeration value="Active" />
- </s:restriction>
- </s:simpleType>
- </s:schema>
- <s:schema elementFormDefault="qualified" targetNamespace="http://testurl/AudienceMember">
- <s:import namespace="http://testurl/Smoker" />
- <s:complexType name="ivrAudienceMember">
- <s:attribute name="id" type="s:unsignedLong" use="required" />
- <s:attribute name="mobileNumber" type="s:string" />
- <s:attribute name="firstName" type="s:string" />
- <s:attribute name="lastName" type="s:string" />
- </s:complexType>
- </s:schema>
- </types>
- <message name="PostActionsSoapIn">
- <part name="ivrActions" element="s0:ivrActions" />
- </message>
- <message name="PostActionsSoapOut">
- <part name="PostActionsResult" element="s0:ivrActionResults" />
- </message>
- <message name="PostEventsSoapIn">
- <part name="ivrEvents" element="s0:ivrEvents" />
- </message>
- <message name="PostEventsSoapOut">
- <part name="PostEventsResult" element="s0:ivrEventResults" />
- </message>
- <portType name="IVRServicePortSoap">
- <operation name="PostActions">
- <input message="tns:PostActionsSoapIn" />
- <output message="tns:PostActionsSoapOut" />
- </operation>
- <operation name="PostEvents">
- <input message="tns:PostEventsSoapIn" />
- <output message="tns:PostEventsSoapOut" />
- </operation>
- </portType>
- <binding name="IVRServicePortSoap" type="tns:IVRServicePortSoap">
- <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
- <operation name="PostActions">
- <soap:operation soapAction="http://testurl/Service:postActionsIn" style="document" />
- <input>
- <soap:body use="literal" />
- </input>
- <output>
- <soap:body use="literal" />
- </output>
- </operation>
- <operation name="PostEvents">
- <soap:operation soapAction="http://testurl/Service:postEventsIn" style="document" />
- <input>
- <soap:body use="literal" />
- </input>
- <output>
- <soap:body use="literal" />
- </output>
- </operation>
- </binding>
- <binding name="IVRServicePortSoap12" type="tns:IVRServicePortSoap">
- <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
- <operation name="PostActions">
- <soap12:operation soapAction="http://testurl/Service:postActionsIn" style="document" />
- <input>
- <soap12:body use="literal" />
- </input>
- <output>
- <soap12:body use="literal" />
- </output>
- </operation>
- <operation name="PostEvents">
- <soap12:operation soapAction="http://testurl/Service:postEventsIn" style="document" />
- <input>
- <soap12:body use="literal" />
- </input>
- <output>
- <soap12:body use="literal" />
- </output>
- </operation>
- </binding>
- <service name="IVRServicePort">
- <port name="IVRServicePortSoap" binding="tns:IVRServicePortSoap">
- <soap:address location="test://" />
- </port>
- <port name="IVRServicePortSoap12" binding="tns:IVRServicePortSoap12">
- <soap12:address location="test://" />
- </port>
- </service>
-</definitions>
diff --git a/ext/soap/tests/bugs/bug35273.phpt b/ext/soap/tests/bugs/bug35273.phpt
deleted file mode 100755
index 9c33d891ca..0000000000
--- a/ext/soap/tests/bugs/bug35273.phpt
+++ /dev/null
@@ -1,21 +0,0 @@
---TEST--
-Bug #35273 Error in mapping soap - java types
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
---FILE--
-<?php
-class TestSoapClient extends SoapClient {
- function __doRequest($request, $location, $action, $version) {
- echo $request;
- exit;
- }
-}
-
-ini_set("soap.wsdl_cache_enabled", 0);
-$client = new TestSoapClient(dirname(__FILE__).'/bug32941.wsdl', array("trace" => 1, 'exceptions' => 0));
-$ahoj = $client->echoPerson(array("name"=>"Name","surname"=>"Surname"));
-echo "ok\n";
-?>
---EXPECT--
-<?xml version="1.0" encoding="UTF-8"?>
-<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://service" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns2="urn:service.EchoService" xmlns:xsd="http://www.w3.org/2001/XMLSchema" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body><ns1:echoPerson><p xsi:type="ns2:Person"><name xsi:type="SOAP-ENC:string">Name</name><surname xsi:type="SOAP-ENC:string">Surname</surname></p></ns1:echoPerson></SOAP-ENV:Body></SOAP-ENV:Envelope>
diff --git a/ext/soap/tests/bugs/bug36226.phpt b/ext/soap/tests/bugs/bug36226.phpt
deleted file mode 100755
index c88d969f29..0000000000
--- a/ext/soap/tests/bugs/bug36226.phpt
+++ /dev/null
@@ -1,139 +0,0 @@
---TEST--
-Bug #36226 SOAP Inconsistent handling when passing potential arrays.
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
---INI--
-soap.wsdl_cache_enabled=0
---FILE--
-<?php
-ini_set("soap.wsdl_cache_enabled",0);
-$timestamp = "2005-11-08T11:22:07+03:00";
-$wsdl = dirname(__FILE__)."/bug35142.wsdl";
-
-function PostEvents($x) {
- var_dump($x);
- exit();
- return $x;
-}
-
-class TestSoapClient extends SoapClient {
-
- function __construct($wsdl, $options) {
- parent::__construct($wsdl, $options);
- $this->server = new SoapServer($wsdl, $options);
- $this->server->addFunction('PostEvents');
- }
-
- function __doRequest($request, $location, $action, $version) {
- echo "$request\n";
- $this->server->handle($request);
- return $response;
- }
-
-}
-
-$soapClient = new TestSoapClient($wsdl,
- array('trace' => 1, 'exceptions' => 0,
- 'classmap' => array('logOnEvent' => 'LogOnEvent',
- 'logOffEvent' => 'LogOffEvent',
- 'events' => 'IVREvents'),
- 'features' => SOAP_SINGLE_ELEMENT_ARRAYS));
-
-$logOnEvent = new LogOnEvent(34567, $timestamp);
-$logOffEvents[] = new LogOffEvent(34567, $timestamp, "Smoked");
-$logOffEvents[] = new LogOffEvent(34568, $timestamp, "SmokeFree");
-$ivrEvents = new IVREvents("1.0", 101, 12345, 'IVR', $logOnEvent, $logOffEvents);
-
-$result = $soapClient->PostEvents($ivrEvents);
-
-class LogOffEvent {
- public $audienceMemberId;
- public $timestamp;
- public $smokeStatus;
- public $callInitiator;
-
- function __construct($audienceMemberId, $timestamp, $smokeStatus) {
- $this->audienceMemberId = $audienceMemberId;
- $this->timestamp = $timestamp;
- $this->smokeStatus = $smokeStatus;
- $this->callInitiator = "IVR";
- }
-}
-
-class LogOnEvent {
- public $audienceMemberId;
- public $timestamp;
-
- function __construct($audienceMemberId, $timestamp) {
- $this->audienceMemberId = $audienceMemberId;
- $this->timestamp = $timestamp;
- }
-}
-
-class IVREvents {
- public $version;
- public $activityId;
- public $messageId;
- public $source;
- public $logOnEvent;
- public $logOffEvent;
-
- function __construct($version, $activityId, $messageId, $source, $logOnEvent=NULL, $logOffEvent=NULL) {
- $this->version = $version;
- $this->activityId = $activityId;
- $this->messageId = $messageId;
- $this->source = $source;
- $this->logOnEvent = $logOnEvent;
- $this->logOffEvent = $logOffEvent;
- }
-}
-?>
---EXPECTF--
-<?xml version="1.0" encoding="UTF-8"?>
-<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://testurl/Message"><SOAP-ENV:Body><ns1:ivrEvents version="1.0" activityId="101" messageId="12345" source="IVR"><ns1:logOffEvent audienceMemberId="34567" timestamp="2005-11-08T11:22:07+03:00" smokeStatus="Smoked" callInitiator="IVR"/><ns1:logOffEvent audienceMemberId="34568" timestamp="2005-11-08T11:22:07+03:00" smokeStatus="SmokeFree" callInitiator="IVR"/><ns1:logOnEvent audienceMemberId="34567" timestamp="2005-11-08T11:22:07+03:00"/></ns1:ivrEvents></SOAP-ENV:Body></SOAP-ENV:Envelope>
-
-object(IVREvents)#%d (6) {
- ["version"]=>
- string(3) "1.0"
- ["activityId"]=>
- int(101)
- ["messageId"]=>
- int(12345)
- ["source"]=>
- string(3) "IVR"
- ["logOnEvent"]=>
- array(1) {
- [0]=>
- object(LogOnEvent)#10 (2) {
- ["audienceMemberId"]=>
- int(34567)
- ["timestamp"]=>
- string(25) "2005-11-08T11:22:07+03:00"
- }
- }
- ["logOffEvent"]=>
- array(2) {
- [0]=>
- object(LogOffEvent)#%d (4) {
- ["audienceMemberId"]=>
- int(34567)
- ["timestamp"]=>
- string(25) "2005-11-08T11:22:07+03:00"
- ["smokeStatus"]=>
- string(6) "Smoked"
- ["callInitiator"]=>
- string(3) "IVR"
- }
- [1]=>
- object(LogOffEvent)#%d (4) {
- ["audienceMemberId"]=>
- int(34568)
- ["timestamp"]=>
- string(25) "2005-11-08T11:22:07+03:00"
- ["smokeStatus"]=>
- string(9) "SmokeFree"
- ["callInitiator"]=>
- string(3) "IVR"
- }
- }
-}
diff --git a/ext/soap/tests/bugs/bug36575.phpt b/ext/soap/tests/bugs/bug36575.phpt
deleted file mode 100755
index 9bf5415220..0000000000
--- a/ext/soap/tests/bugs/bug36575.phpt
+++ /dev/null
@@ -1,52 +0,0 @@
---TEST--
-Bug #36575 (Incorrect complex type instantiation with hierarchies)
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
---INI--
-soap.wsdl_cache_enabled=0
---FILE--
-<?php
-abstract class CT_A1 {
- public $var1;
-}
-
-class CT_A2 extends CT_A1 {
- public $var2;
-}
-
-class CT_A3 extends CT_A2 {
- public $var3;
-}
-
-// returns A2 in WSDL
-function test( $a1 ) {
- $a3 = new CT_A3();
- $a3->var1 = $a1->var1;
- $a3->var2 = "var two";
- $a3->var3 = "var three";
- return $a3;
-}
-
-$classMap = array("A1" => "CT_A1", "A2" => "CT_A2", "A3" => "CT_A3");
-
-$client = new SoapClient(dirname(__FILE__)."/bug36575.wsdl", array("trace" => 1, "exceptions" => 0, "classmap" => $classMap));
-$a2 = new CT_A2();
-$a2->var1 = "one";
-$a2->var2 = "two";
-$client->test($a2);
-
-$soapRequest = $client->__getLastRequest();
-
-echo $soapRequest;
-
-$server = new SoapServer(dirname(__FILE__)."/bug36575.wsdl", array("classmap" => $classMap));
-$server->addFunction("test");
-$server->handle($soapRequest);
-echo "ok\n";
-?>
---EXPECT--
-<?xml version="1.0" encoding="UTF-8"?>
-<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="urn:test.soap#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns2="urn:test.soap.types#" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body><ns1:test><a1 xsi:type="ns2:A2"><var1 xsi:type="xsd:string">one</var1><var2 xsi:type="xsd:string">two</var2></a1></ns1:test></SOAP-ENV:Body></SOAP-ENV:Envelope>
-<?xml version="1.0" encoding="UTF-8"?>
-<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="urn:test.soap#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns2="urn:test.soap.types#" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body><ns1:testResponse><result xsi:type="ns2:A3"><var1 xsi:type="xsd:string">one</var1><var2 xsi:type="xsd:string">var two</var2><var3 xsi:type="xsd:string">var three</var3></result></ns1:testResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>
-ok
diff --git a/ext/soap/tests/bugs/bug36575.wsdl b/ext/soap/tests/bugs/bug36575.wsdl
deleted file mode 100755
index 0f1899bcd5..0000000000
--- a/ext/soap/tests/bugs/bug36575.wsdl
+++ /dev/null
@@ -1,87 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<definitions name="shoppingcart"
- xmlns="http://schemas.xmlsoap.org/wsdl/"
- xmlns:tns="urn:test.soap#" targetNamespace="urn:test.soap#"
- xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
- xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
- xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
- xmlns:xs="http://www.w3.org/2001/XMLSchema"
- xmlns:types="urn:test.soap.types#">
- <!-- all datatypes will be imported to namespace types: -->
- <types>
- <xs:schema
- xmlns:xs="http://www.w3.org/2001/XMLSchema"
- xmlns:soap = "http://schemas.xmlsoap.org/wsdl/soap/"
- xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
- xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
- xmlns:tns="urn:test.soap.types#"
- targetNamespace="urn:test.soap.types#">
-
- <xs:complexType name="A1">
- <xs:all>
- <xs:element name="var1" type="xs:string" nillable="true"/>
- </xs:all>
- </xs:complexType>
-
- <xs:complexType name="A2">
- <xs:complexContent>
- <xs:extension base="tns:A1">
- <xs:all>
- <xs:element name="var2" type="xs:string" nillable="true"/>
- </xs:all>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
-
- <xs:complexType name="A3">
- <xs:complexContent>
- <xs:extension base="tns:A2">
- <xs:all>
- <xs:element name="var3" type="xs:string" nillable="true"/>
- </xs:all>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- </xs:schema>
- </types>
-
- <message name="test-request">
- <part name="a1" type="types:A1"/>
- </message>
- <message name="test-response">
- <part name="result" type="types:A2"/>
- </message>
-
- <portType name="catalog-porttype">
- <operation name="test" parameterOrder="a1">
- <input name="test-request" message="tns:test-request"/>
- <output name="test-response" message="tns:test-response"/>
- </operation>
- </portType>
-
- <!-- @type doesn't like tns: -->
- <binding name="catalog-binding" type="tns:catalog-porttype">
- <soap:binding style="rpc"
- transport="http://schemas.xmlsoap.org/soap/http"/>
-
- <operation name="test">
- <soap:operation soapAction="urn:test.soap#test"/>
- <input>
- <soap:body use="encoded" namespace="urn:test.soap#"
- encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
- </input>
- <output>
- <soap:body use="encoded" namespace="urn:test.soap#"
- encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
- </output>
- </operation>
- </binding>
-
- <service name="catalog">
- <!-- @binding doesn't like to be tns: -->
- <port name="catalog-port" binding="tns:catalog-binding">
- <soap:address location="xxxxxxxx"/>
- </port>
- </service>
-
-</definitions>
diff --git a/ext/soap/tests/bugs/bug36614.phpt b/ext/soap/tests/bugs/bug36614.phpt
deleted file mode 100755
index ba6734812d..0000000000
--- a/ext/soap/tests/bugs/bug36614.phpt
+++ /dev/null
@@ -1,13 +0,0 @@
---TEST--
-Bug #36614 (Segfault when using Soap)
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
---INI--
-soap.wsdl_cache_enabled=0
---FILE--
-<?php
-$lo_soap = new SoapClient(dirname(__FILE__)."/bug36614.wsdl");
-echo "ok\n";
-?>
---EXPECT--
-ok
diff --git a/ext/soap/tests/bugs/bug36614.wsdl b/ext/soap/tests/bugs/bug36614.wsdl
deleted file mode 100755
index ecf1b1b2fe..0000000000
--- a/ext/soap/tests/bugs/bug36614.wsdl
+++ /dev/null
@@ -1,204 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<definitions name="SonicMobile Web-Services"
- targetNamespace="http://soap.sonicmobile.com/sonicmobile.wsdl"
- xmlns="http://schemas.xmlsoap.org/wsdl/"
- xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
- xmlns:sonic="http://soap.sonicmobile.com/sonicmobile.wsdl"
- xmlns:xsd="http://www.w3.org/2001/XMLSchema">
-
- <types>
- <xsd:schema xmlns="http://www.w3.org/2000/10/XMLSchema">
- <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
- <complexType name="TransportCount">
- <all>
- <element name="transport" type="string" />
- <element name="count" type="integer" />
- <element name="rate" type="integer" />
- <element name="last_message" type="integer" />
- </all>
- </complexType>
- <complexType name="ArrayOfTransportCount">
- <complexContent>
- <restriction base="soapenc:Array">
- <attribute ref="soapenc:arrayType" arrayType="TransportCount[]" />
- </restriction>
- </complexContent>
- </complexType>
- </xsd:schema>
- </types>
-
- <message name="userSendMessageRequest">
- <part name="sourceUser" type="xsd:int"/>
- <part name="password" type="xsd:string"/>
- <part name="destinationUser" type="xsd:int"/>
- <part name="content" type="xsd:string"/>
- <part name="sendRepliesTo" type="xsd:string"/>
- <part name="reference" type="xsd:string"/>
- </message>
-
- <message name="sendMessageRequest">
- <part name="application" type="xsd:string"/>
- <part name="password" type="xsd:string"/>
- <part name="destination" type="xsd:string"/>
- <part name="content" type="xsd:string"/>
- <part name="reference" type="xsd:string"/>
- <part name="requestSource" type="xsd:string"/>
- <part name="customer" type="xsd:string"/>
- <part name="class" type="xsd:string"/>
- </message>
-
- <message name="MessageResponse">
- <part name="messageid" type="xsd:int"/>
- <part name="response" type="xsd:string"/>
- </message>
-
- <message name="messageCountRequest">
- <part name="password" type="xsd:string"/>
- </message>
-
- <message name="messageCountResponse">
- <part name="transports" type="tns:ArrayOfTransportCount"/>
- </message>
-
- <message name="serverStatusRequest">
- <part name="password" type="xsd:string"/>
- </message>
- <message name="serverStatusResponse">
- <part name="status_string" type="xsd:string"/>
- </message>
-
- <message name="flushGatewayRequest">
- <part name="password" type="xsd:string"/>
- </message>
- <message name="flushGatewayResponse">
- <part name="status_string" type="xsd:string"/>
- </message>
-
- <portType name="SonicMobilePortType">
- <operation name="userSendMessage">
- <input message="sonic:userSendMessageRequest"/>
- <output message="sonic:MessageResponse"/>
- </operation>
-
- <operation name="sendMessage">
- <input message="sonic:sendMessageRequest"/>
- <output message="sonic:MessageResponse"/>
- </operation>
-
- <operation name="messageCount">
- <input message="sonic:messageCountRequest"/>
- <output message="sonic:messageCountResponse"/>
- </operation>
-
- <operation name="serverStatus">
- <input message="sonic:serverStatusRequest"/>
- <output message="sonic:serverStatusResponse"/>
- </operation>
-
- <operation name="flushGateway">
- <input message="sonic:flushGatewayRequest"/>
- <output message="sonic:flushGatewayResponse"/>
- </operation>
- </portType>
-
- <binding name="SonicMobileBinding" type="sonic:SonicMobilePortType">
- <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http" />
-
- <operation name="userSendMessage">
- <soap:operation soapAction="http://soap.sonicmobile.com/SonicMobile/SOAP#userSendMessage"/>
-
- <input>
- <soap:body
- encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
- namespace="http://soap.sonicmobile.com/SonicMobile/SOAP"
- use="encoded" />
- </input>
-
- <output>
- <soap:body
- encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
- namespace="http://soap.sonicmobile.com/SonicMobile/SOAP"
- use="encoded" />
- </output>
- </operation>
-
- <operation name="sendMessage">
- <soap:operation soapAction="http://soap.sonicmobile.com/SonicMobile/SOAP#sendMessage"/>
-
- <input>
- <soap:body
- encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
- namespace="http://soap.sonicmobile.com/SonicMobile/SOAP"
- use="encoded" />
- </input>
-
- <output>
- <soap:body
- encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
- namespace="http://soap.sonicmobile.com/SonicMobile/SOAP"
- use="encoded" />
- </output>
- </operation>
-
- <operation name="messageCount">
- <soap:operation soapAction="http://soap.sonicmobile.com/SonicMobile/SOAP#messageCount"/>
-
- <input>
- <soap:body
- encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
- namespace="http://soap.sonicmobile.com/SonicMobile/SOAP"
- use="encoded" />
- </input>
-
- <output>
- <soap:body
- encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
- namespace="http://soap.sonicmobile.com/SonicMobile/SOAP"
- use="encoded" />
- </output>
- </operation>
-
- <operation name="serverStatus">
- <soap:operation soapAction="http://soap.sonicmobile.com/SonicMobile/SOAP#serverStatus"/>
-
- <input>
- <soap:body
- encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
- namespace="http://soap.sonicmobile.com/SonicMobile/SOAP"
- use="encoded" />
- </input>
-
- <output>
- <soap:body
- encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
- namespace="http://soap.sonicmobile.com/SonicMobile/SOAP"
- use="encoded" />
- </output>
- </operation>
-
- <operation name="flushGateway">
- <soap:operation soapAction="http://soap.sonicmobile.com/SonicMobile/SOAP#flushGateway"/>
-
- <input>
- <soap:body
- encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
- namespace="http://soap.sonicmobile.com/SonicMobile/SOAP"
- use="encoded" />
- </input>
- <output>
- <soap:body
- encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
- namespace="http://soap.sonicmobile.com/SonicMobile/SOAP"
- use="encoded" />
- </output>
- </operation>
-
- </binding>
-
- <service name="SonicMobile">
- <port name="SonicMobilePort" binding="sonic:SonicMobileBinding">
- <soap:address location="http://soap.sonicmobile.com/"/>
- </port>
- </service>
-
-</definitions>
diff --git a/ext/soap/tests/bugs/bug36629.phpt b/ext/soap/tests/bugs/bug36629.phpt
deleted file mode 100755
index 08b74a5fca..0000000000
--- a/ext/soap/tests/bugs/bug36629.phpt
+++ /dev/null
@@ -1,53 +0,0 @@
---TEST--
-Bug #36629 (SoapServer::handle() exits on SOAP faults)
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
---FILE--
-<?php
-function test1() {
- throw new SoapFault("Server", "test1");
-}
-function test2() {
- return new SoapFault("Server", "test2");
-}
-
-$server = new soapserver(null,array('uri'=>"http://testuri.org"));
-$server->addfunction(array("test1","test2"));
-
-$HTTP_RAW_POST_DATA = <<<EOF
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<SOAP-ENV:Envelope
- SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
- xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
- xmlns:xsd="http://www.w3.org/2001/XMLSchema"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns:si="http://soapinterop.org/xsd">
- <SOAP-ENV:Body>
- <ns1:test1 xmlns:ns1="http://testuri.org" />
- </SOAP-ENV:Body>
-</SOAP-ENV:Envelope>
-EOF;
-$server->handle();
-
-$HTTP_RAW_POST_DATA = <<<EOF
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<SOAP-ENV:Envelope
- SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
- xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
- xmlns:xsd="http://www.w3.org/2001/XMLSchema"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns:si="http://soapinterop.org/xsd">
- <SOAP-ENV:Body>
- <ns1:test2 xmlns:ns1="http://testuri.org" />
- </SOAP-ENV:Body>
-</SOAP-ENV:Envelope>
-EOF;
-$server->handle();
-echo "ok\n";
-?>
---EXPECT--
-<?xml version="1.0" encoding="UTF-8"?>
-<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><SOAP-ENV:Fault><faultcode>SOAP-ENV:Server</faultcode><faultstring>test1</faultstring></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>
-<?xml version="1.0" encoding="UTF-8"?>
-<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><SOAP-ENV:Fault><faultcode>SOAP-ENV:Server</faultcode><faultstring>test2</faultstring></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>
-ok
diff --git a/ext/soap/tests/bugs/bug36908.phpt b/ext/soap/tests/bugs/bug36908.phpt
deleted file mode 100755
index cd0ea8b2e5..0000000000
--- a/ext/soap/tests/bugs/bug36908.phpt
+++ /dev/null
@@ -1,46 +0,0 @@
---TEST--
-Bug #36908 (wsdl default value overrides value in soap request)
---SKIPIF--
-<?php
- if (!extension_loaded('soap')) die('skip soap extension not available');
-?>
---INI--
-soap.wsdl_cache_enabled=0
---FILE--
-<?php
-class PublisherService {
- function add($publisher) {
- return $publisher->region_id;
- }
-}
-$input =
-'<?xml version="1.0" encoding="UTF-8"?>
-<soapenv:Envelope
-xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
-xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <soapenv:Body>
- <ns1:add xmlns:ns1="urn:PublisherService" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
- <publisher href="#id0"/>
- </ns1:add>
- <multiRef xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
-xmlns:ns3="http://soap.dev/soap/types" id="id0" soapenc:root="0"
-soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
-xsi:type="ns3:publisher">
- <region_id href="#id5"/>
- </multiRef>
- <multiRef xmlns:ns5="http://soap.dev/soap/types"
-xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" id="id5"
-soapenc:root="0"
-soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
-xsi:type="xsd:long">9</multiRef>
- </soapenv:Body>
-</soapenv:Envelope>';
-ini_set('soap.wsdl_cache_enabled', false);
-$server = new SoapServer(dirname(__FILE__)."/bug36908.wsdl");
-$server->setClass("PublisherService");
-$server->handle($input);
-?>
---EXPECT--
-<?xml version="1.0" encoding="UTF-8"?>
-<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="urn:PublisherService" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body><ns1:addResponse><out xsi:type="xsd:string">9</out></ns1:addResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>
diff --git a/ext/soap/tests/bugs/bug36908.wsdl b/ext/soap/tests/bugs/bug36908.wsdl
deleted file mode 100755
index f3be3f6304..0000000000
--- a/ext/soap/tests/bugs/bug36908.wsdl
+++ /dev/null
@@ -1,51 +0,0 @@
-<?xml version="1.0"?>
-<wsdl:definitions xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
-xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
-xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
-xmlns:api="http://soap.dev/soap/PublisherService"
-xmlns:types="http://soap.dev/soap/types"
-targetNamespace="http://soap.dev/soap/PublisherService">
- <wsdl:types>
- <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
-xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
-xmlns:types="http://soap.dev/soap/types"
-targetNamespace="http://soap.dev/soap/types">
- <xsd:complexType name="publisher">
- <xsd:all>
- <xsd:element name="region_id" type="xsd:long" default="52"/>
- </xsd:all>
- </xsd:complexType>
- </xsd:schema>
- </wsdl:types>
- <wsdl:message name="addInput">
- <wsdl:part name="publisher" type="types:publisher"/>
- </wsdl:message>
- <wsdl:message name="addOutput">
- <wsdl:part name="out" type="xsd:string"/>
- </wsdl:message>
- <wsdl:portType name="PublisherServicePortType">
- <wsdl:operation name="add">
- <wsdl:input message="api:addInput"/>
- <wsdl:output message="api:addOutput"/>
- </wsdl:operation>
- </wsdl:portType>
- <wsdl:binding name="PublisherServiceBinding" type="api:PublisherServicePortType">
- <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
- <wsdl:operation name="add">
- <soap:operation soapAction="urn:PublisherService#add" style="rpc"/>
- <wsdl:input>
- <soap:body use="encoded" namespace="urn:PublisherService" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
- </wsdl:input>
- <wsdl:output>
- <soap:body use="encoded" namespace="urn:PublisherService" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
- </wsdl:output>
- </wsdl:operation>
- </wsdl:binding>
- <wsdl:service name="PublisherService">
- <wsdl:port name="PublisherServicePort" binding="api:PublisherServiceBinding">
- <soap:address location="http://soap.dev/soap//publisher_test.php"/>
- </wsdl:port>
- </wsdl:service>
-</wsdl:definitions>
diff --git a/ext/soap/tests/bugs/bug37083.phpt b/ext/soap/tests/bugs/bug37083.phpt
deleted file mode 100755
index 471b5e49ad..0000000000
--- a/ext/soap/tests/bugs/bug37083.phpt
+++ /dev/null
@@ -1,58 +0,0 @@
---TEST--
-Bug #37083 (Frequent crashs in SOAP extension with new WSDL caching code in multithread WS)
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
---INI--
-soap.wsdl_cache_enabled=3
---FILE--
-<?php
-class TestSoapClient extends SoapClient {
- function __doRequest($request, $location, $action, $version) {
- return <<<EOF
-<?xml version="1.0" encoding="utf-8"?>
-<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
-<soapenv:Body>
-<ns1:searchResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="urn:java:de.pangaea.metadataportal.search.SearchService">
-<searchReturn href="#id0"/>
-</ns1:searchResponse>
-<multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:SearchResponse" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="urn:java:de.pangaea.metadataportal.search.SearchService"><offset xsi:type="xsd:int">0</offset><queryTime xsi:type="xsd:long">34</queryTime><results soapenc:arrayType="ns2:SearchResponseItem[10]" xsi:type="soapenc:Array"><results href="#id1"/><results href="#id2"/><results href="#id3"/><results href="#id4"/><results href="#id5"/><results href="#id6"/><results href="#id7"/><results href="#id8"/><results href="#id9"/><results href="#id10"/></results><totalCount xsi:type="xsd:int">3501</totalCount></multiRef>
-<multiRef id="id9" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns3:SearchResponseItem" xmlns:ns3="urn:java:de.pangaea.metadataportal.search.SearchService" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"><fields href="#id11"/><identifier xsi:type="xsd:string">oai:dlmd.ifremer.fr:5900168</identifier><score xsi:type="xsd:float">0.13684115</score><xml xsi:type="xsd:string">xml1</xml></multiRef>
-<multiRef id="id7" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns4:SearchResponseItem" xmlns:ns4="urn:java:de.pangaea.metadataportal.search.SearchService" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"><fields href="#id12"/><identifier xsi:type="xsd:string">oai:dlmd.ifremer.fr:5900039</identifier><score xsi:type="xsd:float">0.13684115</score><xml xsi:type="xsd:string">xml2</xml></multiRef>
-<multiRef id="id6" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns5:SearchResponseItem" xmlns:ns5="urn:java:de.pangaea.metadataportal.search.SearchService" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"><fields href="#id13"/><identifier xsi:type="xsd:string">oai:dlmd.ifremer.fr:5900040</identifier><score xsi:type="xsd:float">0.13684115</score><xml xsi:type="xsd:string">xml3</xml></multiRef>
-<multiRef id="id10" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns6:SearchResponseItem" xmlns:ns6="urn:java:de.pangaea.metadataportal.search.SearchService" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"><fields href="#id14"/><identifier xsi:type="xsd:string">oai:dlmd.ifremer.fr:41534</identifier><score xsi:type="xsd:float">0.13684115</score><xml xsi:type="xsd:string">xml4</xml></multiRef>
-<multiRef id="id8" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns7:SearchResponseItem" xmlns:ns7="urn:java:de.pangaea.metadataportal.search.SearchService" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"><fields href="#id15"/><identifier xsi:type="xsd:string">oai:dlmd.ifremer.fr:5900038</identifier><score xsi:type="xsd:float">0.13684115</score><xml xsi:type="xsd:string">xml5</xml></multiRef>
-<multiRef id="id4" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns8:SearchResponseItem" xmlns:ns8="urn:java:de.pangaea.metadataportal.search.SearchService" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"><fields href="#id16"/><identifier xsi:type="xsd:string">oai:dlmd.ifremer.fr:2900229</identifier><score xsi:type="xsd:float">0.13684115</score><xml xsi:type="xsd:string">xml6</xml></multiRef>
-<multiRef id="id5" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns9:SearchResponseItem" xmlns:ns9="urn:java:de.pangaea.metadataportal.search.SearchService" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"><fields href="#id17"/><identifier xsi:type="xsd:string">oai:dlmd.ifremer.fr:2900228</identifier><score xsi:type="xsd:float">0.13684115</score><xml xsi:type="xsd:string">xml7</xml></multiRef>
-<multiRef id="id3" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns10:SearchResponseItem" xmlns:ns10="urn:java:de.pangaea.metadataportal.search.SearchService" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"><fields href="#id18"/><identifier xsi:type="xsd:string">oai:dlmd.ifremer.fr:2900230</identifier><score xsi:type="xsd:float">0.13684115</score><xml xsi:type="xsd:string">xml8</xml></multiRef>
-<multiRef id="id2" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns11:SearchResponseItem" xmlns:ns11="urn:java:de.pangaea.metadataportal.search.SearchService" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"><fields href="#id19"/><identifier xsi:type="xsd:string">oai:dlmd.ifremer.fr:2900235</identifier><score xsi:type="xsd:float">0.13684115</score><xml xsi:type="xsd:string">xml9</xml></multiRef>
-<multiRef id="id1" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns12:SearchResponseItem" xmlns:ns12="urn:java:de.pangaea.metadataportal.search.SearchService" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"><fields href="#id20"/><identifier xsi:type="xsd:string">oai:dlmd.ifremer.fr:5900196</identifier><score xsi:type="xsd:float">0.13684115</score><xml xsi:type="xsd:string">xml10</xml></multiRef>
-<multiRef id="id15" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns13:Map" xmlns:ns13="http://xml.apache.org/xml-soap" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"><item><key xsi:type="soapenc:string">maxDateTime</key><value soapenc:arrayType="xsd:anyType[1]" xsi:type="soapenc:Array"><value xsi:type="xsd:dateTime">2038-12-31T22:59:59.000Z</value></value></item><item><key xsi:type="soapenc:string">minDateTime</key><value soapenc:arrayType="xsd:anyType[1]" xsi:type="soapenc:Array"><value xsi:type="xsd:dateTime">2004-12-01T04:58:00.000Z</value></value></item><item><key xsi:type="soapenc:string">minLongitude</key><value soapenc:arrayType="xsd:anyType[1]" xsi:type="soapenc:Array"><value xsi:type="soapenc:double">105.539</value></value></item><item><key xsi:type="soapenc:string">maxLongitude</key><value soapenc:arrayType="xsd:anyType[1]" xsi:type="soapenc:Array"><value xsi:type="soapenc:double">112.283</value></value></item><item><key xsi:type="soapenc:string">maxLatitude</key><value soapenc:arrayType="xsd:anyType[1]" xsi:type="soapenc:Array"><value xsi:type="soapenc:double">-30.024</value></value></item><item><key xsi:type="soapenc:string">minLatitude</key><value soapenc:arrayType="xsd:anyType[1]" xsi:type="soapenc:Array"><value xsi:type="soapenc:double">-34.788</value></value></item></multiRef>
-<multiRef id="id20" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns14:Map" xmlns:ns14="http://xml.apache.org/xml-soap" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"><item><key xsi:type="soapenc:string">maxDateTime</key><value soapenc:arrayType="xsd:anyType[1]" xsi:type="soapenc:Array"><value xsi:type="xsd:dateTime">2038-12-31T22:59:59.000Z</value></value></item><item><key xsi:type="soapenc:string">minDateTime</key><value soapenc:arrayType="xsd:anyType[1]" xsi:type="soapenc:Array"><value xsi:type="xsd:dateTime">2004-06-07T17:41:44.000Z</value></value></item><item><key xsi:type="soapenc:string">minLongitude</key><value soapenc:arrayType="xsd:anyType[1]" xsi:type="soapenc:Array"><value xsi:type="soapenc:double">129.882</value></value></item><item><key xsi:type="soapenc:string">maxLongitude</key><value soapenc:arrayType="xsd:anyType[1]" xsi:type="soapenc:Array"><value xsi:type="soapenc:double">133.635</value></value></item><item><key xsi:type="soapenc:string">maxLatitude</key><value soapenc:arrayType="xsd:anyType[1]" xsi:type="soapenc:Array"><value xsi:type="soapenc:double">39.529</value></value></item><item><key xsi:type="soapenc:string">minLatitude</key><value soapenc:arrayType="xsd:anyType[1]" xsi:type="soapenc:Array"><value xsi:type="soapenc:double">36.419</value></value></item></multiRef>
-<multiRef id="id18" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns15:Map" xmlns:ns15="http://xml.apache.org/xml-soap" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"><item><key xsi:type="soapenc:string">maxDateTime</key><value soapenc:arrayType="xsd:anyType[1]" xsi:type="soapenc:Array"><value xsi:type="xsd:dateTime">2038-12-31T22:59:59.000Z</value></value></item><item><key xsi:type="soapenc:string">minDateTime</key><value soapenc:arrayType="xsd:anyType[1]" xsi:type="soapenc:Array"><value xsi:type="xsd:dateTime">2004-03-10T01:40:00.000Z</value></value></item><item><key xsi:type="soapenc:string">minLongitude</key><value soapenc:arrayType="xsd:anyType[1]" xsi:type="soapenc:Array"><value xsi:type="soapenc:double">63.121</value></value></item><item><key xsi:type="soapenc:string">maxLongitude</key><value soapenc:arrayType="xsd:anyType[1]" xsi:type="soapenc:Array"><value xsi:type="soapenc:double">80.92</value></value></item><item><key xsi:type="soapenc:string">maxLatitude</key><value soapenc:arrayType="xsd:anyType[1]" xsi:type="soapenc:Array"><value xsi:type="soapenc:double">0.158</value></value></item><item><key xsi:type="soapenc:string">minLatitude</key><value soapenc:arrayType="xsd:anyType[1]" xsi:type="soapenc:Array"><value xsi:type="soapenc:double">-3.675</value></value></item></multiRef>
-<multiRef id="id14" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns16:Map" xmlns:ns16="http://xml.apache.org/xml-soap" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"><item><key xsi:type="soapenc:string">maxDateTime</key><value soapenc:arrayType="xsd:anyType[1]" xsi:type="soapenc:Array"><value xsi:type="xsd:dateTime">2038-12-31T22:59:59.000Z</value></value></item><item><key xsi:type="soapenc:string">minDateTime</key><value soapenc:arrayType="xsd:anyType[1]" xsi:type="soapenc:Array"><value xsi:type="xsd:dateTime">2003-01-12T05:15:00.000Z</value></value></item><item><key xsi:type="soapenc:string">minLongitude</key><value soapenc:arrayType="xsd:anyType[1]" xsi:type="soapenc:Array"><value xsi:type="soapenc:double">-42.88</value></value></item><item><key xsi:type="soapenc:string">maxLongitude</key><value soapenc:arrayType="xsd:anyType[1]" xsi:type="soapenc:Array"><value xsi:type="soapenc:double">-20.85</value></value></item><item><key xsi:type="soapenc:string">maxLatitude</key><value soapenc:arrayType="xsd:anyType[1]" xsi:type="soapenc:Array"><value xsi:type="soapenc:double">61.41</value></value></item><item><key xsi:type="soapenc:string">minLatitude</key><value soapenc:arrayType="xsd:anyType[1]" xsi:type="soapenc:Array"><value xsi:type="soapenc:double">43.2</value></value></item></multiRef>
-<multiRef id="id13" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns17:Map" xmlns:ns17="http://xml.apache.org/xml-soap" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"><item><key xsi:type="soapenc:string">maxDateTime</key><value soapenc:arrayType="xsd:anyType[1]" xsi:type="soapenc:Array"><value xsi:type="xsd:dateTime">2038-12-31T22:59:59.000Z</value></value></item><item><key xsi:type="soapenc:string">minDateTime</key><value soapenc:arrayType="xsd:anyType[1]" xsi:type="soapenc:Array"><value xsi:type="xsd:dateTime">2004-12-01T16:50:00.000Z</value></value></item><item><key xsi:type="soapenc:string">minLongitude</key><value soapenc:arrayType="xsd:anyType[1]" xsi:type="soapenc:Array"><value xsi:type="soapenc:double">108.962</value></value></item><item><key xsi:type="soapenc:string">maxLongitude</key><value soapenc:arrayType="xsd:anyType[1]" xsi:type="soapenc:Array"><value xsi:type="soapenc:double">114.713</value></value></item><item><key xsi:type="soapenc:string">maxLatitude</key><value soapenc:arrayType="xsd:anyType[1]" xsi:type="soapenc:Array"><value xsi:type="soapenc:double">-35.262</value></value></item><item><key xsi:type="soapenc:string">minLatitude</key><value soapenc:arrayType="xsd:anyType[1]" xsi:type="soapenc:Array"><value xsi:type="soapenc:double">-42.756</value></value></item></multiRef>
-<multiRef id="id17" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns18:Map" xmlns:ns18="http://xml.apache.org/xml-soap" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"><item><key xsi:type="soapenc:string">maxDateTime</key><value soapenc:arrayType="xsd:anyType[1]" xsi:type="soapenc:Array"><value xsi:type="xsd:dateTime">2038-12-31T22:59:59.000Z</value></value></item><item><key xsi:type="soapenc:string">minDateTime</key><value soapenc:arrayType="xsd:anyType[1]" xsi:type="soapenc:Array"><value xsi:type="xsd:dateTime">2003-10-10T11:52:00.000Z</value></value></item><item><key xsi:type="soapenc:string">minLongitude</key><value soapenc:arrayType="xsd:anyType[1]" xsi:type="soapenc:Array"><value xsi:type="soapenc:double">68.14</value></value></item><item><key xsi:type="soapenc:string">maxLongitude</key><value soapenc:arrayType="xsd:anyType[1]" xsi:type="soapenc:Array"><value xsi:type="soapenc:double">95.987</value></value></item><item><key xsi:type="soapenc:string">maxLatitude</key><value soapenc:arrayType="xsd:anyType[1]" xsi:type="soapenc:Array"><value xsi:type="soapenc:double">3.97</value></value></item><item><key xsi:type="soapenc:string">minLatitude</key><value soapenc:arrayType="xsd:anyType[1]" xsi:type="soapenc:Array"><value xsi:type="soapenc:double">-1.242</value></value></item></multiRef>
-<multiRef id="id16" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns19:Map" xmlns:ns19="http://xml.apache.org/xml-soap" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"><item><key xsi:type="soapenc:string">maxDateTime</key><value soapenc:arrayType="xsd:anyType[1]" xsi:type="soapenc:Array"><value xsi:type="xsd:dateTime">2038-12-31T22:59:59.000Z</value></value></item><item><key xsi:type="soapenc:string">minDateTime</key><value soapenc:arrayType="xsd:anyType[1]" xsi:type="soapenc:Array"><value xsi:type="xsd:dateTime">2004-01-10T10:35:00.000Z</value></value></item><item><key xsi:type="soapenc:string">minLongitude</key><value soapenc:arrayType="xsd:anyType[1]" xsi:type="soapenc:Array"><value xsi:type="soapenc:double">67.71</value></value></item><item><key xsi:type="soapenc:string">maxLongitude</key><value soapenc:arrayType="xsd:anyType[1]" xsi:type="soapenc:Array"><value xsi:type="soapenc:double">77.743</value></value></item><item><key xsi:type="soapenc:string">maxLatitude</key><value soapenc:arrayType="xsd:anyType[1]" xsi:type="soapenc:Array"><value xsi:type="soapenc:double">3.546</value></value></item><item><key xsi:type="soapenc:string">minLatitude</key><value soapenc:arrayType="xsd:anyType[1]" xsi:type="soapenc:Array"><value xsi:type="soapenc:double">-1.965</value></value></item></multiRef>
-<multiRef id="id19" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns20:Map" xmlns:ns20="http://xml.apache.org/xml-soap" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"><item><key xsi:type="soapenc:string">maxDateTime</key><value soapenc:arrayType="xsd:anyType[1]" xsi:type="soapenc:Array"><value xsi:type="xsd:dateTime">2038-12-31T22:59:59.000Z</value></value></item><item><key xsi:type="soapenc:string">minDateTime</key><value soapenc:arrayType="xsd:anyType[1]" xsi:type="soapenc:Array"><value xsi:type="xsd:dateTime">2004-04-09T23:00:00.000Z</value></value></item><item><key xsi:type="soapenc:string">minLongitude</key><value soapenc:arrayType="xsd:anyType[1]" xsi:type="soapenc:Array"><value xsi:type="soapenc:double">59.116</value></value></item><item><key xsi:type="soapenc:string">maxLongitude</key><value soapenc:arrayType="xsd:anyType[1]" xsi:type="soapenc:Array"><value xsi:type="soapenc:double">69.206</value></value></item><item><key xsi:type="soapenc:string">maxLatitude</key><value soapenc:arrayType="xsd:anyType[1]" xsi:type="soapenc:Array"><value xsi:type="soapenc:double">-2.274</value></value></item><item><key xsi:type="soapenc:string">minLatitude</key><value soapenc:arrayType="xsd:anyType[1]" xsi:type="soapenc:Array"><value xsi:type="soapenc:double">-4.093</value></value></item></multiRef>
-<multiRef id="id11" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns21:Map" xmlns:ns21="http://xml.apache.org/xml-soap" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"><item><key xsi:type="soapenc:string">maxDateTime</key><value soapenc:arrayType="xsd:anyType[1]" xsi:type="soapenc:Array"><value xsi:type="xsd:dateTime">2038-12-31T22:59:59.000Z</value></value></item><item><key xsi:type="soapenc:string">minDateTime</key><value soapenc:arrayType="xsd:anyType[1]" xsi:type="soapenc:Array"><value xsi:type="xsd:dateTime">2002-11-09T23:10:00.000Z</value></value></item><item><key xsi:type="soapenc:string">minLongitude</key><value soapenc:arrayType="xsd:anyType[1]" xsi:type="soapenc:Array"><value xsi:type="soapenc:double">156.013</value></value></item><item><key xsi:type="soapenc:string">maxLongitude</key><value soapenc:arrayType="xsd:anyType[1]" xsi:type="soapenc:Array"><value xsi:type="soapenc:double">160.042</value></value></item><item><key xsi:type="soapenc:string">maxLatitude</key><value soapenc:arrayType="xsd:anyType[1]" xsi:type="soapenc:Array"><value xsi:type="soapenc:double">5.648</value></value></item><item><key xsi:type="soapenc:string">minLatitude</key><value soapenc:arrayType="xsd:anyType[1]" xsi:type="soapenc:Array"><value xsi:type="soapenc:double">4.773</value></value></item></multiRef>
-<multiRef id="id12" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns22:Map" xmlns:ns22="http://xml.apache.org/xml-soap" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"><item><key xsi:type="soapenc:string">maxDateTime</key><value soapenc:arrayType="xsd:anyType[1]" xsi:type="soapenc:Array"><value xsi:type="xsd:dateTime">2038-12-31T22:59:59.000Z</value></value></item><item><key xsi:type="soapenc:string">minDateTime</key><value soapenc:arrayType="xsd:anyType[1]" xsi:type="soapenc:Array"><value xsi:type="xsd:dateTime">2004-11-01T16:58:00.000Z</value></value></item><item><key xsi:type="soapenc:string">minLongitude</key><value soapenc:arrayType="xsd:anyType[1]" xsi:type="soapenc:Array"><value xsi:type="soapenc:double">108.11</value></value></item><item><key xsi:type="soapenc:string">maxLongitude</key><value soapenc:arrayType="xsd:anyType[1]" xsi:type="soapenc:Array"><value xsi:type="soapenc:double">113.383</value></value></item><item><key xsi:type="soapenc:string">maxLatitude</key><value soapenc:arrayType="xsd:anyType[1]" xsi:type="soapenc:Array"><value xsi:type="soapenc:double">-31.666</value></value></item><item><key xsi:type="soapenc:string">minLatitude</key><value soapenc:arrayType="xsd:anyType[1]" xsi:type="soapenc:Array"><value xsi:type="soapenc:double">-35.075</value></value></item></multiRef>
-</soapenv:Body></soapenv:Envelope>
-EOF;
- }
-}
-for ($i = 0; $i < 10; $i++) {
- $ws=new TestSoapClient(dirname(__FILE__).'/bug37083.wsdl',
- array('encoding'=>'ISO-8859-1',
- 'cache_wsdl'=>WSDL_CACHE_BOTH));
- $search=new stdClass();
- $search->queryString='argo';
- $search->ranges[]=$r=new stdClass();
- $r->field='maxDateTime';
- $r->min='2003-04-01';
- $search->index='all';
- $res=$ws->search($search,0,10);
-}
-echo "ok\n";
-?>
---EXPECT--
-ok
diff --git a/ext/soap/tests/bugs/bug37083.wsdl b/ext/soap/tests/bugs/bug37083.wsdl
deleted file mode 100755
index 2a3b379802..0000000000
--- a/ext/soap/tests/bugs/bug37083.wsdl
+++ /dev/null
@@ -1,99 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<wsdl:definitions targetNamespace="urn:java:de.pangaea.metadataportal.search.SearchService" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="urn:java:de.pangaea.metadataportal.search.SearchService" xmlns:intf="urn:java:de.pangaea.metadataportal.search.SearchService" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
- <wsdl:types>
- <schema targetNamespace="urn:java:de.pangaea.metadataportal.search.SearchService" xmlns="http://www.w3.org/2001/XMLSchema">
- <import namespace="http://xml.apache.org/xml-soap"/>
- <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
- <complexType name="SearchRequestRange">
- <sequence>
- <element name="field" nillable="true" type="xsd:string"/>
- <element name="max" nillable="true" type="xsd:anyType"/>
- <element name="min" nillable="true" type="xsd:anyType"/>
- </sequence>
- </complexType>
- <complexType name="ArrayOfSearchRequestRange">
- <complexContent>
- <restriction base="soapenc:Array">
- <attribute ref="soapenc:arrayType" wsdl:arrayType="impl:SearchRequestRange[]"/>
- </restriction>
- </complexContent>
- </complexType>
- <complexType name="SearchRequest">
- <sequence>
- <element name="index" nillable="true" type="xsd:string"/>
- <element name="queryString" nillable="true" type="xsd:string"/>
- <element name="ranges" nillable="true" type="impl:ArrayOfSearchRequestRange"/>
- </sequence>
- </complexType>
- <complexType name="SearchResponseItem">
- <sequence>
- <element name="fields" nillable="true" type="apachesoap:Map"/>
- <element name="identifier" nillable="true" type="xsd:string"/>
- <element name="score" type="xsd:float"/>
- <element name="xml" nillable="true" type="xsd:string"/>
- </sequence>
- </complexType>
- <complexType name="ArrayOfSearchResponseItem">
- <complexContent>
- <restriction base="soapenc:Array">
- <attribute ref="soapenc:arrayType" wsdl:arrayType="impl:SearchResponseItem[]"/>
- </restriction>
- </complexContent>
- </complexType>
- <complexType name="SearchResponse">
- <sequence>
- <element name="offset" type="xsd:int"/>
- <element name="queryTime" type="xsd:long"/>
- <element name="results" nillable="true" type="impl:ArrayOfSearchResponseItem"/>
- <element name="totalCount" type="xsd:int"/>
- </sequence>
- </complexType>
- </schema>
- <schema targetNamespace="http://xml.apache.org/xml-soap" xmlns="http://www.w3.org/2001/XMLSchema">
- <import namespace="urn:java:de.pangaea.metadataportal.search.SearchService"/>
- <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
- <complexType name="mapItem">
- <sequence>
- <element name="key" nillable="true" type="xsd:anyType"/>
- <element name="value" nillable="true" type="xsd:anyType"/>
- </sequence>
- </complexType>
- <complexType name="Map">
- <sequence>
- <element maxOccurs="unbounded" minOccurs="0" name="item" type="apachesoap:mapItem"/>
- </sequence>
- </complexType>
- </schema>
- </wsdl:types>
- <wsdl:message name="searchRequest">
- <wsdl:part name="in0" type="impl:SearchRequest"/>
- <wsdl:part name="in1" type="xsd:int"/>
- <wsdl:part name="in2" type="xsd:int"/>
- </wsdl:message>
- <wsdl:message name="searchResponse">
- <wsdl:part name="searchReturn" type="impl:SearchResponse"/>
- </wsdl:message>
- <wsdl:portType name="SearchServiceAxisImpl">
- <wsdl:operation name="search" parameterOrder="in0 in1 in2">
- <wsdl:input message="impl:searchRequest" name="searchRequest"/>
- <wsdl:output message="impl:searchResponse" name="searchResponse"/>
- </wsdl:operation>
- </wsdl:portType>
- <wsdl:binding name="SearchSoapBinding" type="impl:SearchServiceAxisImpl">
- <wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
- <wsdl:operation name="search">
- <wsdlsoap:operation soapAction=""/>
- <wsdl:input name="searchRequest">
- <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:java:de.pangaea.metadataportal.search.SearchService" use="encoded"/>
- </wsdl:input>
- <wsdl:output name="searchResponse">
- <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:java:de.pangaea.metadataportal.search.SearchService" use="encoded"/>
- </wsdl:output>
- </wsdl:operation>
- </wsdl:binding>
- <wsdl:service name="SearchServiceAxisImplService">
- <wsdl:port binding="impl:SearchSoapBinding" name="Search">
- <wsdlsoap:address location="test://"/>
- </wsdl:port>
- </wsdl:service>
-</wsdl:definitions>
diff --git a/ext/soap/tests/bugs/bug37278.phpt b/ext/soap/tests/bugs/bug37278.phpt
deleted file mode 100755
index f3fd7c17b4..0000000000
--- a/ext/soap/tests/bugs/bug37278.phpt
+++ /dev/null
@@ -1,24 +0,0 @@
---TEST--
-Bug #37278 (SOAP not respecting uri in __soapCall)
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
---FILE--
-<?php
-$options = array(
- "location" => "test://",
- "uri" => "http://bricolage.sourceforge.net/Bric/SOAP/Auth",
- "trace" => 1);
-
-$client = new SoapClient(null, $options);
-
-$newNS = "http://bricolage.sourceforge.net/Bric/SOAP/Story";
-
-try {
- $client->__soapCall("list_ids", array(), array("uri" => $newNS));
-} catch (Exception $e) {
- print $client->__getLastRequest();
-}
-?>
---EXPECT--
-<?xml version="1.0" encoding="UTF-8"?>
-<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://bricolage.sourceforge.net/Bric/SOAP/Story" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body><ns1:list_ids/></SOAP-ENV:Body></SOAP-ENV:Envelope>
diff --git a/ext/soap/tests/bugs/bug38004.phpt b/ext/soap/tests/bugs/bug38004.phpt
deleted file mode 100755
index 082aa3079a..0000000000
--- a/ext/soap/tests/bugs/bug38004.phpt
+++ /dev/null
@@ -1,40 +0,0 @@
---TEST--
-Bug #38004 (Parameters in SoapServer are decoded twice)
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
---FILE--
-<?php
-function Test($param) {
- global $g;
- $g = $param->strA."\n".$param->strB."\n";
- return $g;
-}
-
-class TestSoapClient extends SoapClient {
- function __construct($wsdl) {
- parent::__construct($wsdl);
- $this->server = new SoapServer($wsdl);
- $this->server->addFunction('Test');
- }
-
- function __doRequest($request, $location, $action, $version) {
- ob_start();
- $this->server->handle($request);
- $response = ob_get_contents();
- ob_end_clean();
- return $response;
- }
-}
-
-$client = new TestSoapClient(dirname(__FILE__).'/bug38004.wsdl');
-$strA = 'test &amp; test';
-$strB = 'test & test';
-$res = $client->Test(array('strA'=>$strA, 'strB'=>$strB));
-print_r($res);
-print_r($g);
-?>
---EXPECT--
-test &amp; test
-test & test
-test &amp; test
-test & test
diff --git a/ext/soap/tests/bugs/bug38004.wsdl b/ext/soap/tests/bugs/bug38004.wsdl
deleted file mode 100755
index c288135966..0000000000
--- a/ext/soap/tests/bugs/bug38004.wsdl
+++ /dev/null
@@ -1,51 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<definitions
- xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
- xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
- xmlns:s="http://www.w3.org/2001/XMLSchema"
- xmlns:s0="http://test.pl"
- targetNamespace="http://test.pl"
- xmlns="http://schemas.xmlsoap.org/wsdl/"
->
- <types>
- <s:schema elementFormDefault="qualified" targetNamespace="http://test.pl">
- <s:complexType name="Test">
- <s:attribute use="required" name="strA" type="s:string"/>
- <s:attribute use="required" name="strB" type="s:string"/>
- </s:complexType>
- <s:element type="s0:Test" name="Test"/>
- <s:element type="s:string" name="Ret"/>
- </s:schema>
- </types>
-
- <message name="TestSoapIn">
- <part name="parameters" element="s0:Test"/>
- </message>
- <message name="TestSoapOut">
- <part name="parameters" element="s0:Ret"/>
- </message>
- <portType name="TestSoap">
- <operation name="Test">
- <input message="s0:TestSoapIn"/>
- <output message="s0:TestSoapOut"/>
- </operation>
- </portType>
- <binding name="TestSoap" type="s0:TestSoap">
- <soap:binding transport="http://schemas.xmlsoap.org/soap/http"
-style="document"/>
- <operation name="Test">
- <soap:operation soapAction="http:/Test/Test" style="document"/>
- <input>
- <soap:body use="literal"/>
- </input>
- <output>
- <soap:body use="literal"/>
- </output>
- </operation>
- </binding>
- <service name="Test">
- <port name="TestSoapPort" binding="s0:TestSoap">
- <soap:address location="http://localhost:8080/~dmitry/bug38004/server.php"/>
- </port>
- </service>
-</definitions>
diff --git a/ext/soap/tests/bugs/bug38005.phpt b/ext/soap/tests/bugs/bug38005.phpt
deleted file mode 100755
index d15beccce5..0000000000
--- a/ext/soap/tests/bugs/bug38005.phpt
+++ /dev/null
@@ -1,41 +0,0 @@
---TEST--
-Bug #38005 (SoapFault faultstring doesn't follow encoding rules)
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
---FILE--
-<?php
-function Test($param) {
- return new SoapFault('Test', 'This is our fault: Ä');
-}
-
-class TestSoapClient extends SoapClient {
- function __construct($wsdl, $opt) {
- parent::__construct($wsdl, $opt);
- $this->server = new SoapServer($wsdl, $opt);
- $this->server->addFunction('Test');
- }
-
- function __doRequest($request, $location, $action, $version) {
- ob_start();
- $this->server->handle($request);
- $response = ob_get_contents();
- ob_end_clean();
- return $response;
- }
-}
-
-$client = new TestSoapClient(NULL, array(
- 'encoding' => 'ISO-8859-1',
- 'uri' => "test://",
- 'location' => "test://",
- 'soap_version'=>SOAP_1_2,
- 'trace'=>1,
- 'exceptions'=>0));
-$res = $client->Test();
-echo($res->faultstring."\n");
-echo($client->__getLastResponse());
-?>
---EXPECT--
-This is our fault: Ä
-<?xml version="1.0" encoding="UTF-8"?>
-<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope"><env:Body><env:Fault><env:Code><env:Value>Test</env:Value></env:Code><env:Reason><env:Text>This is our fault: Ä</env:Text></env:Reason></env:Fault></env:Body></env:Envelope>
diff --git a/ext/soap/tests/bugs/bug38055.phpt b/ext/soap/tests/bugs/bug38055.phpt
deleted file mode 100755
index 07e7e1e0bd..0000000000
--- a/ext/soap/tests/bugs/bug38055.phpt
+++ /dev/null
@@ -1,39 +0,0 @@
---TEST--
-Bug #38055 (Wrong interpretation of boolean parameters)
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
---FILE--
-<?php
-function Test($param) {
- global $g1, $g2;
- $g1 = $param->boolA;
- $g2 = $param->boolB;
- return 1;
-}
-
-class TestSoapClient extends SoapClient {
- function __construct($wsdl) {
- parent::__construct($wsdl);
- $this->server = new SoapServer($wsdl);
- $this->server->addFunction('Test');
- }
-
- function __doRequest($request, $location, $action, $version) {
- ob_start();
- $this->server->handle($request);
- $response = ob_get_contents();
- ob_end_clean();
- return $response;
- }
-}
-
-$client = new TestSoapClient(dirname(__FILE__).'/bug38055.wsdl');
-$boolA = 1;
-$boolB = '1';
-$res = $client->Test(array('boolA'=>$boolA, 'boolB'=>$boolB));
-var_dump($g1);
-var_dump($g2);
-?>
---EXPECT--
-bool(true)
-bool(true)
diff --git a/ext/soap/tests/bugs/bug38055.wsdl b/ext/soap/tests/bugs/bug38055.wsdl
deleted file mode 100755
index f8935477f1..0000000000
--- a/ext/soap/tests/bugs/bug38055.wsdl
+++ /dev/null
@@ -1,49 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<definitions
- xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
- xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
- xmlns:s="http://www.w3.org/2001/XMLSchema"
- xmlns:s0="http://test.pl"
- targetNamespace="http://test.pl"
- xmlns="http://schemas.xmlsoap.org/wsdl/">
- <types>
- <s:schema elementFormDefault="qualified" targetNamespace="http://test.pl">
- <s:complexType name="Test">
- <s:attribute use="required" name="boolA" type="s:boolean"/>
- <s:attribute use="required" name="boolB" type="s:boolean"/>
- </s:complexType>
- <s:element type="s0:Test" name="Test"/>
- <s:element type="s:int" name="Ret"/>
- </s:schema>
- </types>
-
- <message name="TestSoapIn">
- <part name="parameters" element="s0:Test"/>
- </message>
- <message name="TestSoapOut">
- <part name="parameters" element="s0:Ret"/>
- </message>
- <portType name="TestSoap">
- <operation name="Test">
- <input message="s0:TestSoapIn"/>
- <output message="s0:TestSoapOut"/>
- </operation>
- </portType>
- <binding name="TestSoap" type="s0:TestSoap">
- <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
- <operation name="Test">
- <soap:operation soapAction="http:/Test/Test" style="document"/>
- <input>
- <soap:body use="literal"/>
- </input>
- <output>
- <soap:body use="literal"/>
- </output>
- </operation>
- </binding>
- <service name="Test">
- <port name="TestSoapPort" binding="s0:TestSoap">
- <soap:address location="http://localhost/server.php"/>
- </port>
- </service>
-</definitions> \ No newline at end of file
diff --git a/ext/soap/tests/bugs/bug38067.phpt b/ext/soap/tests/bugs/bug38067.phpt
deleted file mode 100755
index 9c0cbb4fba..0000000000
--- a/ext/soap/tests/bugs/bug38067.phpt
+++ /dev/null
@@ -1,40 +0,0 @@
---TEST--
-Bug #38067 (Parameters are not decoded from utf-8 when using encoding option)
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
---FILE--
-<?php
-function Test($param) {
- global $g;
- $g = $param->str;
- return $g;
-}
-
-class TestSoapClient extends SoapClient {
- function __construct($wsdl, $opt) {
- parent::__construct($wsdl, $opt);
- $this->server = new SoapServer($wsdl, $opt);
- $this->server->addFunction('Test');
- }
-
- function __doRequest($request, $location, $action, $version) {
- ob_start();
- $this->server->handle($request);
- $response = ob_get_contents();
- ob_end_clean();
- return $response;
- }
-}
-
-$client = new TestSoapClient(dirname(__FILE__).'/bug38067.wsdl',
- array('encoding' => 'ISO-8859-1'));
-$str = 'test: Ä';
-$res = $client->Test(array('str'=>$str));
-echo $str."\n";
-echo $res."\n";
-echo $g."\n";
-?>
---EXPECT--
-test: Ä
-test: Ä
-test: Ä
diff --git a/ext/soap/tests/bugs/bug38067.wsdl b/ext/soap/tests/bugs/bug38067.wsdl
deleted file mode 100755
index beb9fc2141..0000000000
--- a/ext/soap/tests/bugs/bug38067.wsdl
+++ /dev/null
@@ -1,48 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<definitions
- xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
- xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
- xmlns:s="http://www.w3.org/2001/XMLSchema"
- xmlns:s0="http://test.pl"
- targetNamespace="http://test.pl"
- xmlns="http://schemas.xmlsoap.org/wsdl/">
- <types>
- <s:schema elementFormDefault="qualified" targetNamespace="http://test.pl">
- <s:complexType name="Test">
- <s:attribute use="required" name="str" type="s:string"/>
- </s:complexType>
- <s:element type="s0:Test" name="Test"/>
- <s:element type="s:string" name="Ret"/>
- </s:schema>
- </types>
-
- <message name="TestSoapIn">
- <part name="parameters" element="s0:Test"/>
- </message>
- <message name="TestSoapOut">
- <part name="parameters" element="s0:Ret"/>
- </message>
- <portType name="TestSoap">
- <operation name="Test">
- <input message="s0:TestSoapIn"/>
- <output message="s0:TestSoapOut"/>
- </operation>
- </portType>
- <binding name="TestSoap" type="s0:TestSoap">
- <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
- <operation name="Test">
- <soap:operation soapAction="http:/Test/Test" style="document"/>
- <input>
- <soap:body use="literal"/>
- </input>
- <output>
- <soap:body use="literal"/>
- </output>
- </operation>
- </binding>
- <service name="Test">
- <port name="TestSoapPort" binding="s0:TestSoap">
- <soap:address location="http://localhost/server.php"/>
- </port>
- </service>
-</definitions>
diff --git a/ext/soap/tests/bugs/skipif.inc b/ext/soap/tests/bugs/skipif.inc
deleted file mode 100644
index fa8574e6a2..0000000000
--- a/ext/soap/tests/bugs/skipif.inc
+++ /dev/null
@@ -1,3 +0,0 @@
-<?php
- if (!extension_loaded('soap')) die('skip soap extension not available');
-?>
diff --git a/ext/soap/tests/bugs/xml.xsd b/ext/soap/tests/bugs/xml.xsd
deleted file mode 100644
index abb844ac12..0000000000
--- a/ext/soap/tests/bugs/xml.xsd
+++ /dev/null
@@ -1,34 +0,0 @@
-<?xml version='1.0'?>
-<!DOCTYPE xs:schema PUBLIC "-//W3C//DTD XMLSCHEMA 200102//EN" "XMLSchema.dtd" >
-<xs:schema targetNamespace="http://www.w3.org/XML/1998/namespace" xmlns:xs="http://www.w3.org/2001/XMLSchema" xml:lang="en">
-
- <xs:attribute name="lang" type="xs:language">
- <xs:annotation>
- <xs:documentation>In due course, we should install the relevant ISO 2- and 3-letter
- codes as the enumerated possible values . . .</xs:documentation>
- </xs:annotation>
- </xs:attribute>
-
- <xs:attribute name="space" default="preserve">
- <xs:simpleType>
- <xs:restriction base="xs:NCName">
- <xs:enumeration value="default"/>
- <xs:enumeration value="preserve"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:attribute>
-
- <xs:attribute name="base" type="xs:anyURI">
- <xs:annotation>
- <xs:documentation>See http://www.w3.org/TR/xmlbase/ for
- information about this attribute.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
-
- <xs:attributeGroup name="specialAttrs">
- <xs:attribute ref="xml:base"/>
- <xs:attribute ref="xml:lang"/>
- <xs:attribute ref="xml:space"/>
- </xs:attributeGroup>
-
-</xs:schema>
diff --git a/ext/soap/tests/bugs/xml2.xsd b/ext/soap/tests/bugs/xml2.xsd
deleted file mode 100755
index a8e2185f1d..0000000000
--- a/ext/soap/tests/bugs/xml2.xsd
+++ /dev/null
@@ -1,146 +0,0 @@
-<?xml version='1.0'?>
-<xs:schema targetNamespace="http://www.w3.org/XML/1998/namespace" xmlns:xs="http://www.w3.org/2001/XMLSchema" xml:lang="en">
-
- <xs:annotation>
- <xs:documentation>
- See http://www.w3.org/XML/1998/namespace.html and
- http://www.w3.org/TR/REC-xml for information about this namespace.
-
- This schema document describes the XML namespace, in a form
- suitable for import by other schema documents.
-
- Note that local names in this namespace are intended to be defined
- only by the World Wide Web Consortium or its subgroups. The
- following names are currently defined in this namespace and should
- not be used with conflicting semantics by any Working Group,
- specification, or document instance:
-
- base (as an attribute name): denotes an attribute whose value
- provides a URI to be used as the base for interpreting any
- relative URIs in the scope of the element on which it
- appears; its value is inherited. This name is reserved
- by virtue of its definition in the XML Base specification.
-
- id (as an attribute name): denotes an attribute whose value
- should be interpreted as if declared to be of type ID.
- The xml:id specification is not yet a W3C Recommendation,
- but this attribute is included here to facilitate experimentation
- with the mechanisms it proposes. Note that it is _not_ included
- in the specialAttrs attribute group.
-
- lang (as an attribute name): denotes an attribute whose value
- is a language code for the natural language of the content of
- any element; its value is inherited. This name is reserved
- by virtue of its definition in the XML specification.
-
- space (as an attribute name): denotes an attribute whose
- value is a keyword indicating what whitespace processing
- discipline is intended for the content of the element; its
- value is inherited. This name is reserved by virtue of its
- definition in the XML specification.
-
- Father (in any context at all): denotes Jon Bosak, the chair of
- the original XML Working Group. This name is reserved by
- the following decision of the W3C XML Plenary and
- XML Coordination groups:
-
- In appreciation for his vision, leadership and dedication
- the W3C XML Plenary on this 10th day of February, 2000
- reserves for Jon Bosak in perpetuity the XML name
- xml:Father
- </xs:documentation>
- </xs:annotation>
-
- <xs:annotation>
- <xs:documentation>This schema defines attributes and an attribute group
- suitable for use by
- schemas wishing to allow xml:base, xml:lang or xml:space attributes
- on elements they define.
-
- To enable this, such a schema must import this schema
- for the XML namespace, e.g. as follows:
- &lt;schema . . .>
- . . .
- &lt;import namespace="http://www.w3.org/XML/1998/namespace"
- schemaLocation="http://www.w3.org/2001/03/xml.xsd"/>
-
- Subsequently, qualified reference to any of the attributes
- or the group defined below will have the desired effect, e.g.
-
- &lt;type . . .>
- . . .
- &lt;attributeGroup ref="xml:specialAttrs"/>
-
- will define a type which will schema-validate an instance
- element with any of those attributes</xs:documentation>
- </xs:annotation>
-
- <xs:annotation>
- <xs:documentation>In keeping with the XML Schema WG's standard versioning
- policy, this schema document will persist at
- http://www.w3.org/2005/08/xml.xsd.
- At the date of issue it can also be found at
- http://www.w3.org/2001/xml.xsd.
- The schema document at that URI may however change in the future,
- in order to remain compatible with the latest version of XML Schema
- itself, or with the XML namespace itself. In other words, if the XML
- Schema or XML namespaces change, the version of this document at
- http://www.w3.org/2001/xml.xsd will change
- accordingly; the version at
- http://www.w3.org/2005/08/xml.xsd will not change.
- </xs:documentation>
- </xs:annotation>
-
- <xs:attribute name="lang">
- <xs:annotation>
- <xs:documentation>Attempting to install the relevant ISO 2- and 3-letter
- codes as the enumerated possible values is probably never
- going to be a realistic possibility. See
- RFC 3066 at http://www.ietf.org/rfc/rfc3066.txt and the IANA registry
- at http://www.iana.org/assignments/lang-tag-apps.htm for
- further information.
-
- The union allows for the 'un-declaration' of xml:lang with
- the empty string.</xs:documentation>
- </xs:annotation>
- <xs:simpleType>
- <xs:union memberTypes="xs:language">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:enumeration value=""/>
- </xs:restriction>
- </xs:simpleType>
- </xs:union>
- </xs:simpleType>
- </xs:attribute>
-
- <xs:attribute name="space">
- <xs:simpleType>
- <xs:restriction base="xs:NCName">
- <xs:enumeration value="default"/>
- <xs:enumeration value="preserve"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:attribute>
-
- <xs:attribute name="base" type="xs:anyURI">
- <xs:annotation>
- <xs:documentation>See http://www.w3.org/TR/xmlbase/ for
- information about this attribute.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
-
- <xs:attribute name="id" type="xs:ID">
- <xs:annotation>
- <xs:documentation>See http://www.w3.org/TR/xml-id/ for
- information about this attribute.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
-
- <xs:attributeGroup name="specialAttrs">
- <xs:attribute ref="xml:base"/>
- <xs:attribute ref="xml:lang"/>
- <xs:attribute ref="xml:space"/>
- </xs:attributeGroup>
-
-</xs:schema>