__operation = new org.apache.axis2.description.OutOnlyAxisOperation(); __operation = new org.apache.axis2.description.OutOnlyAxisOperation(); __operation = new org.apache.axis2.description.OutOnlyAxisOperation(); __operation = new org.apache.axis2.description.OutOnlyAxisOperation(); __operation = new org.apache.axis2.description.OutOnlyAxisOperation();
__operation = new org.apache.axis2.description.OutOnlyAxisOperation(); __operation = new org.apache.axis2.description.OutOnlyAxisOperation();
protected void addAnonymousOperations(){ RobustOutOnlyAxisOperation robustoutoonlyOperation = new RobustOutOnlyAxisOperation(ServiceClient.ANON_ROBUST_OUT_ONLY_OP); _service.addOperation(robustoutoonlyOperation); OutOnlyAxisOperation outOnlyOperation = new OutOnlyAxisOperation(ServiceClient.ANON_OUT_ONLY_OP); _service.addOperation(outOnlyOperation); OutInAxisOperation outInOperation = new OutInAxisOperation(ServiceClient.ANON_OUT_IN_OP); _service.addOperation(outInOperation); }
protected void addAnonymousOperations(){ RobustOutOnlyAxisOperation robustoutoonlyOperation = new RobustOutOnlyAxisOperation(ServiceClient.ANON_ROBUST_OUT_ONLY_OP); _service.addOperation(robustoutoonlyOperation); OutOnlyAxisOperation outOnlyOperation = new OutOnlyAxisOperation(ServiceClient.ANON_OUT_ONLY_OP); _service.addOperation(outOnlyOperation); OutInAxisOperation outInOperation = new OutInAxisOperation(ServiceClient.ANON_OUT_IN_OP); _service.addOperation(outInOperation); }
private void populateAxisService() throws org.apache.axis2.AxisFault { //creating the Service with a unique name _service = new org.apache.axis2.description.AxisService("BPELUploader" + getUniqueSuffix()); addAnonymousOperations(); //creating the operations org.apache.axis2.description.AxisOperation __operation; _operations = new org.apache.axis2.description.AxisOperation[2]; __operation = new org.apache.axis2.description.OutOnlyAxisOperation(); __operation.setName(new javax.xml.namespace.QName("http://services.deployer.bpel.carbon.wso2.org", "close")); _service.addOperation(__operation); _operations[0]=__operation; __operation = new org.apache.axis2.description.OutInAxisOperation(); __operation.setName(new javax.xml.namespace.QName("http://services.deployer.bpel.carbon.wso2.org", "uploadService")); _service.addOperation(__operation); _operations[1]=__operation; }
private void populateAxisService() throws org.apache.axis2.AxisFault { //creating the Service with a unique name _service = new org.apache.axis2.description.AxisService("SAML2SSOAuthenticationService" + getUniqueSuffix()); addAnonymousOperations(); //creating the operations org.apache.axis2.description.AxisOperation __operation; _operations = new org.apache.axis2.description.AxisOperation[2]; __operation = new org.apache.axis2.description.OutInAxisOperation(); __operation.setName(new javax.xml.namespace.QName("http://sso.saml2.authenticator.identity.carbon.wso2.org", "login")); _service.addOperation(__operation); _operations[0]=__operation; __operation = new org.apache.axis2.description.OutOnlyAxisOperation(); __operation.setName(new javax.xml.namespace.QName("http://sso.saml2.authenticator.identity.carbon.wso2.org", "logout")); _service.addOperation(__operation); _operations[1]=__operation; }
private void populateAxisService() throws org.apache.axis2.AxisFault { //creating the Service with a unique name _service = new org.apache.axis2.description.AxisService("GlobalAdminService" + getUniqueSuffix()); addAnonymousOperations(); //creating the operations org.apache.axis2.description.AxisOperation __operation; _operations = new org.apache.axis2.description.AxisOperation[2]; __operation = new org.apache.axis2.description.OutOnlyAxisOperation(); __operation.setName(new javax.xml.namespace.QName("http://admin.core.carbon.wso2.org", "logout")); _service.addOperation(__operation); _operations[0]=__operation; __operation = new org.apache.axis2.description.OutInAxisOperation(); __operation.setName(new javax.xml.namespace.QName("http://admin.core.carbon.wso2.org", "login")); _service.addOperation(__operation); _operations[1]=__operation; }
private void populateAxisService() throws org.apache.axis2.AxisFault { //creating the Service with a unique name _service = new org.apache.axis2.description.AxisService("SAML2SSOAuthenticationService" + getUniqueSuffix()); addAnonymousOperations(); //creating the operations org.apache.axis2.description.AxisOperation __operation; _operations = new org.apache.axis2.description.AxisOperation[2]; __operation = new org.apache.axis2.description.OutOnlyAxisOperation(); __operation.setName(new javax.xml.namespace.QName("http://sso.saml2.authenticator.identity.carbon.wso2.org", "logout")); _service.addOperation(__operation); _operations[0]=__operation; __operation = new org.apache.axis2.description.OutInAxisOperation(); __operation.setName(new javax.xml.namespace.QName("http://sso.saml2.authenticator.identity.carbon.wso2.org", "login")); _service.addOperation(__operation); _operations[1]=__operation; }
private void populateAxisService() throws org.apache.axis2.AxisFault { //creating the Service with a unique name _service = new org.apache.axis2.description.AxisService("HumanTaskUploader" + getUniqueSuffix()); addAnonymousOperations(); //creating the operations org.apache.axis2.description.AxisOperation __operation; _operations = new org.apache.axis2.description.AxisOperation[2]; __operation = new org.apache.axis2.description.OutOnlyAxisOperation(); __operation.setName(new javax.xml.namespace.QName("http://services.deployer.humantask.carbon.wso2.org", "close")); _service.addOperation(__operation); _operations[0]=__operation; __operation = new org.apache.axis2.description.OutInAxisOperation(); __operation.setName(new javax.xml.namespace.QName("http://services.deployer.humantask.carbon.wso2.org", "uploadHumanTask")); _service.addOperation(__operation); _operations[1]=__operation; }
__operation = new org.apache.axis2.description.OutOnlyAxisOperation(); __operation = new org.apache.axis2.description.OutOnlyAxisOperation();
/** * Adds the anonymous axis operations to the AxisService. Note that this is only needed on the * client side, and they are currently used in two cases (1) For Dispatch clients (which don't * use SEIs and thus don't use operations) (2) TEMPORARLIY for Services created without WSDL * (and thus which have no AxisOperations created) See the AxisInvocationController invoke * methods for more details. * <p/> * Based on ServiceClient.createAnonymouService */ private void addAnonymousAxisOperations() { if (axisService != null) { OutOnlyAxisOperation outOnlyOperation = new OutOnlyAxisOperation(ServiceClient.ANON_OUT_ONLY_OP); axisService.addOperation(outOnlyOperation); outOnlyOperation.setSoapAction(null); OutInAxisOperation outInOperation = new OutInAxisOperation(ServiceClient.ANON_OUT_IN_OP); axisService.addOperation(outInOperation); outInOperation.setSoapAction(null); } }
__operation = new org.apache.axis2.description.OutOnlyAxisOperation(); __operation = new org.apache.axis2.description.OutOnlyAxisOperation();
/** * Adds the anonymous axis operations to the AxisService. Note that this is only needed on the * client side, and they are currently used in two cases (1) For Dispatch clients (which don't * use SEIs and thus don't use operations) (2) TEMPORARLIY for Services created without WSDL * (and thus which have no AxisOperations created) See the AxisInvocationController invoke * methods for more details. * <p/> * Based on ServiceClient.createAnonymouService */ private void addAnonymousAxisOperations() { if (axisService != null) { OutOnlyAxisOperation outOnlyOperation = new OutOnlyAxisOperation(ServiceClient.ANON_OUT_ONLY_OP); axisService.addOperation(outOnlyOperation); outOnlyOperation.setSoapAction(null); OutInAxisOperation outInOperation = new OutInAxisOperation(ServiceClient.ANON_OUT_IN_OP); axisService.addOperation(outInOperation); outInOperation.setSoapAction(null); } }
private static AxisService createAnonymousService(AxisConfiguration axisCfg, String serviceKey) { try { OutOnlyAxisOperation outOnlyOperation = new OutOnlyAxisOperation(ServiceClient.ANON_OUT_ONLY_OP); OutInAxisOperation outInOperation = new OutInAxisOperation(ServiceClient.ANON_OUT_IN_OP); AxisService axisAnonymousService = new AxisService(serviceKey); axisAnonymousService.addOperation(outOnlyOperation); axisAnonymousService.addOperation(outInOperation); // set a right default action *after* operations have been added to the service. outOnlyOperation.setSoapAction(""); outInOperation.setSoapAction(""); if (log.isDebugEnabled()) { log.debug("Creating Client Service: " + serviceKey); } axisAnonymousService.setClientSide(true); axisCfg.addService(axisAnonymousService); return axisAnonymousService; } catch (AxisFault axisFault) { handleException("Adding service to axis configuration failed.", axisFault); } return null; } }
__operation = new org.apache.axis2.description.OutOnlyAxisOperation();
__operation = new org.apache.axis2.description.OutOnlyAxisOperation();
/** * Create an anonymous axisService with one (anonymous) operation for each MEP that we support * dealing with anonymously using the convenience APIs. * * @return the minted anonymous service */ private AxisService createAnonymousService() { // now add anonymous operations to the axis2 service for use with the // shortcut client API. NOTE: We only add the ones we know we'll use // later in the convenience API; if you use // this constructor then you can't expect any magic! AxisService axisService = new AxisService(ANON_SERVICE + anonServiceCounter.incrementAndGet()); RobustOutOnlyAxisOperation robustoutoonlyOperation = new RobustOutOnlyAxisOperation( ANON_ROBUST_OUT_ONLY_OP); axisService.addOperation(robustoutoonlyOperation); OutOnlyAxisOperation outOnlyOperation = new OutOnlyAxisOperation( ANON_OUT_ONLY_OP); axisService.addOperation(outOnlyOperation); OutInAxisOperation outInOperation = new OutInAxisOperation( ANON_OUT_IN_OP); axisService.addOperation(outInOperation); return axisService; }
/** * Create an anonymous axisService with one (anonymous) operation for each MEP that we support * dealing with anonymously using the convenience APIs. * * @return the minted anonymous service */ private AxisService createAnonymousService() { // now add anonymous operations to the axis2 service for use with the // shortcut client API. NOTE: We only add the ones we know we'll use // later in the convenience API; if you use // this constructor then you can't expect any magic! AxisService axisService = new AxisService(ANON_SERVICE + anonServiceCounter.incrementAndGet()); RobustOutOnlyAxisOperation robustoutoonlyOperation = new RobustOutOnlyAxisOperation( ANON_ROBUST_OUT_ONLY_OP); axisService.addOperation(robustoutoonlyOperation); OutOnlyAxisOperation outOnlyOperation = new OutOnlyAxisOperation( ANON_OUT_ONLY_OP); axisService.addOperation(outOnlyOperation); OutInAxisOperation outInOperation = new OutInAxisOperation( ANON_OUT_IN_OP); axisService.addOperation(outInOperation); return axisService; }
new OutOnlyAxisOperation(new QName(OUT_ONLY_OPERATION)); AxisMessage outOnlyMsg = new AxisMessage(); outOnlyMsg.setName("out-message");
new OutOnlyAxisOperation(new QName(OUT_ONLY_OPERATION)); asyncOperation.setMessageReceiver(SynapseCallbackReceiver.getInstance()); AxisMessage outOnlyMsg = new AxisMessage();