in reply to Re: How to disable autotyping of tags in response of SOAP-server?
in thread How to disable autotyping of tags in response of SOAP-server?
Thank you! Now it works! Gm...but now type exists in xml if value is empty:My::CGI::Handler->dispatch_to('AnPackage')->handle; BEGIN { package My::CGI::Handler; use vars qw(@ISA); @ISA = qw(SOAP::Transport::HTTP::CGI); sub handle { my $self = shift; $self->serializer->autotype(0); and so on....................
<<<<< xsi:nil="true" >>>> How to say serializer to hide all tag <ServiceCode xsi:nil="true" /> if this empty?<soap:Body> <CreateRequestResponse xmlns="http://localhost/AnPackage"> <ServiceCode xsi:nil="true" /> <requestNumber>1-13</requestNumber> </CreateRequestResponse></soap:Body>
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: How to disable autotyping of tags in response of SOAP-server?
by Anonymous Monk on Dec 26, 2012 at 14:57 UTC | |
by Zester (Initiate) on Dec 26, 2012 at 15:05 UTC |