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
extern.Lars.Oeschey [ Fr, 16 November 2007 15:59 ] [ ID #1872870 ]

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
Joel Friedman [ Mo, 19 November 2007 19:59 ] [ ID #1874538 ]

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
extern.Lars.Oeschey [ Di, 20 November 2007 14:58 ] [ ID #1875328 ]
Perl » gmane.comp.lang.perl.active-perl » SOAP problems

Vorheriges Thema: second DBI handle?
Nächstes Thema: Module::Build::Compat problem while installing HTML::Mason