home *** CD-ROM | disk | FTP | other *** search
- # Source Generated with Decompyle++
- # File: in.pyo (Python 2.6)
-
- from SpaceService_types import *
- import urlparse
- import types
- from ZSI.TCcompound import ComplexType, Struct
- from ZSI import client
- from ZSI.schema import GED, GTD
- import ZSI
- import util.callbacks as callbacks
- import util.network.soap as soap
- import ZSI.wstools.Namespaces as NS
- from msn.SOAP import Namespaces as MSNS, MSNBindingSOAP
-
- class SpaceServiceLocator:
- GetXmlFeedPort_address = 'http://cc.services.spaces.live.com/contactcard/contactcardservice.asmx'
-
- def getGetXmlFeedPortAddress(self):
- return SpaceServiceLocator.GetXmlFeedPort_address
-
-
- def getGetXmlFeedPort(self, url = None, **kw):
- if not url:
- pass
- return SpaceServiceBindingSOAP(SpaceServiceLocator.GetXmlFeedPort_address, **kw)
-
-
-
- class SpaceServiceBindingSOAP(MSNBindingSOAP):
-
- def GetXmlFeed(self, request, soapheaders = (), callback = None, **kw):
- if isinstance(request, GetXmlFeedMessage) is False:
- raise TypeError, '%s incorrect request type' % request.__class__
- isinstance(request, GetXmlFeedMessage) is False
- self.binding.RPC(None, None, request, soapaction = 'http://www.msn.com/webservices/spaces/v1/GetXmlFeed', soapheaders = soapheaders, callback = callback, **kw)
-
- GetXmlFeed = callbacks.callsback(GetXmlFeed)
-
- GetXmlFeedMessage = GED(MSNS.MSWS.SPACES, 'GetXmlFeed').pyclass
- GetXmlFeedResponseMessage = GED(MSNS.MSWS.SPACES, 'GetXmlFeedResponse').pyclass
-