Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

Re^4: SOAP::Deserializer problem

by axelrose (Scribe)
on Jul 30, 2007 at 15:52 UTC ( #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?

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (5)
As of 2023-11-30 23:56 GMT
Find Nodes?
    Voting Booth?

    No recent polls found