public NfeConsulta2Stub(final org.apache.axis2.context.ConfigurationContext configurationContext, final java.lang.String targetEndpoint, final boolean useSeparateListener) throws org.apache.axis2.AxisFault { this.populateAxisService(); this.populateFaults(); this._serviceClient = new org.apache.axis2.client.ServiceClient(configurationContext, this._service); this._serviceClient.getOptions().setTo(new org.apache.axis2.addressing.EndpointReference(targetEndpoint)); this._serviceClient.getOptions().setUseSeparateListener(useSeparateListener); this._serviceClient.getOptions().setSoapVersionURI(org.apache.axiom.soap.SOAP12Constants.SOAP_ENVELOPE_NAMESPACE_URI); }
public NfeAutorizacaoStub(final org.apache.axis2.context.ConfigurationContext configurationContext, final java.lang.String targetEndpoint, final boolean useSeparateListener) throws org.apache.axis2.AxisFault { // To populate AxisService this.populateAxisService(); this.populateFaults(); this._serviceClient = new org.apache.axis2.client.ServiceClient(configurationContext, this._service); this._serviceClient.getOptions().setTo(new org.apache.axis2.addressing.EndpointReference(targetEndpoint)); this._serviceClient.getOptions().setUseSeparateListener(useSeparateListener); // Set the soap version this._serviceClient.getOptions().setSoapVersionURI(org.apache.axiom.soap.SOAP12Constants.SOAP_ENVELOPE_NAMESPACE_URI); }
public NfeRetAutorizacaoStub(final org.apache.axis2.context.ConfigurationContext configurationContext, final java.lang.String targetEndpoint, final boolean useSeparateListener) throws org.apache.axis2.AxisFault { // To populate AxisService this.populateAxisService(); this.populateFaults(); this._serviceClient = new org.apache.axis2.client.ServiceClient(configurationContext, this._service); this._serviceClient.getOptions().setTo(new org.apache.axis2.addressing.EndpointReference(targetEndpoint)); this._serviceClient.getOptions().setUseSeparateListener(useSeparateListener); // Set the soap version this._serviceClient.getOptions().setSoapVersionURI(org.apache.axiom.soap.SOAP12Constants.SOAP_ENVELOPE_NAMESPACE_URI); }
public NfeStatusServico2Stub(final org.apache.axis2.context.ConfigurationContext configurationContext, final java.lang.String targetEndpoint, final boolean useSeparateListener) throws org.apache.axis2.AxisFault { this.populateAxisService(); this.populateFaults(); this._serviceClient = new org.apache.axis2.client.ServiceClient(configurationContext, this._service); this._serviceClient.getOptions().setTo(new org.apache.axis2.addressing.EndpointReference(targetEndpoint)); this._serviceClient.getOptions().setUseSeparateListener(useSeparateListener); this._serviceClient.getOptions().setSoapVersionURI(org.apache.axiom.soap.SOAP12Constants.SOAP_ENVELOPE_NAMESPACE_URI); }
public RecepcaoEventoStub(final org.apache.axis2.context.ConfigurationContext configurationContext, final java.lang.String targetEndpoint, final boolean useSeparateListener) throws org.apache.axis2.AxisFault { // To populate AxisService this.populateAxisService(); this.populateFaults(); this._serviceClient = new org.apache.axis2.client.ServiceClient(configurationContext, this._service); this._serviceClient.getOptions().setTo(new org.apache.axis2.addressing.EndpointReference(targetEndpoint)); this._serviceClient.getOptions().setUseSeparateListener(useSeparateListener); // Set the soap version this._serviceClient.getOptions().setSoapVersionURI(org.apache.axiom.soap.SOAP12Constants.SOAP_ENVELOPE_NAMESPACE_URI); }
public NfeConsulta2Stub(final org.apache.axis2.context.ConfigurationContext configurationContext, final java.lang.String targetEndpoint, final boolean useSeparateListener) throws org.apache.axis2.AxisFault { // To populate AxisService this.populateAxisService(); this.populateFaults(); this._serviceClient = new org.apache.axis2.client.ServiceClient(configurationContext, this._service); this._serviceClient.getOptions().setTo(new org.apache.axis2.addressing.EndpointReference(targetEndpoint)); this._serviceClient.getOptions().setUseSeparateListener(useSeparateListener); // Set the soap version this._serviceClient.getOptions().setSoapVersionURI(org.apache.axiom.soap.SOAP12Constants.SOAP_ENVELOPE_NAMESPACE_URI); }
public CadConsultaCadastro2Stub(final org.apache.axis2.context.ConfigurationContext configurationContext, final java.lang.String targetEndpoint, final boolean useSeparateListener) throws org.apache.axis2.AxisFault { // To populate AxisService this.populateAxisService(); this.populateFaults(); this._serviceClient = new org.apache.axis2.client.ServiceClient(configurationContext, this._service); this._serviceClient.getOptions().setTo(new org.apache.axis2.addressing.EndpointReference(targetEndpoint)); this._serviceClient.getOptions().setUseSeparateListener(useSeparateListener); // Set the soap version this._serviceClient.getOptions().setSoapVersionURI(org.apache.axiom.soap.SOAP12Constants.SOAP_ENVELOPE_NAMESPACE_URI); }
public NfeInutilizacao2Stub(final org.apache.axis2.context.ConfigurationContext configurationContext, final java.lang.String targetEndpoint, final boolean useSeparateListener) throws org.apache.axis2.AxisFault { // To populate AxisService this.populateAxisService(); this.populateFaults(); this._serviceClient = new org.apache.axis2.client.ServiceClient(configurationContext, this._service); this._serviceClient.getOptions().setTo(new org.apache.axis2.addressing.EndpointReference(targetEndpoint)); this._serviceClient.getOptions().setUseSeparateListener(useSeparateListener); // Set the soap version this._serviceClient.getOptions().setSoapVersionURI(org.apache.axiom.soap.SOAP12Constants.SOAP_ENVELOPE_NAMESPACE_URI); }
/** * Constructor that takes in a configContext and useseperate listner */ public CTeDistribuicaoDFeSoapStub(final org.apache.axis2.context.ConfigurationContext configurationContext, final java.lang.String targetEndpoint, final boolean useSeparateListener) throws org.apache.axis2.AxisFault { // To populate AxisService this.populateAxisService(); this.populateFaults(); this._serviceClient = new org.apache.axis2.client.ServiceClient(configurationContext, this._service); this._serviceClient.getOptions().setTo(new org.apache.axis2.addressing.EndpointReference(targetEndpoint)); this._serviceClient.getOptions().setUseSeparateListener(useSeparateListener); }
public NFeDistribuicaoDFeSoapStub(final org.apache.axis2.context.ConfigurationContext configurationContext, final java.lang.String targetEndpoint, final boolean useSeparateListener) throws org.apache.axis2.AxisFault { // To populate AxisService this.populateAxisService(); this.populateFaults(); this._serviceClient = new org.apache.axis2.client.ServiceClient(configurationContext, this._service); this._serviceClient.getOptions().setTo(new org.apache.axis2.addressing.EndpointReference(targetEndpoint)); this._serviceClient.getOptions().setUseSeparateListener(useSeparateListener); }
/** * sets the epr of the service client to given value * * @param address */ protected void setServiceClientEPR(String address) { EndpointReference toEPRFromServiceClient = _serviceClient.getOptions().getTo(); toEPRFromServiceClient.setAddress(address); }
public StatisticsAdminClient(String cookie, String backendServerURL, ConfigurationContext configCtx, Locale locale) throws AxisFault { String serviceURL = backendServerURL + "StatisticsAdmin"; bundle = ResourceBundle.getBundle(BUNDLE, locale); stub = new StatisticsAdminStub(configCtx, serviceURL); ServiceClient client = stub._getServiceClient(); Options option = client.getOptions(); option.setManageSession(true); option.setProperty(org.apache.axis2.transport.http.HTTPConstants.COOKIE_STRING, cookie); }
public TracerAdminClient(String cookie, String backendServerURL, ConfigurationContext configCtx, Locale locale) throws AxisFault { String serviceURL = backendServerURL + "TracerAdmin"; stub = new TracerAdminStub(configCtx, serviceURL); ServiceClient client = stub._getServiceClient(); Options option = client.getOptions(); option.setManageSession(true); option.setProperty(org.apache.axis2.transport.http.HTTPConstants.COOKIE_STRING, cookie); resourceBundle = ResourceBundle.getBundle(BUNDLE, locale); }
public AnalyzerAdminClient(String cookie, String backendServerURL, ConfigurationContext configCtx) throws AxisFault { String serviceURL = backendServerURL + ANALYZER_ADMIN_SERVICE_URL; stub = new AnalyzerAdminServiceStub(configCtx, serviceURL); ServiceClient client = stub._getServiceClient(); Options option = client.getOptions(); option.setManageSession(true); option.setProperty(org.apache.axis2.transport.http.HTTPConstants.COOKIE_STRING, cookie); }
public static void sendAckRequest(ServiceClient serviceClient, String sequenceKey) throws SandeshaException { Options options = serviceClient.getOptions(); if (options == null) throw new SandeshaException(SandeshaMessageHelper.getMessage( SandeshaMessageKeys.optionsObjectNotSet)); String oldSequenceKey = (String) options.getProperty(SandeshaClientConstants.SEQUENCE_KEY); options.setProperty(SandeshaClientConstants.SEQUENCE_KEY, sequenceKey); sendAckRequest(serviceClient); options.setProperty(SandeshaClientConstants.SEQUENCE_KEY, oldSequenceKey); }
public UserStoreCountClient(String cookie, String url, String serviceName, ConfigurationContext configContext) throws java.lang.Exception { try { stub = new UserStoreCountServiceStub(configContext, url + serviceName); ServiceClient client = stub._getServiceClient(); Options option = client.getOptions(); option.setManageSession(true); option.setProperty(org.apache.axis2.transport.http.HTTPConstants.COOKIE_STRING, cookie); } catch (Exception e) { handleException(e); } }
public UserAdminClient(String cookie, String url, String serviceName, ConfigurationContext configContext) throws java.lang.Exception { try { stub = new UserAdminStub(configContext, url + serviceName); ServiceClient client = stub._getServiceClient(); Options option = client.getOptions(); option.setManageSession(true); option.setProperty(org.apache.axis2.transport.http.HTTPConstants.COOKIE_STRING, cookie); } catch (Exception e) { handleException(e); } }
public SAMLSSOServiceClient(String backendServerURL, ConfigurationContext configCtx) throws AxisFault { String serviceURL = backendServerURL + "IdentitySAMLSSOService"; stub = new IdentitySAMLSSOServiceStub(configCtx, serviceURL); ServiceClient client = stub._getServiceClient(); Options option = client.getOptions(); option.setManageSession(true); }
public LogViewerClient(String backEndUrl, String sessionCookie) throws AxisFault { String endpoint = backEndUrl + serviceName; logViewerStub = new LogViewerStub(endpoint); logViewerStub._getServiceClient().getOptions().setTimeOutInMilliSeconds(300000); AuthenticateStub.authenticateStub(sessionCookie, logViewerStub); }
public LogViewerClient(String backEndURL, String userName, String password) throws AxisFault { String endpoint = backEndURL + serviceName; logViewerStub = new LogViewerStub(endpoint); logViewerStub._getServiceClient().getOptions().setTimeOutInMilliSeconds(300000); AuthenticateStub.authenticateStub(userName, password, logViewerStub); }