SOAPSH(1)

🫧 SOAPSH(1) 🫧

okay so bestie, this is a User Contributed Perl Documentation page, and it's literally about SOAPsh.pl β€” an interactive shell for SOAP calls. yes. a shell. for SOAP calls. you're gonna love her πŸ’…


✨ NAME ✨

SOAPsh.pl β€” the interactive shell for SOAP calls, no cap πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

okay so here's the vibe, literally just run it like this:

perl SOAPsh.pl http://services.soaplite.com/examples.cgi http://www.soaplite.com/My/Examples
> getStateName(2)
> getStateNames(1,2,3,7)
> getStateList([1,9])
> getStateStruct({a=>1, b=>24})
> Ctrl-D (Ctrl-Z on Windows)

or, the other way πŸ“:

# all parameters after uri will be executed as methods
perl SOAPsh.pl http://soap.4s4c.com/ssss4c/soap.asp http://simon.fell.com/calc doubler([10,20,30])
> Ctrl-D (Ctrl-Z on Windows)

and yes, you bail out with Ctrl+D (Ctrl+Z if you're on Windows, iykyk) 🫢


πŸ”₯ DESCRIPTION πŸ”₯

SOAPsh.pl is a shell for making SOAP calls. she's not complicated, she just works ✨

She takes two parameters: the mandatory endpoint and the optional uri β€” and honestly, if you forget them she will absolutely tell you about it if you try to run it. no silent suffering. she's gonna say something πŸ™ˆ

Additional commands can follow, though β€” that's the fun part.

After that you'll be able to run any methods of SOAP::Lite, like autotype, readable, encoding, etc. β€” same way you do it in your Perl script, no extra crumbs required. You'll see the output from the method, the result of the SOAP call, detailed info on SOAP failure, or a transport error. so like, either way you're getting feedback, bestie πŸ’–

For the full list of available methods, go see the documentation for SOAP::Lite (she's the main character of this whole situation, fr fr πŸ‘‘).

Along with the methods of SOAP::Lite, you'll be able β€” and that's much more interesting, highkey β€” to run any SOAP methods you know about on the remote server and see the processed results. slay 🌈

You can even switch on debugging, with a call something like:

on_debug(sub{print@_})

and then you get to see the SOAP code with the headers sent and received. it's giving backstage pass 🎟️✨


Copyright (C) 2000 Paul Kulchenko. All rights reserved. 🫑 periodt.


πŸ’œ AUTHOR πŸ’œ

Paul Kulchenko (paulclinger@yahoo.com) β€” icon, legend, the moment πŸ’…


ngl bestie, the manpage itself was written by perl v5.42.0 on 2024-03-04 β€” that's the source/version and date, and also like… the timestamp on the whole vibe 🌸 bye, love you, go make some SOAP calls πŸ’–
πŸ“¦ where this page comes from