It seems to work fine, but maybe I'd get different results with a WSDL.

perl soap-data-swallow2.pl |xml_pp

#!/usr/bin/perl -- use strict; use warnings; use SOAP::Lite; use SOAP::Lite 0.65 +trace => 'debug'; my $soap = SOAP::Lite ->proxy( 'http://localhost/blah/DummyService' ); print $soap->serializer()->envelope( method => 'submitToRemedyForm', SOAP::Data->name(String_1 => 'login'), SOAP::Data->name(String_2 => 'password'), SOAP::Data->name(String_3 => 'form'), SOAP::Data->name(String_4 => 'xxxxxxx'), ); __END__ <?xml version="1.0" encoding="UTF-8"?> <soap:Envelope soap:encodingStyle="http://schemas.xmlsoap.org/soap/enc +oding/" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns: +soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http:/ +/www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSche +ma-instance"> <soap:Body> <submitToRemedyForm> <String_1 xsi:type="xsd:string">login</String_1> <String_2 xsi:type="xsd:string">password</String_2> <String_3 xsi:type="xsd:string">form</String_3> <String_4 xsi:type="xsd:string">xxxxxxx</String_4> </submitToRemedyForm> </soap:Body> </soap:Envelope>
SOAP::Lite 0.710.08

In reply to Re: Confusing results from Soap Lite by Anonymous Monk
in thread Confusing results from Soap Lite by Dale1990

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.