on 01-25-2014 10:00 AM
what version of AXLAPIService.cs do you have?
From: Cisco Developer Community Forums <[email protected]>
To: "[email protected]" <[email protected]>
Date: 01/17/2012 07:21 PM
Subject: New Message from Breno Lucena in Administration XML (AXL) -
Administration XML Questions: Error on getPhone
Breno Lucena has created a new message in the forum "Administration XML
Questions":
--------------------------------------------------------------
I´m trying to execute the following code:
private void DoGetPhone()
{
try
{
GetPhoneReq getPhoneReq = new GetPhoneReq();
getPhoneReq.ItemElementName = ItemChoiceType133.uuid;
getPhoneReq.Item = deviceUuid;
GetPhoneRes getPhoneResp = AxlApiService.getPhone
(getPhoneReq);
}
catch (Exception ex)
{
throw ex;
}
}
Here follow the response received:
- Method AXLAPIService.getNumDevices can not be reflected.
InnerException - There was an error reflecting 'getNumDevicesResult'.
InnerException - There was an error reflecting type
'getNumDevicesResponse'.
InnerException - There was an error reflecting property
'class'.
InnerException - The type for XmlAttribute may not be
specified for primitive types.
I noticed the code is trying to serialize an invalid @class entity.
Does anyone knows how to fix it?
I´d like to thank you in advanced for your attention.
Regards.
Breno.
--
To respond to this post, please click the following link:
<
http://developer.cisco.com/web/axl/forums/-/message_boards/view_message/5017761
>
or simply reply to this email.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: