WSDL

2008-09-12 Thread Chris Wagner
Greetings and felicitations.

I've been trying to use SOAP::WSDL to grab some data but I'm having trouble
figuring out how to do it in Perl.  We have an HVAC system that provides a
WSDL interface that I need to poll values from.  The vendor gave us some
example VB code that should poll the thing but I can't seem to figure out
how to make the Perl equivalent.

VB Code:
Dim client As MSSOAPLib30.SoapClient30
Set client = CreateObject(MSSOAP.SOAPClient30)
client.MSSoapInit (http://;  host  /_common/services/EvalService?wsdl)
test = client.getValue(user, passwd,
/trees/config/trends/~trend/display_colors/background.value)


I made an attempt to duplicate that VB with OLE and it seemed to run, but I
got no output.


$o = Win32::OLE-new('MSSOAP.SOAPClient30');
$o-MSSoapInit(http://$host/_common/services/EvalService?wsdl;);
$val = $o-getValue($user, $pass, #expression);


Anybody have any experience with WSDL or other ideas?  Thanks in advance.





--
REMEMBER THE WORLD TRADE CENTER ---= WTC 911 =--
...ne cede malis

0100

___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs


Re: WSDL

2008-09-12 Thread Chris Wagner
At 05:19 PM 9/12/2008 -0700, Glenn Linderman wrote:
You have #expression.  Maybe you need 
/trees/config/trends/~trend/display_colors/background.value?  OR maybe 
you need $expression?  Or maybe this is just a typo in the email?

Heh, no, that is just placeholder text. ;)  The /trees... thing is one
possible expression.




--
REMEMBER THE WORLD TRADE CENTER ---= WTC 911 =--
...ne cede malis

0100

___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs