############################################################################
# Joshua R. Bovernof, LBNL
# See Copyright for copyright notice!
#
# CONFIGURATION SECTIONS 
#  [configuration] - global configuration of service tests.
#     net -- run network tests
#     local -- run local tests, using wsdl2dispatch and local container.
#         Must have host and port defined for container, else ignore.
#     host -- address of local container
#     port -- port of local container
#
##########################################################################
[configuration]
tracefile = True
debug = True
net = True
local = True
host = localhost
port = 9080


##########################################################################
# URL SECTIONS: All SOAP-1.1
#    document -- document style True/False
#    literal  -- literal encoding True/False
#    broke -- broke True/False
#    tests -- whitespace separated list of test modules, referenced in 
#        section WSDL.
#
#  [rpc_encoded] -- these are rpc/encoded services that WORK.
#  [rpc_encoded_broke] -- these are rpc/encoded services that DONT WORK.
#
#  [doc_encoded] -- these are document/encoded services that WORK.
#  [doc_encoded_broke] -- these are document/encoded services that DONT WORK.
#
#  [rpc_literal] -- these are rpc/literal services that WORK.
#  [rpc_literal_broke] -- these are rpc/literal services that DONT WORK.
#  [rpc_literal_broke_interop] -- these are broke BP-1.0 compliant rpc/literal services.
#
#  [doc_literal] -- these are doc/literal services that WORK.
#  [doc_literal_broke] -- these are doc/literal services that DONT WORK.
#  [doc_literal_broke_interop] -- these are broke BP-1.0 compliant doc/literal services.
#
##########################################################################

########################## SIMPLE ########################################
# Just basic unittest, they will be run without any additional configuration.
# Variables:
#   tests -- whitespace separated list of test modules that 
#            must define a makeTestSuite function that returns a test suite.
#
##########################################################################
[simple]
tests = test_Echo test_Choice test_Attributes


########################## RPC/ENCODED ###################################
#
# Broken:
#
#
##########################################################################
[rpc_encoded]
document = False
literal = False
broke = False
tests = test_XMethodsQuery

[rpc_encoded_broke]
document = False
literal = False
broke = True
tests = test_AmazonWebService test_GlobalWeather_gw  test_ThreatService test_GlobalWeather_si


########################## RPC/LITERAL ###################################
#
# Broken:
#
#
##########################################################################
[rpc_literal]
document = False
literal = True
broke = False
tests = test_WhiteMesa

[rpc_literal_broke]
document = False
literal = True
broke = True
tests = 

[rpc_literal_broke_interop]
document = False
literal = True
broke = True
tests = 

########################## DOCUMENT/LITERAL ##############################
#
# Broken:
#     test_TerraService -- wsdl2python Not supporting content <ZSI.wstools.XMLSchema.List>
#
#
##########################################################################
[doc_literal]
document = True
literal = True
broke = False
tests =  test_ZipCodeResolver test_MapPoint test_OpcDaGateway test_Sabre

[doc_literal_broke]
document = True
literal = True
broke = True
tests =  

[doc_literal_broke_interop]
document = True
literal = True
broke = True
tests = 


##########################################################################
# For each test case tell whether it is rpc/encoded or doc/literal
# Here it is indexed by unittest,   
#
##########################################################################
[test_Sabre]
document = True
literal = True

[test_FreeDBService]
document = True
literal = True

[test_OpcDaGateway]
document = True
literal = True

[test_MapPoint]
document = True
literal = True

[test_ZipCodeResolver]
document = True
literal = True

[test_WhiteMesa]
document = False
literal = True

[test_XMethodsQuery]
document = False
literal = False



##########################################################################
# SECTION [WSDL] - test name(equivalent to module name) and URL.
# 
##########################################################################
[WSDL]
test_AmazonWebService = http://soap.amazon.com/schemas/AmazonWebServices.wsdl
test_FreeDBService = http://soap.systinet.net:6080/FreeDB/
test_GlobalWeather_gw = http://live.capescience.com/wsdl/GlobalWeather.wsdl
test_GlobalWeather_si = http://live.capescience.com/wsdl/GlobalWeather.wsdl
test_TemperatureService = http://www.xmethods.net/sd/2001/TemperatureService.wsdl
test_WorldTimeService = http://ws.digiposs.com/WorldTime.jws?wsdl
test_TerraService = http://terraservice.net/TerraService.asmx?WSDL
test_ThreatService = http://www.boyzoid.com/threat.cfc?wsdl
test_XMethodsQuery = http://www.xmethods.net/wsdl/query.wsdl
test_ZipCodeResolver = http://webservices.eraserver.net/zipcoderesolver/zipcoderesolver.asmx?WSDL
test_WhiteMesa = http://www.whitemesa.net/wsdl/test-rpc-lit.wsdl
test_OpcDaGateway = http://tswinc.us/XMLDADemo/ts_sim/OpcDaGateway.asmx?WSDL
test_MapPoint = http://staging.mappoint.net/standard-30/mappoint.wsdl
test_Sabre = http://webservices.sabre.com/wsdl/sabreXML1.0.00/res/SessionCreateRQ.wsdl


##########################################################################
# SECTION [servers] - used for local tests, and for wsdl2dispatch.
# 
##########################################################################
[servers]
test_WhiteMesa = servers/WhiteMesa.py




