jaxws/src/java.xml.ws/share/classes/com/sun/xml/internal/ws/transport/http/server/EndpointImpl.java
changeset 36523 116e5d5cdade
parent 25871 b80b84e87032
child 43852 93a527059d8a
equal deleted inserted replaced
36522:0017f3cf1657 36523:116e5d5cdade
     1 /*
     1 /*
     2  * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
   370             ClassLoader cl = implClass.getClassLoader();
   370             ClassLoader cl = implClass.getClassLoader();
   371             URL url = cl.getResource(wsdlLocation);
   371             URL url = cl.getResource(wsdlLocation);
   372             if (url != null) {
   372             if (url != null) {
   373                 return SDDocumentSource.create(url);
   373                 return SDDocumentSource.create(url);
   374             }
   374             }
   375             throw new ServerRtException("cannot.load.wsdl", wsdlLocation);
   375             return SDDocumentSource.create(implClass, wsdlLocation);
   376         }
   376         }
   377         return null;
   377         return null;
   378     }
   378     }
   379 
   379 
   380     private void canPublish() {
   380     private void canPublish() {