GA release: bump version and reset release to (1).
This commit is contained in:
parent
0654aba6f0
commit
1cfa7567d1
2
README
2
README
|
@ -1200,4 +1200,4 @@ version 0.3.2 (11-7-08):
|
|||
* setlocation() - Override the location in the wsdl; same as keyword except for all calls.
|
||||
* setproxy() - same as proxy keyword but for all invocations.
|
||||
* Add proper namespace prefix for soap headers.
|
||||
* Fixed Tickets: #5, #12, #34, #37, #40, #44, #45, #46, #48, #49, #50
|
||||
* Fixed Tickets: #5, #12, #34, #37, #40, #44, #45, #46, #48, #49, #50, #51
|
|
@ -79,7 +79,7 @@ rm -rf $RPM_BUILD_ROOT
|
|||
setlocation() - Override the location in the wsdl.
|
||||
setproxy() - Same as proxy keyword but for all invocations.
|
||||
- Add proper namespace prefix for soap headers.
|
||||
- Fixed Tickets: #5, #12, #34, #37, #40, #44, #45, #46, #48, #49, #50
|
||||
- Fixed Tickets: #5, #12, #34, #37, #40, #44, #45, #46, #48, #49, #50, #51
|
||||
|
||||
* Fri Nov 03 2008 jortel <jortel@redhat.com> - 0.3.1-5
|
||||
- Add LICENSE to %%doc.
|
||||
|
|
|
@ -29,7 +29,7 @@ import socket
|
|||
# Project properties
|
||||
#
|
||||
|
||||
properties = dict(version='0.3.2', build="beta R385-20081110")
|
||||
properties = dict(version='0.3.2', build="R386-20081111")
|
||||
|
||||
#
|
||||
# Exceptions
|
||||
|
|
|
@ -35,20 +35,32 @@ Import.bind('http://schemas.xmlsoap.org/soap/encoding/')
|
|||
#logging.getLogger('suds.metrics').setLevel(logging.DEBUG)
|
||||
#logging.getLogger('suds').setLevel(logging.DEBUG)
|
||||
|
||||
|
||||
def start(url):
|
||||
global errors
|
||||
print '\n________________________________________________________________\n'
|
||||
print 'Test @ ( %s ) %d' % (url, errors)
|
||||
|
||||
|
||||
try:
|
||||
url = 'http://jira.atlassian.com/rpc/soap/jirasoapservice-v2?wsdl'
|
||||
url = 'http://mssoapinterop.org/asmx/simple.asmx?WSDL'
|
||||
start(url)
|
||||
client = Client(url)
|
||||
print client
|
||||
token = client.service.login('soaptester', 'soaptester')
|
||||
print 'token="%s"' % token
|
||||
user = client.service.getUser(token, 'soaptester')
|
||||
print 'user="%s"' % token
|
||||
# string
|
||||
input = "42"
|
||||
result = client.service.echoString(input)
|
||||
print 'echoString() = %s' % result
|
||||
assert result == input
|
||||
# int
|
||||
input = 42
|
||||
result = client.service.echoInteger(input)
|
||||
print 'echoInteger() = %s' % result
|
||||
assert result == input
|
||||
# float
|
||||
input = 4.2
|
||||
result = client.service.echoFloat(input)
|
||||
print 'echoFloat() = %s' % result
|
||||
assert result == input
|
||||
except WebFault, f:
|
||||
errors += 1
|
||||
print f
|
||||
|
@ -59,11 +71,14 @@ except Exception, e:
|
|||
tb.print_exc()
|
||||
|
||||
try:
|
||||
url = ' http://www.webservicex.net/WeatherForecast.asmx?WSDL '
|
||||
url = 'http://jira.atlassian.com/rpc/soap/jirasoapservice-v2?wsdl'
|
||||
start(url)
|
||||
client = Client(url)
|
||||
print client
|
||||
print client.service.GetWeatherByZipCode('27606')
|
||||
token = client.service.login('soaptester', 'soaptester')
|
||||
print 'token="%s"' % token
|
||||
user = client.service.getUser(token, 'soaptester')
|
||||
print 'user="%s"' % token
|
||||
except WebFault, f:
|
||||
errors += 1
|
||||
print f
|
||||
|
@ -172,21 +187,6 @@ except Exception, e:
|
|||
print e
|
||||
tb.print_exc()
|
||||
|
||||
try:
|
||||
url = 'http://www.services.coxnewsweb.com/COXnetUR/URService?WSDL'
|
||||
start(url)
|
||||
client = Client(url)
|
||||
print client
|
||||
bean = client.service.getUserBean('abc', '123', 'mypassword', 'myusername')
|
||||
except WebFault, f:
|
||||
errors += 1
|
||||
print f
|
||||
print f.fault
|
||||
except Exception, e:
|
||||
errors += 1
|
||||
print e
|
||||
tb.print_exc()
|
||||
|
||||
try:
|
||||
url = 'http://arcweb.esri.com/services/v2/MapImage.wsdl'
|
||||
start(url)
|
||||
|
@ -250,9 +250,6 @@ try:
|
|||
timer.stop()
|
||||
print 'str(client): %s' % timer
|
||||
print 'client:\n%s' % s
|
||||
print 'Account_GetAll()'
|
||||
a = client.service.Account_GetAll()
|
||||
print a
|
||||
except WebFault, f:
|
||||
errors += 1
|
||||
print f
|
||||
|
|
Loading…
Reference in New Issue