protected void processIndex(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse) throws IOException, ServletException { processListServices(httpServletRequest, httpServletResponse); }
public ProxyUtil(String ip, int porta, String usuario,String senha) { proxyProperties = new HttpTransportProperties.ProxyProperties(); proxyProperties.setProxyName(ip); proxyProperties.setProxyPort(porta); proxyProperties.setUserName(usuario); proxyProperties.setPassWord(senha); }
/** * Convenient method to re-initialize the ConfigurationContext * * @throws ServletException */ @Override public void init() throws ServletException { if (this.servletConfig != null && !initCalled) { init(this.servletConfig); } }
public WSXACMLEntitlementServiceClient(String serverUrl, String userName, String password) { this.serverUrl = serverUrl; authenticator = new HttpTransportProperties.Authenticator(); authenticator.setUsername(userName); authenticator.setPassword(password); authenticator.setPreemptiveAuthentication(true); }
@Override protected void after() { port = -1; configurationContext = null; server.stop(); server = null; } }
/** * This method assumes, that the created MessageContext will be used in only SOAP invocation. * * @param req * @param resp * @return MessageContext * @throws IOException */ protected MessageContext createMessageContext(HttpServletRequest req, HttpServletResponse resp) throws IOException { return createMessageContext(req, resp, true); }
/** * Initialize HTTP GET request processors * * @param config The ServletConfig of this Servlet */ protected void initGetRequestProcessors(ServletConfig config) { // The ListingAgent is an HTTP GET request processor agent = new ListingAgent(configContext); }
/** * This is the real destroy and we need to call it by hand then... * * It will destroy also the listenermanager! */ public void realDestroy() { super.destroy(); } }
/** * Callback method for index page. Forwards to {@link DEFAULT_INDEX_JSP} by default. * * @param httpServletRequest The incoming request. * @param httpServletResponse The outgoing response. */ protected void processIndex(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse) throws IOException, ServletException { renderView(DEFAULT_INDEX_JSP, httpServletRequest, httpServletResponse); }
/** * Get all transport headers. * * @param req * @return Map */ protected Map<String,String> getTransportHeaders(HttpServletRequest req) { return new TransportHeaders(req); }
/** * Create the factory for request workers */ public WorkerFactory newRequestWorkerFactory() { if (requestWorkerFactory != null) { return requestWorkerFactory; } else { return new HTTPWorkerFactory(); } }
public byte[] getBytes(MessageContext messageContext, OMOutputFormat format) throws AxisFault { return getBytes(messageContext, format, false); }
@Override public void init(ConfigurationContext configurationContext, TransportInDescription transportInDescription) throws AxisFault { this.transportInDescription = transportInDescription; // this will take care of verifying everything is ok super.init(configurationContext, transportInDescription); }
public AbstractAgent(ConfigurationContext aConfigContext) { configContext = aConfigContext; preloadMethods(); }
@Override public HttpSession getSession() { return getSession(true); }
public WSXACMLEntitlementServiceClient(String serverUrl, String userName, String password) { this.serverUrl = serverUrl; authenticator = new HttpTransportProperties.Authenticator(); authenticator.setUsername(userName); authenticator.setPassword(password); authenticator.setPreemptiveAuthentication(true); }
/** * Convenient method to re-initialize the ConfigurationContext * * @throws ServletException */ @Override public void init() throws ServletException { if (this.servletConfig != null && !initCalled) { init(this.servletConfig); } }
/** * This method assumes, that the created MessageContext will be used in only SOAP invocation. * * @param req * @param resp * @return MessageContext * @throws IOException */ protected MessageContext createMessageContext(HttpServletRequest req, HttpServletResponse resp) throws IOException { return createMessageContext(req, resp, true); }
/** * Callback method for index page. Forwards to {@link DEFAULT_INDEX_JSP} by default. * * @param httpServletRequest The incoming request. * @param httpServletResponse The outgoing response. */ protected void processIndex(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse) throws IOException, ServletException { renderView(DEFAULT_INDEX_JSP, httpServletRequest, httpServletResponse); }
/** * Get all transport headers. * * @param req * @return Map */ protected Map<String,String> getTransportHeaders(HttpServletRequest req) { return new TransportHeaders(req); }