Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Soap json program
#1
Any one has python program to trigger soap and json call based on parameter. SSL n non SSL CALLS. pls share. Thanks
Reply
#2
They're just http calls, so you can use any http library you like. requests is quite nice.
Reply
#3
hi Nilamo, thanks for the information, i was actually looking for a code which has request passed as parameter and response generated in file, i couldnt find after googling it. if you have any pls share. Pray

example.... or something similar... Big Grin small change i can do to fit my requirement.
soap_prog.py <endpoint> <soapaction> /tmp/envlope_file
json_prog.py <endpoint> /tmp/headerinfo.txt
Reply
#4
I'm not sure you can do something that generic, as every soap/json service will have a different api.
Reply
#5
Hi Nilamo, i will use regex to parse requied API. Currently i have a java code that does this. I have URL, URI, OPERATION, PAYLOAD etc in DB..I run java prog in iteration and execute each test. I hope u got it.
Reply
#6
If you already have it working in java, why do you need it in python?
Also, we're not going to do it for you. What we WILL do, is help you if you have any issues along the way.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Zeep lib, encrypt soap body miha1234 0 2,853 Sep-12-2019, 07:52 AM
Last Post: miha1234
  Parsing Soap XML response grootkarzijn 7 15,603 Jun-14-2019, 01:30 AM
Last Post: snippsat
  SOAP based webservice invoke mehrdadabedi 1 2,354 Mar-10-2019, 06:04 PM
Last Post: mlieqo
  How to retrieve and save attachments returned by SOAP web service ashwsrin 0 2,625 Feb-20-2019, 07:12 AM
Last Post: ashwsrin
  SOAP/XML input Help duguarun 0 2,491 Jun-08-2018, 10:20 AM
Last Post: duguarun
  extracting data from XML/SOAP hey_arnold 4 4,793 May-07-2018, 09:23 AM
Last Post: hey_arnold

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020