Skip Menu |

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

Report information
The Basics
Id: 78899
Status: new
Priority: 0/
Queue: SOAP-Lite

Owner: Nobody in particular
Requestors: ether [...]

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)

Subject: Request: use a sane default serializer when none is available
Download (untitled) / with headers
text/plain 602b
I'm using a WSDL with a complex type defined. Via, 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 is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to