Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^2: Perl SOAP Web Service to Accept File Uploads

by sumeetgrover (Monk)
on Mar 27, 2019 at 16:20 UTC ( #1231752=note: print w/replies, xml ) Need Help??


in reply to Re: Perl SOAP Web Service to Accept File Uploads
in thread Perl SOAP Web Service to Accept File Uploads

Hi thanos1983,

One more question for you: By looking at "Quick Start with SOAP" web page link you sent me, it would appear that the SOAP Server script (CGI script in this instance) would need to run on a web server? (e.g. on Apache)

So that the Client script could call, for example, http://localhost/SOAPServer.cgi? My question is: Does running a SOAP Service require an HTTP Web Server to run as well? (Please excuse my ignorance.)

  • Comment on Re^2: Perl SOAP Web Service to Accept File Uploads

Replies are listed 'Best First'.
Re^3: Perl SOAP Web Service to Accept File Uploads
by roboticus (Chancellor) on Mar 27, 2019 at 17:48 UTC

    sumeetgrover:

    You'll have to have *something* that acts as a webserver, but it doesn't have to be a full-featured web server like Apache or Nginx. You could use Plack or HTTP::Server::Simple or you could even roll your own. It just has to serve up a network connection and be able to direct the incoming request to your SOAP handler subroutine.

    ...roboticus

    When your only tool is a hammer, all problems look like your thumb.

Re^3: Perl SOAP Web Service to Accept File Uploads
by thanos1983 (Parson) on Mar 28, 2019 at 08:53 UTC

    Hello again sumeetgrover,

    Fellow Monk roboticus answered your question, but just to add something minor that maybe you find it useful. I used to work with SOAP/REST requests to my DB (MySQL) and for testing purposes I always had a webserver running for multiple reasons. For me handling the DB through the GUI (phpMyAdmin) made my life much easier for testing and DB modifications. Secondary reason was to test SOAP/REST and to be honest usually I was combining it with GUI again for the same reasons.

    The tool that I found really easy to install and configure to include all these together was LAMP (LinuxOS) and WAMP (WindowsOS).

    Hope this helps you with your task as it did for me. :)

    P.S.: (Please excuse my ignorance.) You are just starting with this area, never stop asking questions! You will never know the answer to a question until you will understand it and experiment (hands on) information. Do not worry about the questions keep shooting and simultaneously start coding/experimenting. Soon you will be up and running. :)

    BR / Thanos

    Seeking for Perl wisdom...on the process of learning...not there...yet!
      Thanks for your feedback! I look forward to experimenting with some new piece of code. :)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1231752]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2020-07-04 14:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?