I don't think this is a file upload. The vendor is going to "transmit the XML in some way" to port 443 on averylongloginname's server. Without knowing exaxtly how the vendor does this, makes it difficult to know what the answer is. i.e.:

1. Is the vendor doing a POST or GET to the URL provided?
2. Is the vendor opening a connection to port 443 and sending a stream of data (XML)

if (1), then what is the field name which will hold the XML. What other fieldnames are there that might be necessary?
if (2), will there be any headers\footers that need to be stripped off?

I suggest:
if (1) - then use the CGI module to capture the XML from the query_string or posted data and shove it in a variable to be parsed by your preferred method.
if (2) - then I'd suggest something like IO::Socket or HTTP::Daemon to "act" as a web server. I.e. listen on port 443 and wait for connections. See Listening on an HTTP port for some samples. But obviously this is made more difficult because you need to be able to deal with the SSL encoded data on your side.

averylongloginname, can you give some more specific details about how the XML is being sent? You can post it here, if you start another node then it will get confusing for everyone! =)

$code or die
Using perl at
The Spiders Web

In reply to Re: Re: xml response by $code or die
in thread xml response by averylongloginname

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.