Subject: | SOAP::SOM constructor broken |
Creating a new SOAP::SOM instance using the new constructor doesn't seem
to work.
use Test::More tests => 1;
use SOAP::Lite;
my $som = SOAP::SOM->new(<<'END_SOAP');
<?xml version="1.0"?>
<soap:Envelope
xmlns:soap="http://www.w3.org/2001/12/soap-envelope"
soap:encodingStyle="http://www.w3.org/2001/12/soap-encoding">
<soap:Body xmlns:m="http://www.example.org/stock">
<m:GetStockPrice>
<m:StockName>IBM</m:StockName>
</m:GetStockPrice>
</soap:Body>
</soap:Envelope>
END_SOAP
eval {$som->body}; # Just call some method
ok(not $@);
diag($@) if $@;