You've already forked lazarus-ccr
part 2
wsdl function "result" part is determined now as ( in order and stops when ok ) : * "result" part * "return" part * "_result" part * "result_" part * "_return" part * "return_" part * the last part git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@547 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -0,0 +1,26 @@
|
||||
<?xml version="1.0"?>
|
||||
<definitions name="wst_test"
|
||||
xmlns="http://schemas.xmlsoap.org/wsdl/"
|
||||
xmlns:tns="library1"
|
||||
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
||||
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
|
||||
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
|
||||
targetNamespace="urn:wst-test">
|
||||
|
||||
<types>
|
||||
<xsd:schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:wst-test">
|
||||
|
||||
<xsd:complexType name="TArrayIntFieldType">
|
||||
<xsd:complexContent>
|
||||
<xsd:restriction base="soapenc:Array">
|
||||
<xsd:sequence />
|
||||
<xsd:attribute ref="soapenc:arrayType" n1:arrayType="xsd:int[]" xmlns:n1="http://schemas.xmlsoap.org/wsdl/" />
|
||||
</xsd:restriction>
|
||||
</xsd:complexContent>
|
||||
</xsd:complexType>
|
||||
|
||||
</xsd:schema>
|
||||
</types>
|
||||
|
||||
|
||||
</definitions>
|
16
wst/trunk/tests/test_suite/files/complex_array_soaparray.xsd
Normal file
16
wst/trunk/tests/test_suite/files/complex_array_soaparray.xsd
Normal file
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<xsd:schema xmlns:n="urn:wst-test"
|
||||
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
||||
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
|
||||
targetNamespace="urn:wst-test">
|
||||
|
||||
<xsd:complexType name="TArrayIntFieldType">
|
||||
<xsd:complexContent>
|
||||
<xsd:restriction base="soapenc:Array">
|
||||
<xsd:sequence />
|
||||
<xsd:attribute ref="soapenc:arrayType" n1:arrayType="xsd:int[]" xmlns:n1="http://schemas.xmlsoap.org/wsdl/" />
|
||||
</xsd:restriction>
|
||||
</xsd:complexContent>
|
||||
</xsd:complexType>
|
||||
|
||||
</xsd:schema>
|
39
wst/trunk/tests/test_suite/files/signature_last.wsdl
Normal file
39
wst/trunk/tests/test_suite/files/signature_last.wsdl
Normal file
@ -0,0 +1,39 @@
|
||||
<?xml version="1.0"?>
|
||||
<definitions name="library1" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="urn:test" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" targetNamespace="urn:test">
|
||||
<types>
|
||||
<xsd:schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:tns="urn:test" targetNamespace="urn:test"/>
|
||||
</types>
|
||||
<message name="test_proc">
|
||||
<part name="AConstParam" type="xsd:string"/>
|
||||
</message>
|
||||
<message name="test_procResponse">
|
||||
<part name="AOutParam" type="xsd:boolean"/>
|
||||
<part name="AResParam" type="xsd:int"/>
|
||||
</message>
|
||||
<portType name="TestService">
|
||||
<document>
|
||||
<GUID value="{2E64ADA6-BF3F-4C88-89BF-17709416B11C}"/>
|
||||
</document>
|
||||
<operation name="test_proc">
|
||||
<input message="tns:test_proc"/>
|
||||
<output message="tns:test_procResponse"/>
|
||||
</operation>
|
||||
</portType>
|
||||
<binding name="TestServiceBinding" type="tns:TestService">
|
||||
<soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
|
||||
<operation name="test_proc">
|
||||
<soap:operation soapAction=""/>
|
||||
<input>
|
||||
<soap:body use="literal" namespace="library1"/>
|
||||
</input>
|
||||
<output>
|
||||
<soap:body use="literal" namespace="library1"/>
|
||||
</output>
|
||||
</operation>
|
||||
</binding>
|
||||
<service name="TestService">
|
||||
<port name="TestServicePort" binding="tns:TestServiceBinding">
|
||||
<soap:address location=""/>
|
||||
</port>
|
||||
</service>
|
||||
</definitions>
|
83
wst/trunk/tests/test_suite/files/signature_result.wsdl
Normal file
83
wst/trunk/tests/test_suite/files/signature_result.wsdl
Normal file
@ -0,0 +1,83 @@
|
||||
<?xml version="1.0"?>
|
||||
<definitions name="library1" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="urn:test" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" targetNamespace="urn:test">
|
||||
<types>
|
||||
<xsd:schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:tns="urn:test" targetNamespace="urn:test"/>
|
||||
</types>
|
||||
|
||||
<message name="test_proc">
|
||||
<part name="AConstParam" type="xsd:string"/>
|
||||
</message>
|
||||
<message name="test_procResponse">
|
||||
<part name="result" type="xsd:boolean"/>
|
||||
<part name="AOutParam" type="xsd:int"/>
|
||||
</message>
|
||||
|
||||
<message name="test_proc2">
|
||||
<part name="AConstParam" type="xsd:boolean"/>
|
||||
</message>
|
||||
<message name="test_proc2Response">
|
||||
<part name="_result" type="xsd:string"/>
|
||||
<part name="AOutParam" type="xsd:int"/>
|
||||
</message>
|
||||
|
||||
<message name="test_proc3">
|
||||
<part name="AConstParam" type="xsd:string"/>
|
||||
</message>
|
||||
<message name="test_proc3Response">
|
||||
<part name="result_" type="xsd:boolean"/>
|
||||
<part name="AOutParam" type="xsd:int"/>
|
||||
</message>
|
||||
|
||||
<portType name="TestService">
|
||||
<document>
|
||||
<GUID value="{2E64ADA6-BF3F-4C88-89BF-17709416B11C}"/>
|
||||
</document>
|
||||
<operation name="test_proc">
|
||||
<input message="tns:test_proc"/>
|
||||
<output message="tns:test_procResponse"/>
|
||||
</operation>
|
||||
<operation name="test_proc2">
|
||||
<input message="tns:test_proc2"/>
|
||||
<output message="tns:test_proc2Response"/>
|
||||
</operation>
|
||||
<operation name="test_proc3">
|
||||
<input message="tns:test_proc3"/>
|
||||
<output message="tns:test_proc3Response"/>
|
||||
</operation>
|
||||
</portType>
|
||||
<binding name="TestServiceBinding" type="tns:TestService">
|
||||
<soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
|
||||
<operation name="test_proc">
|
||||
<soap:operation soapAction=""/>
|
||||
<input>
|
||||
<soap:body use="literal" namespace="library1"/>
|
||||
</input>
|
||||
<output>
|
||||
<soap:body use="literal" namespace="library1"/>
|
||||
</output>
|
||||
</operation>
|
||||
<operation name="test_proc2">
|
||||
<soap:operation soapAction=""/>
|
||||
<input>
|
||||
<soap:body use="literal" namespace="library1"/>
|
||||
</input>
|
||||
<output>
|
||||
<soap:body use="literal" namespace="library1"/>
|
||||
</output>
|
||||
</operation>
|
||||
<operation name="test_proc3">
|
||||
<soap:operation soapAction=""/>
|
||||
<input>
|
||||
<soap:body use="literal" namespace="library1"/>
|
||||
</input>
|
||||
<output>
|
||||
<soap:body use="literal" namespace="library1"/>
|
||||
</output>
|
||||
</operation>
|
||||
</binding>
|
||||
<service name="TestService">
|
||||
<port name="TestServicePort" binding="tns:TestServiceBinding">
|
||||
<soap:address location=""/>
|
||||
</port>
|
||||
</service>
|
||||
</definitions>
|
83
wst/trunk/tests/test_suite/files/signature_return.wsdl
Normal file
83
wst/trunk/tests/test_suite/files/signature_return.wsdl
Normal file
@ -0,0 +1,83 @@
|
||||
<?xml version="1.0"?>
|
||||
<definitions name="library1" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="urn:test" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" targetNamespace="urn:test">
|
||||
<types>
|
||||
<xsd:schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:tns="urn:test" targetNamespace="urn:test"/>
|
||||
</types>
|
||||
|
||||
<message name="test_proc">
|
||||
<part name="AConstParam" type="xsd:string"/>
|
||||
</message>
|
||||
<message name="test_procResponse">
|
||||
<part name="return" type="xsd:boolean"/>
|
||||
<part name="AOutParam" type="xsd:int"/>
|
||||
</message>
|
||||
|
||||
<message name="test_proc2">
|
||||
<part name="AConstParam" type="xsd:boolean"/>
|
||||
</message>
|
||||
<message name="test_proc2Response">
|
||||
<part name="_return" type="xsd:string"/>
|
||||
<part name="AOutParam" type="xsd:int"/>
|
||||
</message>
|
||||
|
||||
<message name="test_proc3">
|
||||
<part name="AConstParam" type="xsd:string"/>
|
||||
</message>
|
||||
<message name="test_proc3Response">
|
||||
<part name="return_" type="xsd:boolean"/>
|
||||
<part name="AOutParam" type="xsd:int"/>
|
||||
</message>
|
||||
|
||||
<portType name="TestService">
|
||||
<document>
|
||||
<GUID value="{2E64ADA6-BF3F-4C88-89BF-17709416B11C}"/>
|
||||
</document>
|
||||
<operation name="test_proc">
|
||||
<input message="tns:test_proc"/>
|
||||
<output message="tns:test_procResponse"/>
|
||||
</operation>
|
||||
<operation name="test_proc2">
|
||||
<input message="tns:test_proc2"/>
|
||||
<output message="tns:test_proc2Response"/>
|
||||
</operation>
|
||||
<operation name="test_proc3">
|
||||
<input message="tns:test_proc3"/>
|
||||
<output message="tns:test_proc3Response"/>
|
||||
</operation>
|
||||
</portType>
|
||||
<binding name="TestServiceBinding" type="tns:TestService">
|
||||
<soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
|
||||
<operation name="test_proc">
|
||||
<soap:operation soapAction=""/>
|
||||
<input>
|
||||
<soap:body use="literal" namespace="library1"/>
|
||||
</input>
|
||||
<output>
|
||||
<soap:body use="literal" namespace="library1"/>
|
||||
</output>
|
||||
</operation>
|
||||
<operation name="test_proc2">
|
||||
<soap:operation soapAction=""/>
|
||||
<input>
|
||||
<soap:body use="literal" namespace="library1"/>
|
||||
</input>
|
||||
<output>
|
||||
<soap:body use="literal" namespace="library1"/>
|
||||
</output>
|
||||
</operation>
|
||||
<operation name="test_proc3">
|
||||
<soap:operation soapAction=""/>
|
||||
<input>
|
||||
<soap:body use="literal" namespace="library1"/>
|
||||
</input>
|
||||
<output>
|
||||
<soap:body use="literal" namespace="library1"/>
|
||||
</output>
|
||||
</operation>
|
||||
</binding>
|
||||
<service name="TestService">
|
||||
<port name="TestServicePort" binding="tns:TestServiceBinding">
|
||||
<soap:address location=""/>
|
||||
</port>
|
||||
</service>
|
||||
</definitions>
|
Reference in New Issue
Block a user