Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: Using Perl's SOAP::Lite to talk to Pythonby mitd (Curate) |
on Jul 18, 2002 at 00:10 UTC ( [id://182658]=note: print w/replies, xml ) | Need Help?? |
The problem is you are asking SOAP to do more than it is capable of. SOAP is not a distributed object framework it is Simply an Object Access
Protocol :).
Think of your methods on the service (server) side as services or helpers for a remote client object. So with this in mind have your Python friend create a class on his client side that uses your services/methods to help his class fulfil its needs. The idea of Object/Class Services is a powerful one. and takes a little getting use too but as a guy who has spent the last 3 months in Java Enterprise Bean hell I really have come to appreciate the simplicity of SOAP and the idea of services vs full blown distribute objects. Hope this helps. BTW, on a technical note the reason your code did not work as expected is you tried to pass what in reality was a reference to an object which SOAP just can't do.
mitd-Made in the Dark
In Section
Seekers of Perl Wisdom
|
|