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 hashes)

Uploaded Source

Supported by

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