Administration XML Developer Forums

« Back to Administration XML Questions

Error update Label when AXL request has accents

Combination View Flat View Tree View
Threads [ Previous | Next ]
Normal
0




false
false
false

EN-IN
X-NONE
X-NONE











MicrosoftInternetExplorer4




























































































































































/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Table Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-priority:99;
mso-style-parent:"";
mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
mso-para-margin:0cm;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:10.0pt;
font-family:"Times New Roman","serif";}


Hi Team,
Greetings !!
Could you please help us in answering with the below PDI case query,
----------------------------------------------------
I need to know if there's any restriction when I use an AXL request to update name, because I receive an AXL error after upgrade to version 8.6.
I updated the AXL request to the new version, and all works but when there's an accent AXL fails.
The call manager Version is: 8.6.2.22900-9 with Locales Spanish Locales.


I also send two request updating the alerting name, without accent mark and with accent mark:

:::::::::::::::::::::::::::::: REQUEST ::::::::::::::::::::::::::::::
POST /axl/ HTTP/1.0
Host:10.217.1.18:8443
Authorization: Basic
QVhMLUNPUkVURUw6YzByM3QzbA==
Accept: text/*
Content-type: text/xml
SOAPAction: "CUCMemoticonB ver=7.0"
Content-length: 468

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<SOAP-ENV:Body>
<updateLine>
<uuid>{C85BDF03-D3BE-D231-CF0E-67EE1F26F95A}</uuid>
<description>Pedro Bauza</description>
<alertingName>Pedro Bauza</alertingName>
<asciiAlertingName>Pedro Bauza</asciiAlertingName>
</updateLine>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

:::::::::::::::::::::::::::::: RESPONSE ::::::::::::::::::::::::::::::
<?xml version="1.0" encoding="UTF-8"?>
<return>{C85BDF03-D3BE-D231-CF0E-67EE1F26F95A}</return>





==========================================================================
========================== FAILING SOLUTION ==============================
==========================================================================
This solution is failing because alertingName has accent mark.

:::::::::::::::::::::::::::::: REQUEST ::::::::::::::::::::::::::::::
POST /axl/ HTTP/1.0
Host:10.217.1.18:8443
Authorization: Basic
QVhMLUNPUkVURUw6YzByM3QzbA==
Accept: text/*
Content-type: text/xml
SOAPAction: "CUCMemoticonB ver=7.0"
Content-length: 468

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<SOAP-ENV:Body>
<updateLine>
<uuid>{C85BDF03-D3BE-D231-CF0E-67EE1F26F95A}</uuid>
<description>Pedro Bauza</description>
<alertingName>Pedro Bauzá</alertingName> <---------------------------------------------- ACCENT MARK
<asciiAlertingName>Pedro Bauza</asciiAlertingName>
</updateLine>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

:::::::::::::::::::::::::::::: RESPONSE ::::::::::::::::::::::::::::::
HTTP/1.1 200 OK
Set-Cookie:
JSESSIONIDSSO=5455E21D34BA071FAF9208E552D7BA1E; Path=/; Secure
Set-Cookie: JSESSIONID=664F7BDA1DC148B9B0881FA83AC79755; Path=/axl;
Secure; HttpOnly
Accept: text/xml, text/html, image/gif, image/jpeg, *;
q=.2, */*; q=.2
SOAPAction: "CUCMemoticonB ver7.0
Content-Type:
text/xml;charset=utf-8
Content-Length: 654
Date: Thu, 14 Mar 2013 10:27:36
GMT
Connection: close
Server:

<?xml version="1.0" encoding="ISO-8859-1" ?>
<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Header />
<SOAP-ENV:Body>
<SOAP-ENV:Fault>
<faultcode>SOAP-ENV:Client</faultcode>
<faultstring>XML document structures must start and end within the
same entity.</faultstring>
<detail>
<axl:Error xmlns:axl="http://www.cisco.com/AXL/API/7.0">
<axl:code>5001</axl:code>
<axl:message>XML document structures must start and end within the
same entity.
</axl:message>
<request>updateLine</request>
</axl:Error>
</detail>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
 
------------------------------------------------------
Thanks for your help in advance.
 
Kind Regards,
Anand Choudhari
-------------
Cisco PDI Help Desk