SOAP problems

SOAP problems

am 16.11.2007 15:59:20 von extern.Lars.Oeschey

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@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

RE: SOAP problems

am 19.11.2007 19:59:27 von Joel Friedman

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@listserv.ActiveState.com [mailto:activeperl-bounces@listserv.ActiveState.com] On Behalf Of Oeschey, Lars (I/EK-142, extern)
Sent: Friday, November 16, 2007 9:59 AM
To: activeperl@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@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
_______________________________________________
ActivePerl mailing list
ActivePerl@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

RE: SOAP problems

am 20.11.2007 14:58:37 von extern.Lars.Oeschey

> 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@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs