protected final Endpoint newHttpEndpoint ( final String endpointClass , final String endpointName , final Deployment dep ) { if ( endpointName == null ) throw WSLogger . ROOT_LOGGER . nullEndpointName ( ) ; if ( endpointClass == null ) throw WSLogger . ROOT_LOGGER . nullEndpointClass ( ) ; final Endpoint endpoint = this . deploymentModelFactory . newHttpEndpoint ( endpointClass ) ; endpoint . setShortName ( endpointName ) ; endpoint . setType ( endpointType ) ; dep . getService ( ) . addEndpoint ( endpoint ) ; return endpoint ; }
Creates new Http Web Service endpoint .