http://www.perlmonks.org?node_id=532449


in reply to Re^2: Error running SOAP statement
in thread Error running SOAP statement

Use a normal fault on result...
use SOAP::Lite +trace; my $data = SOAP::Data->name('data' => "$xml")->type('string')->uri('') +; my $s = SOAP::Lite -> uri ('http://di.wellmed.com/SoapService') -> proxy ('http://di.webmdhealth.com/SoapService/SoapService.asmx') # -> on_fault(sub{}); ; $result = $s->PerformUpdate($data); unless ( $result && ref($result) ) { print "Empty on result!\n"; } elsif ( $result->fault ) { print "FAULT: ", $result->faultcode, " ", $result->faultstring, "\n +\n"; } else { print $result->result; }
This page return incorrect encoding...
Unexpected Content-Type 'text/html; charset=Windows-1252' returned

--
Marco Antonio
Rio-PM