SOAP::Lite +wsdl

  • Thread starter Andrew Tkachenko
  • Start date
A

Andrew Tkachenko

Hello.

I'm using combination of Apache + mod_perl + Apache::SOAP from SOAP::Lite
distribution.

I'm trying to understand process of object creation on server side while
using WSDL.

For example, I have service 'Hello', represented by module Hello.pm on
server side. I want to call Hello's constructor, passing some data as its
arguments and use it in subsequent calls. But after reading SOAP::Lite pod
doc., I still can't find the way of creating Hello object. All the samples
I've found demonstrate how to make service calls described by WSDL in
non-OO way, i.e.

use SOAP::Lite;
print SOAP::Lite
-> service(’http://www.xmethods.net/sd/StockQuoteService.wsdl’)
-> getQuote(’MSFT’);

But how can I call getQuote as object method rather than class one ?
Any help would be greatly appreciated.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,756
Messages
2,569,535
Members
45,008
Latest member
obedient dusk

Latest Threads

Top