Methods Summary |
---|
public com.sun.xml.ws.api.pipe.Pipe | doCreate(com.sun.xml.ws.api.pipe.ClientPipeAssemblerContext context)
return doCreate(context, true);
|
public static com.sun.xml.ws.api.pipe.Pipe | doCreate(com.sun.xml.ws.api.pipe.ClientPipeAssemblerContext context, boolean checkSchema)
if (checkSchema && !TCPConstants.PROTOCOL_SCHEMA.equalsIgnoreCase(context.getAddress().getURI().getScheme())) {
return null;
}
setClientSettingsIfRequired(context.getWsdlModel());
if (context.getService().getServiceName().equals(serviceChannelServiceName)) {
return new ServiceChannelTransportPipe(context);
}
return new TCPTransportPipe(context);
|
private static void | setClientSettingsIfRequired(com.sun.xml.ws.api.model.wsdl.WSDLPort port)Sets the client ConnectionManagement settings, which are passed via cliend
side policies for ServiceChannelWS
if (ConnectionManagementSettings.clientSettings == null) {
synchronized(ConnectionManagementSettings.class) {
if (ConnectionManagementSettings.clientSettings == null) {
ConnectionManagementSettings.clientSettings = ConnectionManagementSettings.createSettingsInstance(port);
}
}
}
|