Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- processing XML posts through a web server
February 21, 2009, 2:16 pm
rate this thread
directional XML coming in via an http post, using an IIS webserver.. I
know CPAN has XML modules, etc. but how does this process work - ie a
file is posted to the webserver and saved to a directory where perl
then parses it ?? How do you use perl to post a response back through
IIS ? Basic to some but not me, any thoughts would help.
Re: processing XML posts through a web server
The best way to do anything is with whatever tools you personally are
familiar with, or inclined to learn, that will do the job. For these
reasons I try to avoid asking "what is the best ...".
This sounds like SOAP. Is it?
I've not used Perl with IIS. Best ask in an IIS forum. I've no doubt IIS
can be persuaded to run Perl CGI scripts. I wouldn't expect IIS to do
this efficiently since I imagine IIS developers regard CGI as a legacy
architecture to be deprecated.
Indeed. See also SOAP::Lite.
With SOAP, your client is basically calling methods
(procedures/functions/subroutines) defined in a Perl module on the
server. To the software developer it is very much like normal subroutine
SOAP can be used for a form of RPC where the parameters and return
values are converted to XML for transmission (this is called
serialization or marshalling) - but the application programmer usually
doesn't have to deal with XML.
Have you read some Perl CGI documentation or tutorials?
Have you read `perldoc CGI`?
- » FAQ 7.26 How can I find out my current or calling package?
- — Next thread in » PERL Discussions
- » FAQ 7.18 How can I access a dynamic variable while a similarly named lexical is in scope?
- — Previous thread in » PERL Discussions