-
Notifications
You must be signed in to change notification settings - Fork 391
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added test for inlined element with simple type restriction
- Loading branch information
Showing
2 changed files
with
123 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,69 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<wsdl:definitions xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://www.mnb.hu/webservices/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" targetNamespace="http://www.mnb.hu/webservices/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"> | ||
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">MNB curreny exchange rate webservice.</wsdl:documentation> | ||
<wsdl:types> | ||
<s:schema elementFormDefault="qualified" targetNamespace="http://www.mnb.hu/webservices/"> | ||
<s:element name="GetInfo"> | ||
<s:complexType /> | ||
</s:element> | ||
<s:element name="GetInfoResponse"> | ||
<s:complexType> | ||
<s:sequence> | ||
<s:element minOccurs="0" maxOccurs="1" name="GetInfoResult" type="s:string"> | ||
<s:annotation> | ||
<s:documentation>this is a comment</s:documentation> | ||
</s:annotation> | ||
</s:element> | ||
</s:sequence> | ||
</s:complexType> | ||
</s:element> | ||
</s:schema> | ||
</wsdl:types> | ||
<wsdl:message name="GetInfoSoapIn"> | ||
<wsdl:part name="parameters" element="tns:GetInfo" /> | ||
</wsdl:message> | ||
<wsdl:message name="GetInfoSoapOut"> | ||
<wsdl:part name="parameters" element="tns:GetInfoResponse" /> | ||
</wsdl:message> | ||
<wsdl:service name="MNBArfolyamService"> | ||
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">MNB curreny exchange rate webservice.</wsdl:documentation> | ||
<wsdl:port name="MNBArfolyamServiceSoap" binding="tns:MNBArfolyamServiceSoap"> | ||
<soap:address location="http://www.mnb.hu/arfolyamok.asmx" /> | ||
</wsdl:port> | ||
<wsdl:port name="MNBArfolyamServiceSoap12" binding="tns:MNBArfolyamServiceSoap12"> | ||
<soap12:address location="http://www.mnb.hu/arfolyamok.asmx" /> | ||
</wsdl:port> | ||
</wsdl:service> | ||
</wsdl:definitions> | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<wsdl:definitions xmlns:s="http://www.w3.org/2001/XMLSchema" | ||
xmlns:tns="http://www.mnb.hu/webservices/" | ||
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" | ||
xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" | ||
targetNamespace="http://www.mnb.hu/webservices/" | ||
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"> | ||
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">MNB curreny exchange rate webservice.</wsdl:documentation> | ||
<wsdl:types> | ||
<s:schema elementFormDefault="qualified" targetNamespace="http://www.mnb.hu/webservices/"> | ||
<s:element name="GetInfo"> | ||
<s:complexType> | ||
<s:sequence> | ||
<s:element name="Id"> | ||
<s:annotation> | ||
<s:documentation>comment</s:documentation> | ||
</s:annotation> | ||
<s:simpleType> | ||
<s:restriction base="s:string"> | ||
<s:minLength value="2"/> | ||
</s:restriction> | ||
</s:simpleType> | ||
</s:element> | ||
</s:sequence> | ||
</s:complexType> | ||
</s:element> | ||
<s:element name="GetInfoResponse"> | ||
<s:complexType> | ||
<s:sequence> | ||
<s:element minOccurs="0" maxOccurs="1" name="GetInfoResult" type="s:string"> | ||
<s:annotation> | ||
<s:documentation>this is a comment</s:documentation> | ||
</s:annotation> | ||
</s:element> | ||
</s:sequence> | ||
</s:complexType> | ||
</s:element> | ||
</s:schema> | ||
</wsdl:types> | ||
<wsdl:message name="GetInfoSoapIn"> | ||
<wsdl:part name="parameters" element="tns:GetInfo" /> | ||
</wsdl:message> | ||
<wsdl:message name="GetInfoSoapOut"> | ||
<wsdl:part name="parameters" element="tns:GetInfoResponse" /> | ||
</wsdl:message> | ||
<wsdl:portType name="MNBArfolyamServiceType"> | ||
<wsdl:operation name="GetInfoSoap"> | ||
<wsdl:input message="tns:GetInfoSoapIn"/> | ||
<wsdl:output message="tns:GetInfoSoapOut"/> | ||
</wsdl:operation> | ||
</wsdl:portType> | ||
<wsdl:binding name="MNBArfolyamBinding" type="tns:MNBArfolyamServiceType"> | ||
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" /> | ||
<wsdl:operation name="GetInfoSoap"> | ||
<wsdl:input> | ||
<soap:body use="literal" /> | ||
</wsdl:input> | ||
<wsdl:output> | ||
<soap:body use="literal" /> | ||
</wsdl:output> | ||
</wsdl:operation> | ||
</wsdl:binding> | ||
<wsdl:service name="MNBArfolyamService"> | ||
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">MNB curreny exchange rate webservice.</wsdl:documentation> | ||
<wsdl:port name="MNBArfolyamServiceSoap" binding="tns:MNBArfolyamBinding"> | ||
<soap:address location="http://example.org/" /> | ||
</wsdl:port> | ||
</wsdl:service> | ||
</wsdl:definitions> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters