The wsdlLocation is a URL (relative or absolute) that refers to a pre-existing WSDL file.
Guillermo Gutierrez wrote:My first post since I found this friendly place around 2008
To load the WSDL, internally it uses the method getResource(string path) of the ClassLoader class (see http://grepcode.com/file/repository.grepcode.com/java/root/jdk/openjdk/6-b14/com/sun/xml/internal/ws/transport/http/server/EndpointImpl.java, method getPrimaryWsdl, lines 265-278). So, an option is to include the WSDL file (let's say its name is ImageWebService.wsdl) inside the package, for example inside the package com.mycompany.imagewebservice. Then, on the annotation, write:
@WebService(serviceName = "ImageWebService",
You can find more info about how ClassLoader works here: http://www.thinkplexx.com/learn/howto/java/system/java-resource-loading-explained-absolute-and-relative-names-difference-between-classloader-and-class-resource-loading