SOAP problems
Hi,
this is the first time I try tow write a script that accesses a SOAP
server. I got a wsdl file, and try to use stubmaker.pl to get some
information from it. However when I do a:
perl "-MSOAP::Lite service=>'file:./AudiTESoap.java.wsdl'" -le "print
getQuote('MSFT')"
as stated in the SOAP::Lite documentation, I only get:
Undefined subroutine &main::getQuote called at -e line 1.
what am I doing wrong?
Lars
_______________________________________________
ActivePerl mailing list
ActivePerl [at] listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
RE: SOAP problems
Lars,
It looks like you are copying the example right out of the SOAP::Lite documentation; however, that example is specific to their wsdl file. If I were a betting man, I would wager that your AduiTESoap.java.wsdl does not have a definition for the getQuote method - which is why your test is failing.
--Joel
-----Original Message-----
From: activeperl-bounces [at] listserv.ActiveState.com [mailto:activeperl-bounces [at] listserv.ActiveState.com] On Behalf Of Oeschey, Lars (I/EK-142, extern)
Sent: Friday, November 16, 2007 9:59 AM
To: activeperl [at] listserv.ActiveState.com
Subject: SOAP problems
Hi,
this is the first time I try tow write a script that accesses a SOAP
server. I got a wsdl file, and try to use stubmaker.pl to get some
information from it. However when I do a:
perl "-MSOAP::Lite service=>'file:./AudiTESoap.java.wsdl'" -le "print
getQuote('MSFT')"
as stated in the SOAP::Lite documentation, I only get:
Undefined subroutine &main::getQuote called at -e line 1.
what am I doing wrong?
Lars
_______________________________________________
ActivePerl mailing list
ActivePerl [at] listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
_______________________________________________
ActivePerl mailing list
ActivePerl [at] listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
RE: SOAP problems
> It looks like you are copying the example right out of the
> SOAP::Lite documentation; however, that example is specific
> to their wsdl file. If I were a betting man, I would wager
> that your AduiTESoap.java.wsdl does not have a definition for
> the getQuote method - which is why your test is failing.
true, that couldn't work. I have it running now with doing a module via
stubmaker.pl, though that seems to have a bug in leaving out the uri
(and SOAP can't work without uri)
Lars
_______________________________________________
ActivePerl mailing list
ActivePerl [at] listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs