Questions tagged [soaplib]

Python SOAP library.

This is a simple, easily extendible soap library that provides several useful tools for creating and publishing soap web services in python. This package features on-demand wsdl generation for the published services, a wsgi-compliant web application, support for complex class structures, binary attachments, simple framework for creating additional serialization mechanisms and a client library.

This prokect now uses lxml as it's XML API, providing full namespace support.

32 questions
5
votes
2 answers

Django - WebService with soaplib xml characters or ampersand scaping?

Well this is my fisrt Question here so I’ll try to do it the best I can. I am trying to implement a WebService server in Python 2.6 and Django 1.4 with Soaplib 2.0. The Webservice is working and Django is serving it ok in the Django development…
Javier Vieira
  • 2,100
  • 20
  • 23
3
votes
1 answer

Generate python soaplib code based on WSDL and XSD files

I've WSDL, and XSD files and want to generate a soaplib python stubs code based on WSDL, XSD files is there a tool or a way to do that?
3
votes
0 answers

How to do authentication with soaplib?

when using soaplib to writing API, I want to do authentication before client can do any operation. But I can't find any authentication info on the soaplib doc. Please help!
Beyonder
  • 1,425
  • 3
  • 11
  • 8
3
votes
1 answer

soaplib with mod_wsgi without django, cherypy or other framework

I checked soaplib for python on net and i get the example import soaplib from soaplib.core.service import rpc, DefinitionBase from soaplib.core.model.primitive import String, Integer from soaplib.core.server import wsgi from…
Nilesh
  • 20,521
  • 16
  • 92
  • 148
2
votes
1 answer

Python soaplib and Django

I'm trying to develop a SOAP Web Service in Django 1.5.2 with Python 2.7.3 and soaplib 0.8.1. Everything works fine at the moment, but now i need to add namespace to @soapmethod response. This is my view: from sms.soaplib_handler import…
kl4us
  • 21
  • 3
1
vote
0 answers

How to get the progress of soaplib exposed function?

I'm using soaplib as wsgi application and suds as soap client, My Question is when client is requesting to execute RPC I want to keep the function in background and server should return some unique id from which client may call a process like…
shahjapan
  • 13,637
  • 22
  • 74
  • 104
1
vote
2 answers

An issue with the soaplib hello world program

I am trying to get this server to run however I keep getting an error: server: import soaplib from soaplib.core.service import rpc, DefinitionBase from soaplib.core.model.primitive import String, Integer from soaplib.core.server import wsgi from…
John
  • 13,197
  • 7
  • 51
  • 101
1
vote
3 answers

Wrong (?) datatype generated with soaplib

I'm having a problem with soaplib. I've the following function provided by a web service : @soap(Integer, Integer, _returns=Integer) def test(self, n1, n2): return n1 + n2 The corresponding declaration for the datatypes in the generated WSDL…
Sun Wukong
  • 154
  • 10
1
vote
0 answers

How to get environ in sub class of DefineBase of soaplib module?

I am working with WSGI with mod_wsgi module. I was check some example on that and i get environ, start_response in each wsgi request. Now I write one example from url http://soaplib.github.com/soaplib/2_0/pages/usermanager.html. I override…
shahjapan
  • 13,637
  • 22
  • 74
  • 104
1
vote
0 answers

soaplib2.0.0beta + django and 1C connect error

I have task get up soap service in Django (for receive data from commerce software) Have been installed soaplib2.0.0beta and made layer from soap to django (use Django Snippets) Created some soap-methods and data types. Everything works with suds…
Aler Zampi
  • 11
  • 2
1
vote
1 answer

how to get request HTTP headers in soaplib views file?

i have soaplib for webservice as soap [server], all request route and response as xml by url well.but i can't fetch request http headers, How can i get request HTTP headers for rendering view some method of class ? like this method : def…
evergreen
  • 7,771
  • 2
  • 17
  • 25
1
vote
1 answer

Having issues using python webservice in c#

I have written a python webservice using saoplib my python web service code : import soaplib from soaplib.core.service import rpc, DefinitionBase,soap from soaplib.core.model.primitive import String, Integer from soaplib.core.server import…
Saeed Ghareh Daghi
  • 1,164
  • 1
  • 13
  • 21
1
vote
2 answers

spyne - use default parameters in services definitions

I'm using Spyne and it works well. I'd like to be able to use default values for my optional parameters. As I understand, each type can be use on its Mandatory form or not: am I right? Here is my service: from spyne.model.primitive import Unicode,…
Julien Greard
  • 969
  • 1
  • 12
  • 32
1
vote
1 answer

python django soaplib response with classmodel issue

I run a soap server in django. Is it possible to create a soap method that returns a soaplib classmodel instance without <{method name}Response><{method name}Result> tags? For example, here is a part of my soap server code: # -*- coding: cp1254…
u.unver34
  • 133
  • 1
  • 3
  • 11
1
vote
1 answer

QuickBooks Webconnector Error - Django Soap Web Service - Actual error received from web service for serverVersion call

I have written a SOAP Web service in django and i have installed the following components soaplib-0.8.1 in my system Quickbooks Pro QBWC version 2.1.0.30 - Intuit When i try to add an application(.qwc file) to QBWC(Quick Books Web Connector), it…
Anil Kumar
  • 11
  • 4
1
2 3