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.
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|