This doesn't work correctly, but is SOAP::Lite what I want if I want to do an http POST to jboss(8180) of all this XML data?
Not usually.

SOAP::Lite is for communicating via the SOAP protocol. It has two modes major modes: RPC and Document. (Either can be Literal or Encoded.)

You can send chunks of XML to SOAP services written to expect Document/* format, but it's really up to the SOAP service (regarding what it expects).

More likey, you'll be required to do a simple HTTP 'POST' to some HTML form published by the server-side Java.

If not, how would I post the hash'd data stored in $writer to that specific URL address?
However the receiving server process expects it? ;) Seriously, the server-like (being a Java thing) likely has documentation somewhere that you can read to figure out what protocol and content constraints are in place.

-David


In reply to Re: Question with SOAP::Lite by erroneousBollock
in thread Question with SOAP::Lite by hallikpapa

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.