Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^4: SOAP::Deserializer problem

by axelrose (Scribe)
on Jul 30, 2007 at 15:52 UTC ( [id://629603]=note: print w/replies, xml ) Need Help??


in reply to Re^3: SOAP::Deserializer problem
in thread SOAP::Deserializer problem

Thanks for your idea.

I use SOAP::Deserializer only because it is a natural part of processing SOAP responses.

Trying again with another deserializer like this:
my $soap = SOAP::Lite ->uri($uri)->proxy( $proxyUrl, timeout => 5 ) ->deserializer(XMLRPC::Lite->new());

I end up with the error message from XMLRPC::Lite "A service address has not been specified either by using SOAP::Lite->proxy() or a service description)" although there is a proxy. I can watch the request and the response on the wire.

So my last chance seems to be overloading deserialize() with a custom deserializer
my $soap = SOAP::Lite ->uri($uri)->proxy( $proxyUrl, timeout => 5 ) ->deserializer(Deserialize->new()); package Deserialize; use warnings; use strict; use SOAP::Lite; use vars qw(@ISA); @ISA = ('SOAP::Deserializer'); sub deserialize { return $_[1] } 1;
Cheers, Axel.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://629603]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (10)
As of 2024-04-18 12:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found