Skip to main content

Soap Proxy Module to get data from SOAP Services

Project description

SOAP-as-REST Server

This is a "proxy" to SOAP protocol using REST.

Installing

$ pip3 install soap-as-rest-server

Using as module

$ CONFIG_FILE=src/config.yml TEMPLATE_FILE=src/template.xml python3 -m soap-as-rest-server

Importing and using

#!/usr/bin/env python3

import os
from os import path
from soap_as_rest_server import start

base_dir = 'src'
os.environ['CONFIG_FILE'] = path.join(base_dir, 'config.yml')
os.environ['TEMPLATE_FILE'] = path.join(base_dir, 'template.xml')

os.environ['SERVER_PORT'] = '8080'
os.environ['SERVER_ENDPOINT'] = '/soap-proxy/'

start()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

soap-as-rest-server-0.0.2.tar.gz (7.7 kB view details)

Uploaded Source

File details

Details for the file soap-as-rest-server-0.0.2.tar.gz.

File metadata

  • Download URL: soap-as-rest-server-0.0.2.tar.gz
  • Upload date:
  • Size: 7.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.6.9

File hashes

Hashes for soap-as-rest-server-0.0.2.tar.gz
Algorithm Hash digest
SHA256 93cbecf30cb7120df95fa2f5da14df258c5638d3649d19ea574f6f9cd56b2c16
MD5 843253786dcec607bde525b227e934c2
BLAKE2b-256 df76a75b0c784ac444ca64a29225ff40467fe640984718af45a7b8265acc7e5b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page