This queue is for tickets about the SOAP-Lite CPAN distribution.

Report information
The Basics
Id:
78899
Status:
new
Priority:
Low/Low
Queue:

People
Owner:
Nobody in particular
Requestors:
ether [...] cpan.org
Cc:
AdminCc:

BugTracker
Severity:
(no value)
Broken in:
(no value)
Fixed in:
(no value)



Subject: Request: use a sane default serializer when none is available
I'm using a WSDL with a complex type defined. Via http://plosquare.blogspot.ca/2009/03/debugging-serialization-in-soaplite.html, I discovered that that this complex type is not being serialized properly - it is ending up as xsi:nil="true". I found that using this serializer made things work: sub SOAP::Serializer::as_MyComplexType { my ($self, $value, $name, $type, $attr) = @_; return [$name, { 'xsi:type' => $type, %$attr }, $value]; } Since this is about as generic as it can get, I would suggest using this as a fallback serializer if nothing better can be found.


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.