suds.client.client

  
Did I find the right examples for you? yes no

All Samples(330)  |  Call(208)  |  Derive(7)  |  Import(115)
A lightweight web services client.
I{(2nd generation)} API.
@ivar wsdl: The WSDL object.
@type wsdl:L{Definitions}
@ivar service: The service proxy used to invoke operations.
@type service: L{Service}
@ivar factory: The factory used to create objects.
@type factory: L{Factory}
@ivar sd: The service definition
@type sd: L{ServiceDefinition}(more...)

src/p/y/pycontrol-2.1/pycontrol/pycontrol.py   pycontrol(Download)
42
43
44
45
46
from urllib import pathname2url
import platform
from suds.client import Client
from suds.xsd.doctor import Import, ImportDoctor
from suds.cache import ObjectCache
185
186
187
188
189
    # We're file:// access, so don't use https transport.
    t = HttpAuthenticated(username = self.username, password = self.password)
    c = Client(url, transport=t, doctor=DOCTOR,**kw)
else:
    c = Client(url, username=self.username,

src/w/s/WSME-0.5b1/examples/demo/client.py   WSME(Download)
1
2
3
4
5
from suds.client import Client
  
  
client = Client(url, cache=None)

src/x/m/xmla-0.7.1/olap/xmla/connection.py   xmla(Download)
5
6
7
8
9
'''
from olap.xmla.interfaces import XMLAException
from suds.client import Client
from suds import WebFault
import http
81
82
83
84
85
                                       password=password,
                                       sslverify=sslverify)
self.client = Client(url,
                     location=location,
                     transport=transport,

src/b/b/BBLearnWS-HEAD/demo.py   BBLearnWS(Download)
9
10
11
12
13
# Requires Suds 0.4 for plugin support
from suds.client    import Client
from suds.plugin    import MessagePlugin
from suds.wsse      import Timestamp, UsernameToken, Security
33
34
35
36
37
  
client = Client(
    WS_BASE_URL + 'Context.WS?wsdl',
    location = WS_BASE_URL + 'Context.WS', # Learn 9.1 WSDL misreports service endpoints so set it manually
    autoblend = True, # Learn 9.1 WSDLs use nested imports

src/r/a/raptor-2.10.3/raptor/balancer/stingray.py   raptor(Download)
51
52
53
54
55
wsdl = os.path.join(here, 'stingray_pool.wsdl')
self.client = suds.client.Client(
    'file:' + wsdl,
    username=config['USER'], password=config['PASSWORD'],
    location=self.url, plugins=[doctor, FixArrayPlugin()])

src/c/l/cloud-scheduler-1.3.1/cloudscheduler/job_management.py   cloud-scheduler(Download)
44
45
46
47
48
    sys.exit(1)
try:
    from suds.client import Client
except:
426
427
428
429
430
_schedd_wsdl  = "file://" + determine_path() \
                + "/wsdl/condorSchedd.wsdl"
self.condor_schedd = Client(_schedd_wsdl,
                            location=config.condor_webservice_url)
self.condor_schedd_as_xml = Client(_schedd_wsdl,

src/c/l/cloud-scheduler-1.3.1/cloudscheduler/cloud_management.py   cloud-scheduler(Download)
28
29
30
31
32
import ConfigParser
  
from suds.client import Client
from urllib2 import URLError
from decimal import *
98
99
100
101
102
  
        self.condor_collector = Client(_collector_wsdl, cache=None, location=config.condor_collector_url)
        self.condor_collector_as_xml = Client(_collector_wsdl, cache=None,
                                              location=config.condor_collector_url, retxml=True)

src/w/i/wille-2.3/exampleproject/services/weather/weather.py   wille(Download)
24
25
26
27
28
  
        # Get a day weather report
        from suds.client import Client
        client = Client(forecast_wsdl_url)

src/p/y/pyramid_soap-0.2/pyramid_soap/examples/client.py   pyramid_soap(Download)
1
2
3
4
5
from suds.client import Client
  
client = Client(url)
print client

src/d/j/django-merchant-0.0.8a0/billing/gateways/paylane_gateway.py   django-merchant(Download)
4
5
6
7
8
import datetime
  
from suds.client import Client
from suds.cache import ObjectCache
from django.conf import settings
37
38
39
40
41
        password = paylane_settings.get('PASSWORD', '')
  
        self.client = Client(wsdl, username=username, password=password, cache=ObjectCache(location=wsdl_cache, days=15))
  
    def _validate(self, card):

  1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9  Next
posted @ 2014-02-19 22:35  elephantofafric  阅读(1463)  评论(0)    收藏  举报