Reorganized directories structure
This commit is contained in:
1
src/BeSimple/SoapClient/Tests/Fixtures/curl.txt
Normal file
1
src/BeSimple/SoapClient/Tests/Fixtures/curl.txt
Normal file
@ -0,0 +1 @@
|
||||
This is a testfile for cURL.
|
47
src/BeSimple/SoapClient/Tests/Fixtures/foobar.wsdl
Normal file
47
src/BeSimple/SoapClient/Tests/Fixtures/foobar.wsdl
Normal file
@ -0,0 +1,47 @@
|
||||
<?xml version="1.0"?>
|
||||
<definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://foobar/soap/User/1.0/" 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/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" name="User" targetNamespace="http://foobar/soap/User/1.0/">
|
||||
<portType name="UserPortType">
|
||||
<operation name="login" parameterOrder="username password">
|
||||
<input message="tns:loginRequest"/>
|
||||
<output message="tns:loginResponse"/>
|
||||
</operation>
|
||||
</portType>
|
||||
<binding name="UserBinding" type="tns:UserPortType">
|
||||
<soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
|
||||
<operation name="login">
|
||||
<soap:operation soapAction="http://foobar/soap/User/1.0/login"/>
|
||||
<input>
|
||||
<soap:body parts="username password" use="literal" namespace="http://foobar/soap/User/1.0/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
|
||||
</input>
|
||||
<output>
|
||||
<soap:body parts="return" use="literal" namespace="http://foobar/soap/User/1.0/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
|
||||
</output>
|
||||
</operation>
|
||||
</binding>
|
||||
<service name="UserService">
|
||||
<port name="UserPort" binding="tns:UserBinding">
|
||||
<soap:address location="http://foobar/soap/user"/>
|
||||
</port>
|
||||
</service>
|
||||
<types>
|
||||
<xsd:schema targetNamespace="http://foobar/soap/User/1.0/">
|
||||
<xsd:complexType name="User">
|
||||
<xsd:all>
|
||||
<xsd:element name="id" type="xsd:int" nillable="true"/>
|
||||
<xsd:element name="username" type="xsd:string"/>
|
||||
<xsd:element name="email" type="xsd:string"/>
|
||||
<xsd:element name="language" type="xsd:string"/>
|
||||
<xsd:element name="apiKey" type="xsd:string"/>
|
||||
<xsd:element name="subscriptionEndAt" type="xsd:dateTime" nillable="true"/>
|
||||
</xsd:all>
|
||||
</xsd:complexType>
|
||||
</xsd:schema>
|
||||
</types>
|
||||
<message name="loginRequest">
|
||||
<part name="username" type="xsd:string"/>
|
||||
<part name="password" type="xsd:string"/>
|
||||
</message>
|
||||
<message name="loginResponse">
|
||||
<part name="return" type="tns:User"/>
|
||||
</message>
|
||||
</definitions>
|
15
src/BeSimple/SoapClient/Tests/Fixtures/type_include.xsd
Normal file
15
src/BeSimple/SoapClient/Tests/Fixtures/type_include.xsd
Normal file
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0"?>
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
||||
|
||||
<xs:element name="note">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="to" type="xs:string"/>
|
||||
<xs:element name="from" type="xs:string"/>
|
||||
<xs:element name="heading" type="xs:string"/>
|
||||
<xs:element name="body" type="xs:string"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
</xs:schema>
|
15
src/BeSimple/SoapClient/Tests/Fixtures/wsdl_include.wsdl
Normal file
15
src/BeSimple/SoapClient/Tests/Fixtures/wsdl_include.wsdl
Normal file
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0"?>
|
||||
<wsdl:types xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
||||
<xs:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://test.sample">
|
||||
<xs:element name="note">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="to" type="xs:string"/>
|
||||
<xs:element name="from" type="xs:string"/>
|
||||
<xs:element name="heading" type="xs:string"/>
|
||||
<xs:element name="body" type="xs:string"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:schema>
|
||||
</wsdl:types>
|
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
||||
<wsdl:documentation>wsdlincludetest</wsdl:documentation>
|
||||
<wsdl:include location="http://localhost:8000/wsdl_include.wsdl"/>
|
||||
</wsdl:definitions>
|
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
||||
<wsdl:documentation>wsdlincludetest</wsdl:documentation>
|
||||
<wsdl:include location="../wsdl_include.wsdl"/>
|
||||
</wsdl:definitions>
|
@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
||||
<wsdl:documentation>xsdinctest</wsdl:documentation>
|
||||
<wsdl:types>
|
||||
<xs:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://test.sample">
|
||||
<xs:include schemaLocation="http://localhost:8000/type_include.xsd"/>
|
||||
</xs:schema>
|
||||
</wsdl:types>
|
||||
</wsdl:definitions>
|
@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
||||
<wsdl:documentation>xsdinctest</wsdl:documentation>
|
||||
<wsdl:types>
|
||||
<xs:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://test.sample">
|
||||
<xs:include schemaLocation="../type_include.xsd"/>
|
||||
</xs:schema>
|
||||
</wsdl:types>
|
||||
</wsdl:definitions>
|
Reference in New Issue
Block a user