2596RE: [soaplite] valueof usage help needed
- May 7, 2003Try this:print $som->valueof('//OpGetResponse/Full_Name') ;
print $som->valueof('//OpGetResponse/Email_Address');I know it is a little different than what you might expect considering how XPath works. But the root element of the SOAP Body is considered the ROOT element of the SOM object.-----Original Message-----I have this code.
From: Kamlesh [mailto:kp52r11@...]
Sent: Tuesday, May 06, 2003 9:48 PM
Subject: [soaplite] valueof usage help needed
my $soap = SOAP::Lite
my $som = $soap->OpGet(SOAP::Data->name("Request_ID"
print $som->valueof('//Envelope/Body/OpGetResponse/Full_Name') ;
I know my wsdl works.
But I don't know how to get the response back. There are 2 values
returned back but I can't figure out how to use it.
I am getting this error:
Can't call method "valueof" without a package or object reference at
C:\DOCUME~1\kp52r11\LOCALS~1\Temp\dir138.tmp\r3.pl line 13.
CAN U HELP!!!
To unsubscribe from this group, send an email to:
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
- << Previous post in topic Next post in topic >>