Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 30.067.884 Times

wsdl2interface 1.0 Alpha 3

Company: Martin Aspeli
Date Added: June 12, 2013  |  Visits: 209

wsdl2interface

Report Broken Link
Printer Friendly Version


Product Homepage
Download (16 downloads)

wsdl2interface is a Python module that provides a simple script to generate the code for zope.interface style interfaces based on a WSDL file. It relies on suds to perform the conversion.<br /><br />Installation:<br /><br />To install the package, use easy_install, buildout or some other mechanism to install Python eggs, e.g.:<br /><br />easy_install -U wsdl2interface<br /><br />You can also install it as a dependency of another package, e.g. by listing it in that package's setup.py install_requires line.<br /><br />Usage:<br /><br />By default, wsdl2interface` installs a console script of the same name, which you can use to print the generated code to the screen. Pass the URL of a WSDL file (which could be a file:// URL for a local file) as the only argument:<br /><br />wsdl2interface http://www.xignite.com/xIndexComponents.asmx?WSDL<br /><br />The output will look something like this:<br /><br />"""SOAP web services generated from:<br />http://www.xignite.com/xIndexComponents.asmx?WSDL.<br />"""<br /><br />from zope.interface import Interface, Attribute<br /><br />class IArrayOfComponent(Interface):<br /> """SOAP complex type ``{http://www.xignite.com/services/}ArrayOfComponent``<br /> """<br /><br /> Component = Attribute('Type: IComponent[]')<br /><br />class IArrayOfPricedComponent(Interface):<br /> """SOAP complex type<br /> ``{http://www.xignite.com/services/}ArrayOfPricedComponent``<br /> """<br /><br /> PricedComponent = Attribute('Type: IPricedComponent[]')<br /><br />class ICommon(Interface):<br /> """SOAP complex type ``{http://www.xignite.com/services/}Common``<br /> """<br /><br /> Outcome = Attribute('Type: IOutcomeTypes')<br /> Message = Attribute('Type: string')<br /> Identity = Attribute('Type: string')<br /> Delay = Attribute('Type: double')<br /><br />class IComponent(Interface):<br /> """SOAP complex type ``{http://www.xignite.com/services/}Component``<br /> """<br /><br /> Security = Attribute('Type: ISecurity')<br /> Weight = Attribute('Type: double')<br /> AdjustmentFactor = Attribute('Type: double')<br /> IndexComponentWeightType = Attribute('Type: IIndexComponentWeightTypes')<br /><br />class IComponents(Interface):<br /> """SOAP complex type ``{http://www.xignite.com/services/}Components``<br /> """<br /><br /> Outcome = Attribute('Type: IOutcomeTypes')<br /> Message = Attribute('Type: string')<br /> Identity = Attribute('Type: string')<br /> Delay = Attribute('Type: double')<br /> Security = Attribute('Type: ISecurity')<br /> Count = Attribute('Type: int')<br /> Components = Attribute('Type: IArrayOfComponent')<br /><br />class IHeader(Interface):<br /> """SOAP complex type ``{http://www.xignite.com/services/}Header``<br /> """<br /><br /> Username = Attribute('Type: string')<br /> Password = Attribute('Type: string')<br /> Tracer = Attribute('Type: string')<br /><br />class IIdentifierTypes(Interface):<br /> """SOAP enumeration ``{http://www.xignite.com/services/}IdentifierTypes``<br /> """<br /><br /> Symbol = Attribute('Enumeration value')<br /> CIK = Attribute('Enumeration value')<br /> CUSIP = Attribute('Enumeration value')<br /> ISIN = Attribute('Enumeration value')<br /> Valoren = Attribute('Enumeration value')<br /> SEDOL = Attribute('Enumeration value')<br /><br />class IIndexComponentWeightTypes(Interface):<br /> """SOAP enumeration<br /> ``{http://www.xignite.com/services/}IndexComponentWeightTypes``<br /> """<br /><br /> Unknown = Attribute('Enumeration value')<br /> MarketCapitalizationWeighted = Attribute('Enumeration value')<br /> EqualWeighted = Attribute('Enumeration value')<br /> PriceWeighted = Attribute('Enumeration value')<br /> MarketCapitalizationWeightedWithLimits = Attribute('Enumeration value')<br /> OtherWeighting = Attribute('Enumeration value')<br /><br />class IOutcomeTypes(Interface):<br /> """SOAP enumeration ``{http://www.xignite.com/services/}OutcomeTypes``<br /> """<br /><br /> Success = Attribute('Enumeration value')<br /> SystemError = Attribute('Enumeration value')<br /> RequestError = Attribute('Enumeration value')<br /> Registrationerror = Attribute('Enumeration value')<br /><br />class IPricedComponent(Interface):<br /> """SOAP complex type ``{http://www.xignite.com/services/}PricedComponent``<br /> """<br /><br /> Outcome = Attribute('Type: IOutcomeTypes')<br /> Message = Attribute('Type: string')<br /> Identity = Attribute('Type: string')<br /> Delay = Attribute('Type: double')<br /> Symbol = Attribute('Type: string')<br /> Name = Attribute('Type: string')<br /> Exchange = Attribute('Type: string')<br /> CIK = Attribute('Type: string')<br /> Cusip = Attribute('Type: string')<br /> ISIN = Attribute('Type: string')<br /> SEDOL = Attribute('Type: string')<br /> Valoren = Attribute('Type: string')<br /> Sector = Attribute('Type: string')<br /> Class = Attribute('Type: string')<br /> IndustryGroup = Attribute('Type: string')<br /> Industry = Attribute('Type: string')<br /> Country = Attribute('Type: string')<br /> Currency = Attribute('Type: string')<br /> Style = Attribute('Type: string')<br /> Price = Attribute('Type: double')<br /> Weight = Attribute('Type: double')<br /> Value = Attribute('Type: double')<br /> MarketCapitalization = Attribute('Type: double')<br /> AdjustmentFactor = Attribute('Type: double')<br /> IndexComponentWeightType = Attribute('Type: IIndexComponentWeightTypes')<br /><br />class IPricedComponents(Interface):<br /> """SOAP complex type ``{http://www.xignite.com/services/}PricedComponents``<br /> """<br /><br /> Outcome = Attribute('Type: IOutcomeTypes')<br /> Message = Attribute('Type: string')<br /> Identity = Attribute('Type: string')<br /> Delay = Attribute('Type: double')<br /> Security = Attribute('Type: ISecurity')<br /> Count = Attribute('Type: int')<br /> AsOfDate = Attribute('Type: string')<br /> Price = Attribute('Type: double')<br /> Divisor = Attribute('Type: double')<br /> DivisorDate = Attribute('Type: string')<br /> PricedComponents = Attribute('Type: IArrayOfPricedComponent')<br /><br />class ISecurity(Interface):<br /> """SOAP complex type ``{http://www.xignite.com/services/}Security``<br /> """<br /><br /> Outcome = Attribute('Type: IOutcomeTypes')<br /> Message = Attribute('Type: string')<br /> Identity = Attribute('Type: string')<br /> Delay = Attribute('Type: double')<br /> CIK = Attribute('Type: string')<br /> Cusip = Attribute('Type: string')<br /> Symbol = Attribute('Type: string')<br /> ISIN = Attribute('Type: string')<br /> Valoren = Attribute('Type: string')<br /> Name = Attribute('Type: string')<br /> Market = Attribute('Type: string')<br /> CategoryOrIndustry = Attribute('Type: string')<br /><br />class IXigniteIndexComponents(Interface):<br /> """SOAP service ``XigniteIndexComponents`` with target namespace<br /> http://www.xignite.com/services/.<br /> """<br /><br /> def GetIndexComponents(Identifier, IdentifierType):<br /> """Parameters:<br /><br /> ``Identifier`` -- string (optional)<br /> ``IdentifierType`` -- IIdentifierTypes<br /> """<br /><br /> def GetPricedIndexComponents(Identifier, IdentifierType, AsOfDate):<br /> """Parameters:<br /><br /> ``Identifier`` -- string (optional)<br /> ``IdentifierType`` -- IIdentifierTypes<br /> ``AsOfDate`` -- string (optional)<br /> """<br /><br /> def GetPricedIndexComponentsSubset(Identifier, IdentifierType, AsOfDate, StartIndex, EndIndex):<br /> """Parameters:<br /><br /> ``Identifier`` -- string (optional)<br /> ``IdentifierType`` -- IIdentifierTypes<br /> ``AsOfDate`` -- string (optional)<br /> ``StartIndex`` -- int<br /> ``EndIndex`` -- int<br /> """<br /><br />If you want to use the generator from Python, you can do:<br /><br />>>> from suds.client import Client<br />>>> client = Client(wsdlURL)<br /><br />>>> from wsdl2interface import generate<br />>>> generated = generate(client, wsdlURL)<br /><br />Caveats<br /><br />This package is not guaranteed to produce 100% correct code. In most cases, you will need to perform some manual cleanup afterwards. It is also not terribly well tested. Patches welcome!<br /><br />Please note:<br /><br /> * WSDL allows identifiers that are not valid in Python. Thus, you could end up with attributes or method which are not valid Python. The script will convert spaces to underscores, but will not handle things like names starting with a digit.<br /> * WSDL files with multiple service definitions and/or ports will be flattened.<br /> * Complex types and enumerations specifies in the WSDL file will be output first, as individual interfaces.<br /> * The namespace and original type name are both output in the docstring of the generated interface for a complex type or enumeration. However, it is possible that the same name will be output.<br /> * Types in the following namespaces are not output as complex type interfaces, and are referenced as primitives when used in attributes or method arguments:<br /> o http://schemas.xmlsoap.org/soap/encoding/'<br /> o http://schemas.xmlsoap.org/wsdl/<br /> o http://www.w3.org/2001/XMLSchema<br /><br />#md5=6a871e51a6282b6dbbd25be82f4e81d2

