If you faced with an error like “Failed to read schema document ‘xjc.xsd’, because ‘file’ access is not allowed due to restriction set by the accessExternalSchema property” while creating a client, here is the solution:http://stackoverflow.com/q/23011547/1091666