in reply to Soap Questions (dynamic server, objects)

The SOAP::Lite Guide suggests the following syntax will create an object on which you can call remote methods:
my $soapobj = SOAP::Lite->uri($uri)->proxy($proxy); my @results = ($soapobj->fn(1), $soapobj->fn2(2));
In your first example above, I suspect the single quotes are ruining your fun. Perhaps something like this would work better:
my $soapresponse = SOAP::Lite->uri->($uri) ->proxy($proxy) ->go($doThis) ->result();
I'm not sure how the parser interprets the syntax without parenthesis, but I know the single quotes prevent variable interpolation, which is at least half the battle.

Replies are listed 'Best First'.
Re: Re: Soap Questions (dynamic server, objects)
by zakzebrowski (Curate) on Jun 29, 2001 at 17:31 UTC
    (Stupidity) was the problem. I didn't match my parenthesis correctly... (sigh). I will (attempt) to release the code I was working on later.

    ----
    Zak