diff options
author | nahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-11-25 07:31:33 +0000 |
---|---|---|
committer | nahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-11-25 07:31:33 +0000 |
commit | 6a09e1d9664f86b7deb576fb0dfe57e10503bb85 (patch) | |
tree | 49dc2abcb7640c805848e543d4e5d110cbde5ad6 /test/wsdl/emptycomplextype.wsdl | |
parent | ec373c3e1c332f814225c3d49ded8217545470e2 (diff) |
* lib/soap/**/*.rb, lib/wsdl/**/*.rb, lib/xsd/**/*.rb: changed license; GPL2 -> Ruby's.
* lib/soap/rpc/driver.rb, lib/soap/wsdlDriver.rb, lib/soap/streamHandler.rb: add interface to streamhandler.
* lib/soap/marshal.rb: raise error if parse fails.
* lib/soap/netHttpClient.rb: add https support. Patched by Oliver M. Bolzer.
* lib/soap/netHttpClient.rb: dump HTTP response message body by itself.
* lib/soap/rpc/driver.rb, lib/soap/rpc/proxy.rb, lib/soap/wsdlDriver.rb: add driver#mandatorycharset interface to foce using charset for parsing response from buggy server.
* lib/soap/encodingstyle/soapHandler.rb: support Apache Axis's half typed multi-ref array.
* lib/soap/mapping/factory.rb, lib/soap/mapping/registry.rb: map SOAPStruct which has multi-accessors which name are the same, to an array.
* lib/soap/rpc/element.rb: fixed illegal parameter order.
* lib/soap/rpc/element.rb: element name of response message could have the name other than 'return'.
* lib/wsdl/operation.rb, lib/wsdl/operationBinding.rb, lib/wsdl/soap/classDefCreator.rb, lib/wsdl/soap/methodDefCreator.rb, lib/wsdl/soap/methodDefCreatorSupport.rb: WSDL/1.1 allows plural fault definition in a operation. [ruby-talk:84948]
* test/wsdl/multiplefault.wsdl, test/wsdl/test_multiplefault.rb: add test for above fix.
* lib/wsdl/soap/complexType.rb: support WSDL array definition with maxOccures="unbound".
* lib/xsd/charset.rb: use cp932 under emx. Patched by Siena. / SHINAGAWA, Norihide in [ruby-dev:21972]
* lib/xsd/xmlparser/parser.rb: set @charset nil by default. Nil means 'follow encoding declaration in XML'.
* sample/soap/digraph.rb, sample/wsdl/amazon/wsdlDriver.rb, sample/wsdl/googleSearch/sampleClient.rb, sample/wsdl/googleSearch/wsdlDriver.rb, test/wsdl/test_emptycomplextype.rb, test/wsdl/marshal/test_wsdlmarshal.rb, test/xsd/test_xmlschemaparser.rb: use File.open(...) { |f| f.read } instead of File.open(...).read. [ruby-dev:21964]
* test/wsdl/emptycomplextype.wsdl, test/wsdl/test_emptycomplextype.rb: simplify the test case.
* test/wsdl/axisArray/*: add tests for axis's array encoding.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5022 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/wsdl/emptycomplextype.wsdl')
-rw-r--r-- | test/wsdl/emptycomplextype.wsdl | 94 |
1 files changed, 24 insertions, 70 deletions
diff --git a/test/wsdl/emptycomplextype.wsdl b/test/wsdl/emptycomplextype.wsdl index afd8dc239f..4f8dc4849c 100644 --- a/test/wsdl/emptycomplextype.wsdl +++ b/test/wsdl/emptycomplextype.wsdl @@ -1,77 +1,31 @@ <?xml version="1.0" encoding="utf-8"?> -<definitions - xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" - xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" - xmlns:i1="http://www.winfessor.com/SoapBoxWebService/RosterDataSet.xsd" - xmlns:s="http://www.w3.org/2001/XMLSchema" - xmlns:s0="http://www.winfessor.com/SoapBoxWebService/SoapBoxWebService" - xmlns:i2="http://www.winfessor.com/SoapBoxWebService/ExceptionDataSet.xsd" - xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" - xmlns:i0="http://www.winfessor.com/SoapBoxWebService/MessageDataSet.xsd" - xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" - targetNamespace="http://www.winfessor.com/SoapBoxWebService/SoapBoxWebService" +<definitions name = "emptycomplextype" + xmlns:xsd="http://www.w3.org/2001/XMLSchema" + targetNamespace="urn:jp.gr.jin.rrr.example.emptycomplextype" xmlns="http://schemas.xmlsoap.org/wsdl/"> <types> - <s:schema - elementFormDefault="qualified" - targetNamespace="http://www.winfessor.com/SoapBoxWebService/SoapBoxWebService"> - <s:element name="typeIn"> - <s:complexType /> - </s:element> + <xsd:schema elementFormDefault="qualified" + targetNamespace="urn:jp.gr.jin.rrr.example.emptycomplextype"> + <xsd:element name="typeIn"> + <xsd:complexType /> + </xsd:element> - <s:element name="typeOut"> - <s:complexType> - <s:sequence> - <s:element minOccurs="0" maxOccurs="1" name="str1" type="s:string" /> - <s:element minOccurs="0" maxOccurs="1" name="str2" type="s:string" /> - <s:element minOccurs="0" maxOccurs="1" name="seq"> - <s:complexType> - <s:sequence> - <s:any /> - </s:sequence> - </s:complexType> - </s:element> - </s:sequence> - </s:complexType> - </s:element> - </s:schema> + <xsd:element name="typeOut"> + <xsd:complexType> + <xsd:sequence> + <xsd:element minOccurs="0" maxOccurs="1" name="str1" type="xsd:string" /> + <xsd:element minOccurs="0" maxOccurs="1" name="str2" type="xsd:string" /> + <xsd:element minOccurs="0" maxOccurs="1" name="seq"> + <xsd:complexType> + <xsd:sequence> + <xsd:any /> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + </xsd:schema> </types> - - <message name="doIn"> - <part name="parameters" element="s0:typeIn" /> - </message> - <message name="doOut"> - <part name="parameters" element="s0:typeOut" /> - </message> - - <portType name="DotNetPortType"> - <operation name="do"> - <input message="s0:doIn" /> - <output message="s0:doOut" /> - </operation> - </portType> - - <binding name="DotNetBinding" type="s0:DotNetPortType"> - <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" /> - <operation name="do"> - <soap:operation soapAction="http://www.winfessor.com/SoapBoxWebService/SoapBoxWebService/SessionClose" style="document" /> - <input> - <soap:body use="literal" /> - <soap:header message="s0:SessionCloseSoapBoxHeader" part="SoapBoxHeader" use="literal" /> - </input> - <output> - <soap:body use="literal" /> - <soap:header message="s0:SessionCloseSoapBoxHeader" part="SoapBoxHeader" use="literal" /> - </output> - </operation> - </binding> - - <service name="DotNetService"> - <documentation>doc doc doc.</documentation> - <port name="DotNetPort" binding="s0:DotNetBinding"> - <soap:address location="http://localhost:8808" /> - <!-- <soap:address location="http://www.winfessor.com/SoapBoxWebservice/SoapBoxWebService.asmx" /> --> - </port> - </service> </definitions> |