i'm sorry, but after my interface call, i just don't know how to retrieve the returned data. my code is as follows:
CPAN::Forum
SOAP-WSDL - retrieving output
| Posted on Wed Apr 23 04:21:25 2008 by rhumbliner |
| retrieving output |
|
i'm sorry, but after my interface call, i just don't know how to retrieve the returned data. my code is as follows:
my $response = $interface->fsPublic_SQL( { # MyTypes::fsPublic_SQLInput
QryIn => {
StrQuery => $q,
option => 'XML',
keepRowHeader => 'false',
},
},,
);
die $response if not $response;
print Dumper($response);
the output of the print is:
$response = bless( do{\(my $o = 19)}, 'MyElements::fsPublic_SQLOutput' );
the docs for MyElements::fsPublic_SQLOutput follows:
[~] perldoc MyElements::fsPublic_SQLOutput
DESCRIPTION
Perl data type class for the XML Schema defined element fsPublic_SQLOutput from the namespac
+e http://infraweb-
dev.fs.usda.gov/fs_public.Services.
METHODS
new
my $element = MyElements::fsPublic_SQLOutput->new($data);
Constructor. The following data structure may be passed to new():
{ # MyTypes::fsPublic_SQLOutput
QryResult => { # MyTypes::QryResult
StrHTML => $some_value, # string
StrCsv => $some_value, # string
StrXML => $some_value, # string
},
},
AUTHOR
Generated by SOAP::WSDL
i'm stumped as to how to recover the output. thanks for your patience, tom |
| Direct Responses: 7727 | Write a response |
(0)
]