You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
David Robertson d8bd928ef8 High level client code generator tests moved elsewhere. 21 years ago
..
README ---------------------------------------------------------------------- 21 years ago
config.py Updated with latest xmethods, removed URL's no longer in xmethods. 21 years ago
schema.tar.gz ---------------------------------------------------------------------- 21 years ago
test_WSDLReader.py Now using separate MatchTestLoader in makeSuite. Improved way config 21 years ago
test_t1.py Converted to more automated way of generating test cases from 21 years ago
test_wsdl.py Converted to more automated way of generating test cases from 21 years ago
test_wsdl2python.py High level client code generator tests moved elsewhere. 21 years ago
test_wstools.py Converted to more automated way of generating test cases from 21 years ago
test_wstools_net.py Converted to more automated way of generating test cases from 21 years ago
utils.py Fixed premature close of string buffer. 21 years ago
xmethods.tar.gz ---------------------------------------------------------------------- 21 years ago

README

Two top level modules have been provided to run the tests. "test_wstools.py" is used
to run all of the local tests. "test_wstools_net.py" is used to run all of the
tests that require network access.

TESTS:
test_t1 -- Basic test, just checks that wsdl and xsd objects are in the
right places.

ADDING TESTS:
1. For Stand-Alone tests add WSDL FILE to appropriate archive file
Need to add a NEW Archive?:
config.py [files] "archive" -- tuple of all archive files,
if you need to create a new archive append the archive
name to the 'archive' tuple.

2. Edit config.py section(s):
option -- name by which service will be referenced in test case.
Need an entry under appropriate section(s), this name
must be unique within each section it appears but it may
appear in multiple sections.

config.py "test" sections:
Stand-Alone -- add "option" under [services_by_file]
eg. amazon = exports/AmazonWebServices.wsdl

Network -- add "option" under [services_by_http]
eg. amazon = http://soap.amazon.com/schemas/AmazonWebServices.wsdl

Broken -- add "option" under [broken]

3. In test module(s)
a. Add test case:

#eg. test_t1.py
class AmazonTestCase(WSDLToolsTestCase):
def test(self):
self.option = 'amazon'
self.loadFromConfig(CONFIG)

b. Add class name of test case to CASES list.
CASES = [AirportTestCase,
AmazonTestCase,
.... etc

4. Done


CONTENTS OF SAMPLE WSDL/XSD:
schema -- Taken from globus-3.0.1(http://www.globus.org)
xmethods -- Taken from XMethods(http://www.xmethods.com)
airport.wsdl
AmazonWebServices.wsdl
books.wsdl
Distance.wsdl
freedb.wsdl
globalweather.wsdl
IHaddock.wsdl
ip2geo.wsdl
magic.wsdl
query.wsdl
RateInfo.wsdl
SHA1Encrypt.wsdl
siteInspect.wsdl
TemperatureService.wsdl
usweather.wsdl
rtf2html.xml
SolveSystem.wsdl.xml
zip2geo.wsdl