This document was generated from CDN thread
Created by: Chris Bertrand on 02-07-2010 07:52:10 AM
Hi,
When trying a simple getdeviceprofile request i get an unhandled SOAP exception.
"Can't find resource for bundle java.util.PropertyResourceBundle, key TypeUserLocale."
Here is the call causing the exception.
GetDeviceProfileReq getudp = new GetDeviceProfileReq();
getudp.ItemElementName = ItemChoiceType131.name;
getudp.Item = "dpearce_udp";
GetDeviceProfileRes profileResult = axlService.getDeviceProfile(getudp);
Is 8.0 definitely configured correctly to be used with C#??
Am i missing a config file somewhere?
Subject: RE: SoapException was unhandled by user code - Can't find resource for
Replied by: Chris Bertrand on 08-07-2010 07:11:37 AM
Hi,
Once again answering my own question. I hope this is of some use to someone. If you do a device profile request then you have to specify the returned tags and make sure you do not return the user locale field. There is an error with this field in the SOAP code which will break your program.
When creating a UDP then the user locale field is not set as it is in the call manager.
Call manager states for the UK - English(Brititsh), United Kingdom
If you set this as the user locale field you will once again get an error.
UK should be set to - "English United Kingdom"
Germany - "German Germany"
Holland - "Dutch Netherlands"
All without commas
If you want to check this yourself do a get on a phone with a user locale field filled as this does not error