Wednesday, August 6, 2014

Problems with WSDL files in Coldfusion 11 using XSD's or other external files

Another gotcha when using externals WSDL files in Coldfusion 11 webservices: you can not use relative references in the files, all references should be absolute:

Will not work anymore:
<xsd:include schemaLocation="somefile.xsd" />

Should be:
<xsd:include schemaLocation="http://www.somesite.com/somefile.xsd" />

Publishing webservices in ColdFusion 11 in old Axis version (webservice gives an error after upgrading coldfusion)

ColdFusion 11 has a new axis version. This means that webservices are now published in AXIS2. This should not give too much problems unless you have written the WSDLs yourself. The easiest fix is to tell Coldfusion that this is an older version by adding one element in the component object (or cfcomponent tag): wsversion = "1". That's it!

Tuesday, July 29, 2014

Unlocking a samsung phone or tablet / backing up without a working screen

I was having some problems with my Samsung tablet: the screen stopped working but everything else seemed to work. I could boot up the device, hear the startup sound, use the buttons, but could not see anything on the screen. It was time to send it in for repair, but before that I wanted to make a backup of my data. There is only one problem: Kies will not access the files if there is a screen lock! There was no way for me to type in my password without to be able to see what I am typing so I could not backup the data. Luckily, there is a solution: MySamsung. I created a MySamsung account when I installed my tablet which enables all sorts of extra features. One very usefull option: remote screen unlocking.
If you login on the samsung site there is a "find my mobile" option (or you can go to http://findmymobile.samsung.com/account/init.do ).
Select your device.
Choose remote screen unlock
Start the wizard.
If your device has an internet connection it will be contacted by the service and the screen lock will be removed. This may take a while but when it is succesfull you will see that Kies opens the device.

This worked for my Galaxy Note 10.1 2014 (SM-P600) and my Galaxy S4 (GT-I9505), but should work for any Samsung mobile device that has an internet connection.

So now the repair people can do anything they want with my broken device, when I get a completely data wiped device back I can now just restore my old data!