wasabi-ng-1.6 3.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +8 -0
- data/.rspec +1 -0
- data/.travis.yml +9 -0
- data/CHANGELOG.md +90 -0
- data/Gemfile +6 -0
- data/LICENSE +20 -0
- data/README.md +60 -0
- data/Rakefile +7 -0
- data/lib/wasabi.rb +12 -0
- data/lib/wasabi/core_ext/string.rb +21 -0
- data/lib/wasabi/document.rb +166 -0
- data/lib/wasabi/parser.rb +304 -0
- data/lib/wasabi/resolver.rb +54 -0
- data/lib/wasabi/version.rb +5 -0
- data/spec/fixtures/authentication.wsdl +63 -0
- data/spec/fixtures/economic.wsdl +65660 -0
- data/spec/fixtures/encoded_endpoint.wsdl +52 -0
- data/spec/fixtures/geotrust.wsdl +156 -0
- data/spec/fixtures/import_port_types.wsdl +86 -0
- data/spec/fixtures/inherited.wsdl +46 -0
- data/spec/fixtures/juniper.wsdl +215 -0
- data/spec/fixtures/lower_camel.wsdl +52 -0
- data/spec/fixtures/multiple_namespaces.wsdl +61 -0
- data/spec/fixtures/multiple_types.wsdl +60 -0
- data/spec/fixtures/namespaced_actions.wsdl +307 -0
- data/spec/fixtures/no_message_parts.wsdl +59 -0
- data/spec/fixtures/no_namespace.wsdl +115 -0
- data/spec/fixtures/savon295.wsdl +52 -0
- data/spec/fixtures/soap12.wsdl +11 -0
- data/spec/fixtures/symbolic_endpoint.wsdl +190 -0
- data/spec/fixtures/two_bindings.wsdl +24 -0
- data/spec/spec_helper.rb +19 -0
- data/spec/support/fixture.rb +40 -0
- data/spec/support/profiling.rb +18 -0
- data/spec/wasabi/core_ext/string_spec.rb +37 -0
- data/spec/wasabi/document/authentication_spec.rb +23 -0
- data/spec/wasabi/document/economic_spec.rb +13 -0
- data/spec/wasabi/document/encoded_endpoint_spec.rb +11 -0
- data/spec/wasabi/document/geotrust_spec.rb +24 -0
- data/spec/wasabi/document/inherited_spec.rb +38 -0
- data/spec/wasabi/document/multiple_namespaces_spec.rb +35 -0
- data/spec/wasabi/document/namespaced_actions_spec.rb +25 -0
- data/spec/wasabi/document/no_namespace_spec.rb +25 -0
- data/spec/wasabi/document/savon295_spec.rb +15 -0
- data/spec/wasabi/document/soap12_spec.rb +11 -0
- data/spec/wasabi/document/two_bindings_spec.rb +21 -0
- data/spec/wasabi/document_spec.rb +58 -0
- data/spec/wasabi/parser/get_servicename_spec.rb +19 -0
- data/spec/wasabi/parser/import_port_types_spec.rb +22 -0
- data/spec/wasabi/parser/juniper_spec.rb +23 -0
- data/spec/wasabi/parser/multiple_namespaces_spec.rb +40 -0
- data/spec/wasabi/parser/no_message_parts_spec.rb +26 -0
- data/spec/wasabi/parser/no_namespace_spec.rb +26 -0
- data/spec/wasabi/parser/no_target_namespace_spec.rb +36 -0
- data/spec/wasabi/parser/symbolic_endpoint_spec.rb +24 -0
- data/spec/wasabi/resolver_spec.rb +40 -0
- data/spec/wasabi/wasabi_spec.rb +12 -0
- data/wasabi.gemspec +27 -0
- metadata +159 -0
@@ -0,0 +1,59 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<definitions
|
3
|
+
xmlns="http://schemas.xmlsoap.org/wsdl/"
|
4
|
+
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
|
5
|
+
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
|
6
|
+
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
|
7
|
+
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
|
8
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
9
|
+
xmlns:s="http://www.w3.org/2001/XMLSchema"
|
10
|
+
xmlns:article="http://example.com/article"
|
11
|
+
xmlns:actions="http://example.com/actions"
|
12
|
+
targetNamespace="http://example.com/actions">
|
13
|
+
<types>
|
14
|
+
<s:schema elementFormDefault="qualified" targetNamespace="http://example.com/actions">
|
15
|
+
<s:element name="Save">
|
16
|
+
<s:complexType>
|
17
|
+
<s:sequence>
|
18
|
+
<s:element name="article" type="article:Article"/>
|
19
|
+
</s:sequence>
|
20
|
+
</s:complexType>
|
21
|
+
</s:element>
|
22
|
+
</s:schema>
|
23
|
+
<s:schema elementFormDefault="qualified" targetNamespace="http://example.com/article">
|
24
|
+
<s:complexType name="Article">
|
25
|
+
<s:sequence>
|
26
|
+
<s:element minOccurs="0" name="Author" type="s:string"/>
|
27
|
+
<s:element minOccurs="0" name="Title" type="s:string"/>
|
28
|
+
</s:sequence>
|
29
|
+
</s:complexType>
|
30
|
+
</s:schema>
|
31
|
+
</types>
|
32
|
+
<message name="SaveSoapIn"/>
|
33
|
+
<message name="SaveSoapOut">
|
34
|
+
<part name="parameters" element="actions:SaveResponse"/>
|
35
|
+
</message>
|
36
|
+
<portType name="ArticleSoap">
|
37
|
+
<operation name="Save">
|
38
|
+
<input message="actions:SaveSoapIn"/>
|
39
|
+
<output message="actions:SaveSoapOut"/>
|
40
|
+
</operation>
|
41
|
+
</portType>
|
42
|
+
<binding name="ArticleSoap" type="actions:ArticleSoap">
|
43
|
+
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
|
44
|
+
<operation name="Save">
|
45
|
+
<soap:operation soapAction="http://example.com/actions.Save" style="document"/>
|
46
|
+
<input>
|
47
|
+
<soap:body use="literal"/>
|
48
|
+
</input>
|
49
|
+
<output>
|
50
|
+
<soap:body use="literal"/>
|
51
|
+
</output>
|
52
|
+
</operation>
|
53
|
+
</binding>
|
54
|
+
<service name="StudyMDL">
|
55
|
+
<port name="StudyMDLSoap" binding="actions:StudyMDLSoap">
|
56
|
+
<soap:address location="http://example.com:1234/soap"/>
|
57
|
+
</port>
|
58
|
+
</service>
|
59
|
+
</definitions>
|
@@ -0,0 +1,115 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<definitions name="Api" xmlns:typens="urn:ActionWebService" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" targetNamespace="urn:ActionWebService" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns="http://schemas.xmlsoap.org/wsdl/">
|
3
|
+
<types>
|
4
|
+
<xsd:schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:ActionWebService">
|
5
|
+
<xsd:complexType name="MpUser">
|
6
|
+
<xsd:all>
|
7
|
+
<xsd:element name="avatar_thumb_url" type="xsd:string"/>
|
8
|
+
<xsd:element name="speciality" type="xsd:string"/>
|
9
|
+
<xsd:element name="avatar_icon_url" type="xsd:string"/>
|
10
|
+
<xsd:element name="firstname" type="xsd:string"/>
|
11
|
+
<xsd:element name="city" type="xsd:string"/>
|
12
|
+
<xsd:element name="mp_id" type="xsd:int"/>
|
13
|
+
<xsd:element name="lastname" type="xsd:string"/>
|
14
|
+
<xsd:element name="login" type="xsd:string"/>
|
15
|
+
</xsd:all>
|
16
|
+
</xsd:complexType>
|
17
|
+
<xsd:complexType name="MpUserArray">
|
18
|
+
<xsd:complexContent>
|
19
|
+
<xsd:restriction base="soapenc:Array">
|
20
|
+
<xsd:attribute wsdl:arrayType="typens:MpUser[]" ref="soapenc:arrayType"/>
|
21
|
+
</xsd:restriction>
|
22
|
+
</xsd:complexContent>
|
23
|
+
</xsd:complexType>
|
24
|
+
<xsd:complexType name="McContact">
|
25
|
+
<xsd:all>
|
26
|
+
<xsd:element name="last_name" type="xsd:string"/>
|
27
|
+
<xsd:element name="email" type="xsd:string"/>
|
28
|
+
<xsd:element name="mp_id" type="xsd:int"/>
|
29
|
+
<xsd:element name="role" type="xsd:int"/>
|
30
|
+
<xsd:element name="login" type="xsd:string"/>
|
31
|
+
<xsd:element name="first_name" type="xsd:string"/>
|
32
|
+
</xsd:all>
|
33
|
+
</xsd:complexType>
|
34
|
+
<xsd:complexType name="McContactArray">
|
35
|
+
<xsd:complexContent>
|
36
|
+
<xsd:restriction base="soapenc:Array">
|
37
|
+
<xsd:attribute wsdl:arrayType="typens:McContact[]" ref="soapenc:arrayType"/>
|
38
|
+
</xsd:restriction>
|
39
|
+
</xsd:complexContent>
|
40
|
+
</xsd:complexType>
|
41
|
+
</xsd:schema>
|
42
|
+
</types>
|
43
|
+
<message name="GetUserLoginById">
|
44
|
+
<part name="api_key" type="xsd:string"/>
|
45
|
+
<part name="id" type="xsd:int"/>
|
46
|
+
</message>
|
47
|
+
<message name="GetUserLoginByIdResponse">
|
48
|
+
<part name="return" type="xsd:string"/>
|
49
|
+
</message>
|
50
|
+
<message name="GetAllContacts">
|
51
|
+
<part name="api_key" type="xsd:string"/>
|
52
|
+
<part name="login" type="xsd:string"/>
|
53
|
+
</message>
|
54
|
+
<message name="GetAllContactsResponse">
|
55
|
+
<part name="return" type="typens:McContactArray"/>
|
56
|
+
</message>
|
57
|
+
<message name="SearchUser">
|
58
|
+
<part name="api_key" type="xsd:string"/>
|
59
|
+
<part name="phrase" type="xsd:string"/>
|
60
|
+
<part name="page" type="xsd:string"/>
|
61
|
+
<part name="per_page" type="xsd:string"/>
|
62
|
+
</message>
|
63
|
+
<message name="SearchUserResponse">
|
64
|
+
<part name="return" type="typens:MpUserArray"/>
|
65
|
+
</message>
|
66
|
+
<portType name="ApiApiPort">
|
67
|
+
<operation name="GetUserLoginById">
|
68
|
+
<input message="typens:GetUserLoginById"/>
|
69
|
+
<output message="typens:GetUserLoginByIdResponse"/>
|
70
|
+
</operation>
|
71
|
+
<operation name="GetAllContacts">
|
72
|
+
<input message="typens:GetAllContacts"/>
|
73
|
+
<output message="typens:GetAllContactsResponse"/>
|
74
|
+
</operation>
|
75
|
+
<operation name="SearchUser">
|
76
|
+
<input message="typens:SearchUser"/>
|
77
|
+
<output message="typens:SearchUserResponse"/>
|
78
|
+
</operation>
|
79
|
+
</portType>
|
80
|
+
<binding name="ApiApiBinding" type="typens:ApiApiPort">
|
81
|
+
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="rpc"/>
|
82
|
+
<operation name="GetUserLoginById">
|
83
|
+
<soap:operation soapAction="/api/api/GetUserLoginById"/>
|
84
|
+
<input>
|
85
|
+
<soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:ActionWebService" use="encoded"/>
|
86
|
+
</input>
|
87
|
+
<output>
|
88
|
+
<soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:ActionWebService" use="encoded"/>
|
89
|
+
</output>
|
90
|
+
</operation>
|
91
|
+
<operation name="GetAllContacts">
|
92
|
+
<soap:operation soapAction="/api/api/GetAllContacts"/>
|
93
|
+
<input>
|
94
|
+
<soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:ActionWebService" use="encoded"/>
|
95
|
+
</input>
|
96
|
+
<output>
|
97
|
+
<soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:ActionWebService" use="encoded"/>
|
98
|
+
</output>
|
99
|
+
</operation>
|
100
|
+
<operation name="SearchUser">
|
101
|
+
<soap:operation soapAction="/api/api/SearchUser"/>
|
102
|
+
<input>
|
103
|
+
<soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:ActionWebService" use="encoded"/>
|
104
|
+
</input>
|
105
|
+
<output>
|
106
|
+
<soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:ActionWebService" use="encoded"/>
|
107
|
+
</output>
|
108
|
+
</operation>
|
109
|
+
</binding>
|
110
|
+
<service name="ApiService">
|
111
|
+
<port name="ApiApiPort" binding="typens:ApiApiBinding">
|
112
|
+
<soap:address location="http://example.com/api/api"/>
|
113
|
+
</port>
|
114
|
+
</service>
|
115
|
+
</definitions>
|
@@ -0,0 +1,52 @@
|
|
1
|
+
<?xml version="1.0" encoding="ISO-8859-1"?>
|
2
|
+
<definitions name="SendSMS" targetNamespace="http://bedrift.telefonkatalogen.no" xmlns:tns="http://bedrift.telefonkatalogen.no" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns="http://schemas.xmlsoap.org/wsdl/">
|
3
|
+
<types>
|
4
|
+
<xsd:schema elementFormDefault="qualified" targetNamespace="http://bedrift.telefonkatalogen.no" xmlns="http://www.w3.org/2001/XMLSchema">
|
5
|
+
|
6
|
+
</xsd:schema>
|
7
|
+
</types>
|
8
|
+
|
9
|
+
|
10
|
+
<message name="sendsmsRequest">
|
11
|
+
<part name="sender" type="xsd:string"/>
|
12
|
+
<part name="cellular" type="xsd:string"/>
|
13
|
+
<part name="msg" type="xsd:string"/>
|
14
|
+
<part name="smsnumgroup" type="xsd:string"/>
|
15
|
+
<part name="emailaddr" type="xsd:string"/>
|
16
|
+
<part name="udh" type="xsd:string"/>
|
17
|
+
<part name="datetime" type="xsd:string"/>
|
18
|
+
<part name="format" type="xsd:string"/>
|
19
|
+
<part name="dlrurl" type="xsd:string"/>
|
20
|
+
</message>
|
21
|
+
<message name="sendsmsResponse">
|
22
|
+
<part name="body" type="xsd:string"/>
|
23
|
+
</message>
|
24
|
+
|
25
|
+
<portType name="SendSmsPortType">
|
26
|
+
<operation name="sendsms">
|
27
|
+
<input message="tns:sendsmsRequest"/>
|
28
|
+
<output message="tns:sendsmsResponse"/>
|
29
|
+
</operation>
|
30
|
+
</portType>
|
31
|
+
|
32
|
+
<binding name="SendSmsBinding" type="tns:SendSmsPortType">
|
33
|
+
<soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
|
34
|
+
<operation name="sendsms">
|
35
|
+
<soap:operation soapAction="sendsms"/>
|
36
|
+
<input>
|
37
|
+
<soap:body use="literal"/>
|
38
|
+
</input>
|
39
|
+
<output>
|
40
|
+
<soap:body use="literal"/>
|
41
|
+
</output>
|
42
|
+
</operation>
|
43
|
+
</binding>
|
44
|
+
|
45
|
+
<service name="SendSms">
|
46
|
+
<documentation>Interfaces to telephone directory services, using rpc/literal</documentation>
|
47
|
+
<port name="SendSmsPort" binding="tns:SendSmsBinding">
|
48
|
+
<soap:address location="http://bedrift.telefonkatalogen.no/tk/websvcsendsms.php"/>
|
49
|
+
</port>
|
50
|
+
</service>
|
51
|
+
|
52
|
+
</definitions>
|
@@ -0,0 +1,11 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!-- Example of a WSDL with SOAP 1.2 and no SOAP 1.1 endpoint.
|
3
|
+
Don't know whether this is widespread, but we should allow it. -->
|
4
|
+
<definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
5
|
+
<service name="Blog">
|
6
|
+
<port name="BlogSoap12">
|
7
|
+
<soap12:address location="http://blogsite.example.com/endpoint12"/>
|
8
|
+
</port>
|
9
|
+
</service>
|
10
|
+
</definitions>
|
11
|
+
|
@@ -0,0 +1,190 @@
|
|
1
|
+
<!--This WSDL was generated by the webservice framework generator Version 1.8.14 on 2011-08-10T13:34:02.156+0200-->
|
2
|
+
<wsdl:definitions targetNamespace="http://webservices.partner.example.de" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://webservices.partner.example.de" xmlns:intf="http://webservices.partner.example.de" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns2="http://model.webservices.partner.example.de" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
3
|
+
<wsdl:types>
|
4
|
+
<schema targetNamespace="http://model.webservices.partner.example.de" xmlns="http://www.w3.org/2001/XMLSchema">
|
5
|
+
<complexType name="DtTqEbUser">
|
6
|
+
<sequence>
|
7
|
+
<element name="simulate" nillable="true" type="xsd:boolean"/>
|
8
|
+
<element name="mandant" nillable="true">
|
9
|
+
<simpleType>
|
10
|
+
<restriction base="xsd:string">
|
11
|
+
<maxLength value="5"/>
|
12
|
+
</restriction>
|
13
|
+
</simpleType>
|
14
|
+
</element>
|
15
|
+
<element name="racfUser" nillable="true">
|
16
|
+
<simpleType>
|
17
|
+
<restriction base="xsd:string">
|
18
|
+
<maxLength value="8"/>
|
19
|
+
</restriction>
|
20
|
+
</simpleType>
|
21
|
+
</element>
|
22
|
+
<element name="caller" nillable="true">
|
23
|
+
<simpleType>
|
24
|
+
<restriction base="xsd:string">
|
25
|
+
<maxLength value="32"/>
|
26
|
+
</restriction>
|
27
|
+
</simpleType>
|
28
|
+
</element>
|
29
|
+
<element name="realUser" nillable="true">
|
30
|
+
<simpleType>
|
31
|
+
<restriction base="xsd:string">
|
32
|
+
<maxLength value="32"/>
|
33
|
+
</restriction>
|
34
|
+
</simpleType>
|
35
|
+
</element>
|
36
|
+
<element fixed="PA8526" name="module" type="xsd:string"/>
|
37
|
+
</sequence>
|
38
|
+
</complexType>
|
39
|
+
<complexType name="Message">
|
40
|
+
<sequence>
|
41
|
+
<element name="fehlerklasse" nillable="true">
|
42
|
+
<simpleType>
|
43
|
+
<restriction base="xsd:string">
|
44
|
+
<maxLength value="2"/>
|
45
|
+
</restriction>
|
46
|
+
</simpleType>
|
47
|
+
</element>
|
48
|
+
<element name="fehlerart" nillable="true">
|
49
|
+
<simpleType>
|
50
|
+
<restriction base="xsd:string">
|
51
|
+
<maxLength value="7"/>
|
52
|
+
</restriction>
|
53
|
+
</simpleType>
|
54
|
+
</element>
|
55
|
+
<element name="fehlermeldung" nillable="true">
|
56
|
+
<simpleType>
|
57
|
+
<restriction base="xsd:string">
|
58
|
+
<maxLength value="200"/>
|
59
|
+
</restriction>
|
60
|
+
</simpleType>
|
61
|
+
</element>
|
62
|
+
<element name="extraFehlertext" nillable="true">
|
63
|
+
<simpleType>
|
64
|
+
<restriction base="xsd:string">
|
65
|
+
<maxLength value="200"/>
|
66
|
+
</restriction>
|
67
|
+
</simpleType>
|
68
|
+
</element>
|
69
|
+
</sequence>
|
70
|
+
</complexType>
|
71
|
+
<complexType name="ArrayOfMessage">
|
72
|
+
<sequence>
|
73
|
+
<element maxOccurs="unbounded" minOccurs="0" name="message" nillable="true" type="tns2:Message"/>
|
74
|
+
</sequence>
|
75
|
+
</complexType>
|
76
|
+
<complexType name="Returnobject">
|
77
|
+
<sequence>
|
78
|
+
<element name="messages" nillable="true" type="tns2:ArrayOfMessage"/>
|
79
|
+
<element name="returncode" nillable="true">
|
80
|
+
<simpleType>
|
81
|
+
<restriction base="xsd:string">
|
82
|
+
<maxLength value="30"/>
|
83
|
+
</restriction>
|
84
|
+
</simpleType>
|
85
|
+
</element>
|
86
|
+
</sequence>
|
87
|
+
</complexType>
|
88
|
+
<complexType name="ArrayOfDtPaStBezRollenStruktur">
|
89
|
+
<sequence>
|
90
|
+
<element maxOccurs="unbounded" minOccurs="0" name="DtPaStBezRollenStrukturArray" nillable="true" type="tns2:DtPaStBezRollenStruktur"/>
|
91
|
+
</sequence>
|
92
|
+
</complexType>
|
93
|
+
<complexType name="DtPaStBezRollenStruktur">
|
94
|
+
<sequence>
|
95
|
+
<element name="paCode" nillable="true">
|
96
|
+
<simpleType>
|
97
|
+
<restriction base="xsd:int">
|
98
|
+
<xsd:minInclusive value="0000"/>
|
99
|
+
<xsd:maxExclusive value="32767"/>
|
100
|
+
</restriction>
|
101
|
+
</simpleType>
|
102
|
+
</element>
|
103
|
+
<element name="kurzbezeichnung" nillable="true">
|
104
|
+
<simpleType>
|
105
|
+
<restriction base="xsd:string">
|
106
|
+
<maxLength value="15"/>
|
107
|
+
</restriction>
|
108
|
+
</simpleType>
|
109
|
+
</element>
|
110
|
+
<element name="bezeichnung" nillable="true">
|
111
|
+
<simpleType>
|
112
|
+
<restriction base="xsd:string">
|
113
|
+
<maxLength value="60"/>
|
114
|
+
</restriction>
|
115
|
+
</simpleType>
|
116
|
+
</element>
|
117
|
+
<element name="codeInvers" nillable="true">
|
118
|
+
<simpleType>
|
119
|
+
<restriction base="xsd:int">
|
120
|
+
<xsd:minInclusive value="0000"/>
|
121
|
+
<xsd:maxExclusive value="32767"/>
|
122
|
+
</restriction>
|
123
|
+
</simpleType>
|
124
|
+
</element>
|
125
|
+
<element name="partnertypCd" nillable="true">
|
126
|
+
<simpleType>
|
127
|
+
<restriction base="xsd:int">
|
128
|
+
<xsd:minInclusive value="0000"/>
|
129
|
+
<xsd:maxExclusive value="32767"/>
|
130
|
+
</restriction>
|
131
|
+
</simpleType>
|
132
|
+
</element>
|
133
|
+
<element name="sortierfolge" nillable="true">
|
134
|
+
<simpleType>
|
135
|
+
<restriction base="xsd:int">
|
136
|
+
<xsd:minInclusive value="0000"/>
|
137
|
+
<xsd:maxExclusive value="32767"/>
|
138
|
+
</restriction>
|
139
|
+
</simpleType>
|
140
|
+
</element>
|
141
|
+
<element name="verwendbarkeit" nillable="true">
|
142
|
+
<simpleType>
|
143
|
+
<restriction base="xsd:string">
|
144
|
+
<maxLength value="1"/>
|
145
|
+
</restriction>
|
146
|
+
</simpleType>
|
147
|
+
</element>
|
148
|
+
</sequence>
|
149
|
+
</complexType>
|
150
|
+
<complexType name="ROPtsLiesListe">
|
151
|
+
<complexContent>
|
152
|
+
<extension base="tns2:Returnobject">
|
153
|
+
<sequence>
|
154
|
+
<element name="listenteil" nillable="true" type="tns2:ArrayOfDtPaStBezRollenStruktur"/>
|
155
|
+
</sequence>
|
156
|
+
</extension>
|
157
|
+
</complexContent>
|
158
|
+
</complexType>
|
159
|
+
</schema>
|
160
|
+
</wsdl:types>
|
161
|
+
<wsdl:message name="ptsLiesListeResponse">
|
162
|
+
<wsdl:part name="ROPtsLiesListe" type="tns2:ROPtsLiesListe"/>
|
163
|
+
</wsdl:message>
|
164
|
+
<wsdl:message name="ptsLiesListeRequest">
|
165
|
+
<wsdl:part name="user" type="tns2:DtTqEbUser"/>
|
166
|
+
</wsdl:message>
|
167
|
+
<wsdl:portType name="PaPtsStBezRollen">
|
168
|
+
<wsdl:operation name="ptsLiesListe" parameterOrder="user">
|
169
|
+
<wsdl:input message="intf:ptsLiesListeRequest" name="ptsLiesListeRequest"/>
|
170
|
+
<wsdl:output message="intf:ptsLiesListeResponse" name="ptsLiesListeResponse"/>
|
171
|
+
</wsdl:operation>
|
172
|
+
</wsdl:portType>
|
173
|
+
<wsdl:binding name="webservices.partner.example.deSoapBinding" type="intf:PaPtsStBezRollen">
|
174
|
+
<wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
|
175
|
+
<wsdl:operation name="ptsLiesListe">
|
176
|
+
<wsdlsoap:operation soapAction=""/>
|
177
|
+
<wsdl:input name="ptsLiesListeRequest">
|
178
|
+
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="literal"/>
|
179
|
+
</wsdl:input>
|
180
|
+
<wsdl:output name="ptsLiesListeResponse">
|
181
|
+
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="literal"/>
|
182
|
+
</wsdl:output>
|
183
|
+
</wsdl:operation>
|
184
|
+
</wsdl:binding>
|
185
|
+
<wsdl:service name="PaPtsStBezRollenService">
|
186
|
+
<wsdl:port binding="intf:webservices.partner.example.deSoapBinding" name="de.example.partner.webservices">
|
187
|
+
<wsdlsoap:address location="http://server:port/CICS/CWBA/DFHWSDSH/DQ5006"/>
|
188
|
+
</wsdl:port>
|
189
|
+
</wsdl:service>
|
190
|
+
</wsdl:definitions>
|
@@ -0,0 +1,24 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!-- Example of a WSDL with two <binding> tags.
|
3
|
+
|
4
|
+
This is stripped down from a real example found in the wild, although
|
5
|
+
having different operations for the SOAP 1.1 and SOAP 1.2 bindings
|
6
|
+
is hypothetical (the real-world example I saw had the same operations
|
7
|
+
in each binding section). -->
|
8
|
+
<definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
9
|
+
<types>
|
10
|
+
</types>
|
11
|
+
<portType name="BlogSoap">
|
12
|
+
</portType>
|
13
|
+
<binding name="BlogSoap">
|
14
|
+
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
|
15
|
+
<operation name="Post" />
|
16
|
+
<operation name="Post11only" />
|
17
|
+
</binding>
|
18
|
+
<binding name="BlogSoap12">
|
19
|
+
<soap12:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
|
20
|
+
<operation name="Post" />
|
21
|
+
<operation name="Post12only" />
|
22
|
+
</binding>
|
23
|
+
</definitions>
|
24
|
+
|