Hi all,
Please check the URL creation below. Why is it in absolution path? Is it
expected, if not how can I correct it.
I am using top-down approach.
/**
* This class was generated by the JAXWS SI.
* JAX-WS RI 2.1-09/25/2006 04:59 PM(vivek)-EA1
* Generated source version: 2.0
*
*/
@WebServiceClient(name = "GuideLineService", targetNamespace =
"
http://www.test003.com/GuideLine", wsdlLocation =
"etc/GuideLineService.wsdl")
public class GuideLineService
extends Service
{
private final static URL GUIDELINESERVICE_WSDL_LOCATION;
static {
URL url = null;
try {
url = new
URL("file:/D:/Work/WebServices/jax-ws/jaxws-ri/samples/tariffguideline/e
tc/GuideLineService.wsdl");
} catch (MalformedURLException e) {
e.printStackTrace();
}
GUIDELINESERVICE_WSDL_LOCATION = url;
}