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

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

Serving Software Downloads in 956 Categories, Downloaded 49.598.415 Times

wsdl2interface 1.0 Alpha 3

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

wsdl2interface

Report Broken Link
Printer Friendly Version


Product Homepage
Download (40 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
USER REVIEWS
More Reviews or Write Review


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...
 
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  
Libraries  -  XML::DOM::Attr 1.44
XML::DOM::Attr is an XML attribute in XML::DOM. XML::DOM::Attr extends XML::DOM::Node. The Attr nodes built by the XML::DOM::Parser always have one child node which is a Text node containing the expanded string value (i.e. EntityReferences are...
112.64 KB  
Programming  -  Net::SDP 0.07
Net::SDP is an SDP (Session Description Protocol) parser and generator. Net::SDP is object oriented and a single instance of Net::SDP represents a single SDP session description. There are methods to easily get, set and create each of the fields...
20.48 KB  
Code Management Tools  -  doublecpp 0.6.1
Doublecpp project is a preprocessor for C++ that handles a new linguistic construct for defining branches of a multi-method. The "right branch of such a method will be selected dynamically at run-time according to the actual type of the object...
542.72 KB  
NEW DOWNLOADS IN LINUX SOFTWARE, NETWORK & INTERNET
Linux Software  -  EasyEDA PCB Designer for Linux 2.0.0
EasyEDA, a great web based EDA(Electronics Design Automation) tool, online PCB tool, online PCB software for electronics engineers, educators, students, makers and enthusiasts. Theres no need to install any software. Just open EasyEDA in any...
34.4 MB  
Linux Software  -  wpCache® WordPress HTTP Cache 1.9
wpCache® is a high-performance, distributed object, caching system application, generic in nature, but intended for use in speeding up dynamic web applications, by decreasing database load time. wpCache® decreases dramatically the page...
3.51 MB  
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  
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  -  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  
Network & Internet  -  SQL Inject Me 0.4.5
SQL Inject Me is a Firefox extension used to test for SQL Injection vulnerabilities. The tool works by submitting your HTML forms and substituting the form value with strings that are representative of an SQL Injection attack.
133.12 KB