http://www.perlmonks.org?node_id=968828

JamesBrown has asked for the wisdom of the Perl Monks concerning the following question:

Dear Monks, I'm using SOAP::Lite and am trying to generate this XML string for Cisco Call Manager's AXL service:
<destination xsi:type="xsd:string"></destination>
The intention is to send an empty string in order to remove a Call Forward setting. Unfortunately, a debug reveals that SOAP::Lite uses the abbreviated notation and Cisco doesn't seem to like it:
<destination xsi:type="xsd:string" />
My code is as follows:
$oResult = $oCM->updateLine( SOAP::Data->name('destination' => '') );
Could anyone advise me on how to force SOAP::Lite to generate the longer notation please? Many thanks James.