Any ideas how to trace this double InvoiceNumber getting opened and closed around the actual passed in data?

You already traced it, you're done, methodname is method name

Why do you think this is broken xml?

#!/usr/bin/perl -- use strict; use warnings; use SOAP::Lite; my $soap = SOAP::Lite -> uri('http://127.0.0.1/MyModule') -> proxy('http://127.0.0.1:1203') ;;;;;;;;; $soap->readable(1); $soap->transport->add_handler("request_send", sub { print $_[0]->as_s +tring,"\n"; return } ); #~ $soap->transport->add_handler("request_done", sub { print $_[0]->a +s_string,"\n"; return } ); my $da = SOAP::Data->new(name => 'UserName', type => 'xsd:string', att +r => {}); eval { $soap->call( EmailInvoice => $da ); 1 } or warn $@; eval { $soap->call( YouFoundIt => $da ); 1 } or warn $@; __END__ POST http://127.0.0.1:1203 HTTP/1.1 Accept: text/xml Accept: multipart/* Accept: application/soap User-Agent: SOAP::Lite/Perl/1.11 Content-Length: 499 Content-Type: text/xml; charset=utf-8 SOAPAction: "http://127.0.0.1/MyModule#EmailInvoice" <?xml version="1.0" encoding="UTF-8"?> <soap:Envelope soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" 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/XMLSchema-instance"> <soap:Body> <EmailInvoice xmlns="http://127.0.0.1/MyModule"> <UserName /> </EmailInvoice> </soap:Body> </soap:Envelope> 500 Can't connect to 127.0.0.1:1203 at soap-xml-tagwrap-1119550.pl lin +e 21. POST http://127.0.0.1:1203 HTTP/1.1 Accept: text/xml Accept: multipart/* Accept: application/soap User-Agent: SOAP::Lite/Perl/1.11 Content-Length: 495 Content-Type: text/xml; charset=utf-8 SOAPAction: "http://127.0.0.1/MyModule#YouFoundIt" <?xml version="1.0" encoding="UTF-8"?> <soap:Envelope soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" 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/XMLSchema-instance"> <soap:Body> <YouFoundIt xmlns="http://127.0.0.1/MyModule"> <UserName /> </YouFoundIt> </soap:Body> </soap:Envelope> 500 Can't connect to 127.0.0.1:1203 at soap-xml-tagwrap-1119550.pl lin +e 22.

In reply to Re: Net::KashFlow and broken XML produced by SOAP::Lite by Anonymous Monk
in thread Net::KashFlow and broken XML produced by SOAP::Lite by ghenry

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.