#107 start_handler_typemap error in Typemap branch


I'm using the SOAP::WSDL distribution in the Typemap branch (i.e. the branch that no longer requires typemaps). I'm at revision 846 and using the default serializer/deserializer.

When my SOAP responses are deserialized, the following error occurs:
Error deserializing message: Can't call method "get_class" on an undefined value at /usr/local/share/perl/5.8.8/SOAP/WSDL/Expat/MessageParser.pm line 318.
at line 1 at /usr/local/share/perl/5.8.8/SOAP/WSDL/Expat/Base.pm line 82

SOAP::WSDL::Expat::MessageParser line 318 is in the middle of the $start_handler_typemap callback, and it's the following code:

$_class = $self->{ class_resolver }->get_class( $path );

Given that there are no more Typemaps, I think $self->{ class_resolver } will always be undef. I don't have my head fully wrapped around the codebase, so that's just speculation.

A potential patch may be to modify line MessageParser.pm line 498 so that $parser->setHandlers() never gets assisgned the _typemap handlers, but when I tried doing that there were further downstream deserialization problems, so I don't think that's enough to get things working.


  • Martin Kutter

    Martin Kutter - 2009-05-15

    Hi Jeffrey,

    sorry for the long delay - but I've been busy doing some Java coding ;-)

    I think this error is caused due to a broken checkin and should disappear by using the typemap's HEAD by now.

    The branch should be OK again by now.


  • Martin Kutter

    Martin Kutter - 2010-03-19
    • status: open --> pending
  • SourceForge Robot

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

  • SourceForge Robot

    • status: pending --> closed

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks