example for mandatory uuid error.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import suds | |
| client = suds.client.Client("http://127.0.0.1:8080/?wsdl", cache=None) | |
| result = client.service.test(6000.0) | |
| print result |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from suds.client import Client | |
| url = 'http://localhost:7789/?wsdl' | |
| company = '2CA' | |
| store = 1 | |
| password = '1234' | |
| client = Client(url) | |
| client.service.GetTicketList( 'company_name', 1, '1234' ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| qooxdoo | |
| demobrowser | |
| source/script | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Client's consol: | |
| ================================================================================ | |
| SENT: | |
| <?xml version="1.0" encoding="UTF-8"?> | |
| No handlers could be found for logger "suds.umx.typed" | |
| <SOAP-ENV:Envelope xmlns:ns0="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="spyne.test" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"> | |
| <SOAP-ENV:Header/> | |
| <ns0:Body> | |
| <ns1:testMethod> | |
| <ns1:req> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| import datetime | |
| from suds.client import Client | |
| client = Client("http://localhost:9753/?wsdl") | |
| data = client.factory.create("{AAA}PhysicalPersonDataRequest") | |
| data.birthDate = datetime.date(1985,12,11) | |
| print client.service.test(data) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # This file is one copy from https://github.com/arskom/spyne/blob/master/examples/authentication/server_soap.py | |
| import sys | |
| import random | |
| import logging | |
| from spyne.model.complex import ComplexModel | |
| from spyne.model.fault import Fault | |
| from spyne.decorator import srpc | |
| from spyne.error import ArgumentError | |
| from spyne.protocol.soap import Soap11 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| from suds.client import Client | |
| client = Client("http://localhost:9753/?wsdl") | |
| print client.service.TestService("x") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="UTF-8"?> | |
| <wsdl:definitions | |
| xmlns="http://schemas.xmlsoap.org/wsdl/" | |
| xmlns:calc="http://www.example.com/wsdl/calc/v1.0" | |
| xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" | |
| xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" | |
| xmlns:xsd="http://www.w3.org/2001/XMLSchema" | |
| targetNamespace="http://www.example.com/wsdl/calc/v1.0" | |
| name="CalcWebService"> | |
| <wsdl:types> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| from lxml import etree | |
| from rpclib.model.primitive import AnyXml | |
| from rpclib.model.complex import ComplexModel | |
| from rpclib.const import xml_ns as ns | |
| from rpclib.util.xml import get_schema_documents | |
| class SomeType(ComplexModel): |