Changeset 1968
- Timestamp:
- 09/16/07 10:48:49 (10 months ago)
- Files:
-
- trunk/test/soap/auth/test_basic.rb (modified) (2 diffs)
- trunk/test/soap/auth/test_digest.rb (modified) (2 diffs)
- trunk/test/soap/test_streamhandler.rb (modified) (2 diffs)
- trunk/test/wsdl/multiplefault.wsdl (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/test/soap/auth/test_basic.rb
r1963 r1968 16 16 def setup 17 17 @logger = Logger.new(STDERR) 18 @logger.level = Logger::Severity:: ERROR18 @logger.level = Logger::Severity::FATAL 19 19 @url = "http://localhost:#{Port}/" 20 20 @proxyurl = "http://localhost:#{ProxyPort}/" … … 42 42 htpasswd_userdb = WEBrick::HTTPAuth::Htpasswd.new(htpasswd) 43 43 @basic_auth = WEBrick::HTTPAuth::BasicAuth.new( 44 :Logger => @logger, 44 45 :Realm => 'auth', 45 46 :UserDB => htpasswd_userdb trunk/test/soap/auth/test_digest.rb
r1963 r1968 16 16 def setup 17 17 @logger = Logger.new(STDERR) 18 @logger.level = Logger::Severity:: ERROR18 @logger.level = Logger::Severity::FATAL 19 19 @url = "http://localhost:#{Port}/" 20 20 @proxyurl = "http://localhost:#{ProxyPort}/" … … 42 42 htdigest_userdb = WEBrick::HTTPAuth::Htdigest.new(htdigest) 43 43 @digest_auth = WEBrick::HTTPAuth::DigestAuth.new( 44 :Logger => @logger, 44 45 :Algorithm => 'MD5', 45 46 :Realm => 'auth', trunk/test/soap/test_streamhandler.rb
r1963 r1968 16 16 def setup 17 17 @logger = Logger.new(STDERR) 18 @logger.level = Logger::Severity:: ERROR18 @logger.level = Logger::Severity::FATAL 19 19 @url = "http://localhost:#{Port}/" 20 20 @proxyurl = "http://localhost:#{ProxyPort}/" … … 46 46 htpasswd_userdb = WEBrick::HTTPAuth::Htpasswd.new(htpasswd) 47 47 @basic_auth = WEBrick::HTTPAuth::BasicAuth.new( 48 :Logger => @logger, 48 49 :Realm => 'auth', 49 50 :UserDB => htpasswd_userdb trunk/test/wsdl/multiplefault.wsdl
r1520 r1968 13 13 <xsd:schema xmlns="http://www.w3.org/2001/XMLSchema" 14 14 targetNamespace="urn:jp.gr.jin.rrr.example.datatypes"> 15 <xsd:element name="AuthenticationError" type="tns:AuthenticationError" /> 15 16 <xsd:complexType name="AuthenticationError"> 16 17 <all> … … 31 32 <message name="outputmsg"/> 32 33 <message name="faultmsg1" > 33 <part name="exception" type="typens:AuthenticationError" />34 <part name="exception" element="typens:AuthenticationError" /> 34 35 </message> 35 36 <message name="faultmsg2" > 36 <part name="exception" type="typens:AuthorizationError" />37 <part name="exception" element="typens:AuthorizationError" /> 37 38 </message> 38 39 … … 41 42 <input message="tns:inputmsg"/> 42 43 <output message="tns:outputmsg"/> 43 <fault message="tns:faultmsg1"/>44 <fault message="tns:faultmsg2"/>44 <fault name="faultmsg1" message="tns:faultmsg1"/> 45 <fault name="faultmsg2" message="tns:faultmsg2"/> 45 46 </operation> 46 47 </portType> … … 58 59 encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> 59 60 </output> 61 <fault name="faultmsg1"> 62 <soap:fault name="faultmsg1" use="literal"/> 63 </fault> 64 <fault name="faultmsg2"> 65 <soap:fault name="faultmsg2" use="literal"/> 66 </fault> 60 67 </operation> 61 68 </binding>