07-21-2015 06:43 AM
Hi,
I`m trying to add a line / phone via AXL / perl at CUCM 10.5.
This updatePhone command in the perl is working for example:
my $res =
$cm->updatePhone(
SOAP::Data->attr({xmlns => ''})->name('name' => $devname),
=> SOAP::Data->attr({xmlns => ''})->name('ownerUserName'=> $username),
);
This addLine command is NOT working and I don`t know why:
my $res =
$cm->addLine(
SOAP::Data->attr({xmlns => ''})->name('pattern' => $v_dn_new),
SOAP::Data->attr({xmlns => ''})->name('routePartitionName'=> 'Everyone'),
);
Can anybody help me to make the addLine working?
BR
Michael
08-06-2015 02:22 AM
Could you post the XML that you're sending to the server? Different people use different programming languages - but it all comes down to sending an XML request. if you're on Windows, you can use a tool like Fiddler to show the data that is "going over the wire".. it even can decrypt https on the fly so that's pretty powerful.
Alternatively, you'll find AXL requests and responses in the AXL logs (download via RTMT).
08-06-2015 08:40 AM
What are you using for SOAP support in Perl? SOAP::Lite?
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide