SOAP-WSDL - Re: retrieving output

Posted on Fri Apr 25 22:55:16 2008 by rhumbliner in response to 7764 (See the whole thread of 9)
Re: retrieving output
now we're getting somewhere! :-) i admit i know next to nothing about Class::Std so i guess i need to read up on that. as i pointed out earlier, calling get_FOO() never returns a list of valid methods, so your example:

Can't locate object method "get_FOO" via package "MyTypes::testComplexTypeAll". Valid methods are: get_Test_2, set_Test_2, get_Test_1, set_Test_1


doesn't apply to me. all i get is a null list:
Can't locate object method "get_FOO" via package "MyTypes::testComplexTypeAll". Valid methods are:


whether this is a bug in SOAP::WSDL or the wsdl i'm using is beyond my capabilities, but i'm happy to let you analyze the wsdl. it's only 79 lines long.

anway, i don't know how you figured out to try the call get_QryResult() but that started me down the path. $response gives me a QryResult object which gives me a StrXML object which gives me a SOAP::WSDL::XSD::Typelib::Builtin::string (i realize QryResult and StrXML are unique to my wsdl). i then just print the string.

so, basically, i think i'm up and running. thanks so much for your help. drinks are on me next time you're in vegas.

tom
Write a response