Requirements: No special requirements
Platforms: *nix, Linux
Keyword: Asofdate Attribute Enumeration Attribute Type Complex Delay Double Enumeration Identifiertype Identity Ioutcometypes Message Optional Outcome Output Python Quotquotquot Quotquotquotsoap String Value039
Users rating: 0/10

License: Freeware Size: 10.24 KB
WSDL2INTERFACE RELATED
Business  -  SALON MAID 2.315
POINT OF SALE MANAGE APPOINTMENTS / SCHEDULING GRAPHICAL (GANT-CHART TYPE) APPOINTMENT BOOK DOUBLE BOOKING/MULTI BOOKING AVAILABLE WALK-IN / WAITING LIST CUSTOMER'S BIRTHDAY REMINDER MULTIPLE SALES TAXES OPTIONS SUPPORTS MULTIPLE SALES TAX SYSTEMS...
7.74 MB  
Programming  -  JUnit Generator 1.0
JUnit Generator can automatically generate junit test cases for a specific class or method of Java; Fully supports the characteristics of object-oriented like generic type, complex class type generation etc.
4.58 MB  
Mail Clients  -  NK2Edit x64 1.96
Every time that you type an email address or name in the message window of MS-Outlook, it automatically offer you a list of users and email address that you can choose. This feature is known as 'AutoComplete' and Outlook automatically build this...
 
