__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();
/** * 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); } }
public void addMessage(AxisMessage message, String label) { if (WSDLConstants.MESSAGE_LABEL_OUT_VALUE.equals(label)) { addChild(OUT_MESSAGE_KEY, message); } else { throw new UnsupportedOperationException("Not yet implemented"); } }
new OutOnlyAxisOperation(new QName(OUT_ONLY_OPERATION)); asyncOperation.setMessageReceiver(SynapseCallbackReceiver.getInstance()); AxisMessage outOnlyMsg = new AxisMessage(); outOnlyMsg.setName("out-message"); outOnlyMsg.setParent(asyncOperation); asyncOperation.addMessage(outMsg, WSDLConstants.MESSAGE_LABEL_OUT_VALUE);
new OutOnlyAxisOperation(new QName(OUT_ONLY_OPERATION)); AxisMessage outOnlyMsg = new AxisMessage(); outOnlyMsg.setName("out-message"); outOnlyMsg.setParent(outOnlyAxisOperation); outOnlyAxisOperation.addMessage(outMsg, WSDLConstants.MESSAGE_LABEL_OUT_VALUE);
new OutOnlyAxisOperation(new QName(OUT_ONLY_OPERATION)); asyncOperation.setMessageReceiver(getCallbackReceiver(synCfg, axisCfg)); AxisMessage outOnlyMsg = new AxisMessage(); outOnlyMsg.setName("out-message"); outOnlyMsg.setParent(asyncOperation); asyncOperation.addMessage(outMsg, WSDLConstants.MESSAGE_LABEL_OUT_VALUE);
new OutOnlyAxisOperation(new QName(OUT_ONLY_OPERATION)); AxisMessage outOnlyMsg = new AxisMessage(); outOnlyMsg.setName("out-message"); outOnlyMsg.setParent(outOnlyAxisOperation); outOnlyAxisOperation.addMessage(outMsg, WSDLConstants.MESSAGE_LABEL_OUT_VALUE);
WSDL2Constants.MEP_URI_OUT_ONLY.equals(mepURI) || WSDL2Constants.MEP_URI_OUT_ONLY.equals(mepURI)) { abOpdesc = new OutOnlyAxisOperation(); } else if (WSDL2Constants.MEP_URI_IN_OUT.equals(mepURI) || WSDL2Constants.MEP_URI_IN_OUT.equals(mepURI) ||
/** * 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); } }
public void addMessage(AxisMessage message, String label) { if (WSDLConstants.MESSAGE_LABEL_OUT_VALUE.equals(label)) { addChild(OUT_MESSAGE_KEY, message); } else { throw new UnsupportedOperationException("Not yet implemented"); } }
WSDL2Constants.MEP_URI_OUT_ONLY.equals(mepURI) || WSDL2Constants.MEP_URI_OUT_ONLY.equals(mepURI)) { abOpdesc = new OutOnlyAxisOperation(); } else if (WSDL2Constants.MEP_URI_IN_OUT.equals(mepURI) || WSDL2Constants.MEP_URI_IN_OUT.equals(mepURI) ||
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; } }
private void createMessage() { AxisMessage outMessage = new AxisMessage(); outMessage.setDirection(WSDLConstants.WSDL_MESSAGE_DIRECTION_OUT); outMessage.setParent(this); inFaultMessage = new AxisMessage(); inFaultMessage.setParent(this); outFaultMessage = new AxisMessage(); outFaultMessage.setParent(this); inPhases = new ArrayList(); addChild(OUT_MESSAGE_KEY, outMessage); }
__operation = new org.apache.axis2.description.OutOnlyAxisOperation(); __operation = new org.apache.axis2.description.OutOnlyAxisOperation();
private void createMessage() { AxisMessage outMessage = new AxisMessage(); outMessage.setDirection(WSDLConstants.WSDL_MESSAGE_DIRECTION_OUT); outMessage.setParent(this); inFaultMessage = new AxisMessage(); inFaultMessage.setParent(this); outFaultMessage = new AxisMessage(); outFaultMessage.setParent(this); inPhases = new ArrayList(); addChild(OUT_MESSAGE_KEY, outMessage); }
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; }