Commits

Anonymous committed eb924ec

GA release: bump version and reset release to (1).

  • Participants
  • Parent commits e7b89a3
  • Tags release-0.3.2

Comments (0)

Files changed (4)

           * 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

File python-suds.spec

     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.

File suds/__init__.py

 # Project properties
 #
 
-properties = dict(version='0.3.2', build="beta R385-20081110")
+properties = dict(version='0.3.2', build="R386-20081111")
 
 #
 # Exceptions

File tests/public.py

 #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://mssoapinterop.org/asmx/simple.asmx?WSDL'
+    start(url)
+    client = Client(url)
+    print client
+    # 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
+    print f.fault
+except Exception, e: 
+    errors += 1
+    print e
+    tb.print_exc()
     
 try:
     url = 'http://jira.atlassian.com/rpc/soap/jirasoapservice-v2?wsdl'
     tb.print_exc()
     
 try:
-    url = ' http://www.webservicex.net/WeatherForecast.asmx?WSDL '
-    start(url)
-    client = Client(url)
-    print client
-    print client.service.GetWeatherByZipCode('27606')
-except WebFault, f:
-    errors += 1
-    print f
-    print f.fault
-except Exception, e: 
-    errors += 1
-    print e
-    tb.print_exc()
-    
-try:
     url = ' http://www.boyzoid.com/comp/randomQuote.cfc?wsdl '
     start(url)
     client = Client(url)
     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)
     client = Client(url)
     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