-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix including xsd from another xsd while using inline xmlns (#1202)
- Loading branch information
Showing
4 changed files
with
77 additions
and
0 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
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
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<xs:schema targetNamespace="http://www.dummy.com/Types" | ||
xmlns:xs="http://www.w3.org/2001/XMLSchema" | ||
xmlns:dummy="http://www.dummy.com/Types" | ||
elementFormDefault="qualified" attributeFormDefault="unqualified"> | ||
<xs:include schemaLocation="types.xsd"/> | ||
<xs:element name="DummyRequest"> | ||
<xs:complexType> | ||
<xs:sequence> | ||
<xs:element name="ID" type="ns1:IdType" xmlns:ns1="http://www.dummy.com/Types"/> | ||
<xs:element name="Name" type="ns2:NameType" xmlns:ns2="http://www.dummy.com/Types"/> | ||
</xs:sequence> | ||
</xs:complexType> | ||
</xs:element> | ||
<xs:element name="DummyResponse"> | ||
<xs:complexType> | ||
<xs:sequence> | ||
<xs:element name="Result" type="dummy:DummyList"/> | ||
</xs:sequence> | ||
</xs:complexType> | ||
</xs:element> | ||
</xs:schema> |
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 |
---|---|---|
@@ -0,0 +1,45 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<wsdl:definitions targetNamespace="http://www.dummy.com" | ||
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" | ||
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" | ||
xmlns:xs="http://www.w3.org/2001/XMLSchema" | ||
xmlns:dummy="http://www.dummy.com/Types" | ||
xmlns:tns="http://www.dummy.com"> | ||
<wsdl:types> | ||
<xs:schema targetNamespace="http://www.dummy.com/Types" | ||
xmlns:xs="http://www.w3.org/2001/XMLSchema" | ||
xmlns:dummy="http://www.dummy.com/Types" | ||
elementFormDefault="qualified" attributeFormDefault="unqualified"> | ||
<xs:include schemaLocation="types_inline_xmlns.xsd"/> | ||
</xs:schema> | ||
</wsdl:types> | ||
<wsdl:message name="DummyRequest"> | ||
<wsdl:part name="DummyRequest" element="dummy:DummyRequest"/> | ||
</wsdl:message> | ||
<wsdl:message name="DummyResponse"> | ||
<wsdl:part name="DummyResponse" element="dummy:DummyResponse"/> | ||
</wsdl:message> | ||
<wsdl:portType name="DummyPortType"> | ||
<wsdl:operation name="Dummy"> | ||
<wsdl:input message="tns:DummyRequest"/> | ||
<wsdl:output message="tns:DummyResponse"/> | ||
</wsdl:operation> | ||
</wsdl:portType> | ||
<wsdl:binding name="DummyBinding" type="tns:DummyPortType"> | ||
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/> | ||
<wsdl:operation name="Dummy"> | ||
<soap:operation soapAction="tns#Dummy" 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="DummyService"> | ||
<wsdl:port name="DummyPortType" binding="tns:DummyBinding"> | ||
<soap:address location="http://www.dummy.com/"/> | ||
</wsdl:port> | ||
</wsdl:service> | ||
</wsdl:definitions> |