Mail Clients  -  Portable NK2Edit 1.96
Every time that you type an email address or name in the message window of MS-Outlook, it automatically offer you a list of users and email address that you can choose. This feature is known as 'AutoComplete' and Outlook automatically build this...
 
Modules  -  latexgen 1.0
You will then get a "download PDF" link at the bottom of pages of that type, and latex will be run, using your code, and the output sent to your browser.The whole concept behind the module is that the latex code gets evaluated by...
 
Mail Clients  -  NK2Edit 1.70
Every time that you type an email address or name in the message window of MS-Outlook, it automatically offer you a list of users and email address that you can choose. This feature is known as 'AutoComplete' and Outlook automatically build this...
 
Social Networking  -  9,999 Ringtones Uncensored MALE Voices Ringtone Creator 13.2
Create 100% unique UNCENSORED Talking Caller ID ringtones for every contact! You type, it talks! PLUS combine Intro Sound FX! Type several lines of text to create any message you want! iPhone users can use ringtones as alarm clock alerts so you...
27.2 MB  
Photo & Video  -  Baby Camera Free - Birth Announcement and Thank You Cards 1.1.1
Create beautiful birth announcement or thank you cards in a few seconds. Choose your favorite theme type in babys name birthday, and a short message, as you like. Take you photo and voila, your card is ready. Photos will...
9.5 MB  
Utilities  -  QuickieText 1.1
A free app that saves you a ton of time. Never type out the same redundant iMessage or text message telling your friends you are running late or Im busy again. This application allows for the immediate recall and sending of stored message...
204.8 KB  
Modules  -  OpenID Attribute Exchange Implementation 6.x-1.2-alpha3
OpenID Attribute Exchange is an extension for OpenID service which allows the transfer of various user related details/information/attributes between the relying party and the identity provider. There are two primary operations that can be done...
10 KB  
NEW DOWNLOADS IN LINUX SOFTWARE, NETWORK & INTERNET
Linux Software  -  Polling Autodialer Software 3.4
ICTBroadcast Auto Dialer software has a survey campaign for telephone surveys and polls. This auto dialer software automatically dials a list of numbers and asks them a set of questions that they can respond to, by using their telephone keypad....
488 B  
Linux Software  -  Total Video Converter Mac Free 3.5.5
Total Video Converter Mac Free developed by EffectMatrix Ltd is the official legal version of Total Video Converter which was a globally recognized brand since 2006. Total Video Converter Mac Free is a free but powerful all-in-one video...
17.7 MB  
Linux Software  -  Skeith mod_log_sql Analyzer 2.10beta2
Skeith is a php based front end for analyzing logs for Apache using mod_log_sql.
47.5 KB  
Linux Software  -  SLAX 6.0+
Slax is a modern, portable, small and fast Linux operating system with a modular approach and outstanding design. Despite its small size, Slax provides a wide collection of pre-installed software for daily use, including a well organized graphical...
190 KB  
Linux Software  -  GTK+ 2.5
GTK+, which stands for the GIMP Toolkit, is a library for creating graphical user interfaces for the X Window System. It is designed to be small, efficient, and flexible. GTK+ is written in C with a very object-oriented approach. Language bindings...
60 MB  
Network & Internet  -  Free WiFi Hotspot 3.3.1
Free WiFi Hotspot is a super easy solution to turn your laptop or notebook into a portable Wi-Fi hotspot, wirelessly sharing your internet connections like DSL, Cable, Bluetooth, Mobile Broadband Card, Dial-Up, etc. through the built-in wireless...
1.04 MB  
Network & Internet  -  Easy Uploads 1.8
Easy uploads is a file storage media streaming application designed by Filestreamers that allows you to upload, store, and stream your files from their virtually unlimited file storage server. Easy Uploads can backup,share, and stream your files...
615.97 KB  
Network & Internet  -  IPv6 CARE 3.2b
IPv6 CARE, "IPv6 Compliant Automatic Runtime Environment", is a Linux tool able to patch ipv6-agnostic programs on-the-fly ('patch' mode). It can also generate a diagnosis about the IPv6 compliance of an application ('check' mode).
409.6 KB  
Network & Internet  -  PacketFence ZEN 3.1.0
PacketFence is a fully supported, trusted, Free and Open Source network access control (NAC) system. Boosting an impressive feature set including a captive-portal for registration and remediation, centralized wired and wireless management, 802.1X...
1024 MB  
Network & Internet  -  django-dbstorage 1.3
A Django file storage backend for files in the database.
10.24 KB