Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Suppressing nil attribute in empty SOAP tag

by ptum (Priest)
on Oct 12, 2011 at 22:24 UTC ( [id://931103]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      
    my $response;
    eval {
    ...
    if ($@) {
      print "Error: SOAP call died: $@. \n";
    }
    
  2. or download this
    <?xml version="1.0" encoding="UTF-8"?>
    <soapenv:Envelope blah blah blah>
    ...
        <MyMethod xsi:nil="true" />
      </soapenv:Body>
    </soapenv:Envelope>
    
  3. or download this
      <soapenv:Body>
        <MyMethod/>
      </soapenv:Body>
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://931103]
Approved by keszler
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2024-04-25 14:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found