Package com.eviware.soapui.impl.wsdl.endpoint.DefaultEndpointStrategy

Examples of com.eviware.soapui.impl.wsdl.endpoint.DefaultEndpointStrategy.EndpointDefaults


            return 2;
        }

        public Object getValueAt(int rowIndex, int columnIndex) {
            String endpoint = getEndpointAt(rowIndex);
            EndpointDefaults defaults = strategy.getEndpointDefaults(endpoint);

            switch (columnIndex) {
                case 0:
                    return endpoint;
                case 1:
                    return defaults.getUsername();
                case 2:
                    return defaults.getPassword();
                case 3:
                    return defaults.getDomain();
                case 4:
                    return defaults.getWssType();
                case 5:
                    return defaults.getWssTimeToLive();
                case 6:
                    return defaults.getOutgoingWss();
                case 7:
                    return defaults.getIncomingWss();
                case 8:
                    return defaults.getMode();
            }

            return null;
        }
View Full Code Here


        }

        @Override
        public void setValueAt(Object aValue, int rowIndex, int columnIndex) {
            String endpoint = getEndpointAt(rowIndex);
            EndpointDefaults defaults = strategy.getEndpointDefaults(endpoint);

            if (aValue == null) {
                aValue = "";
            }

            switch (columnIndex) {
                case 0: {
                    // strategy.changeEndpoint( endpoint, aValue.toString() );
                    iface.changeEndpoint(endpoint, aValue.toString());
                    break;
                }
                case 1: {
                    defaults.setUsername(aValue.toString());
                    break;
                }
                case 2: {
                    defaults.setPassword(aValue.toString());
                    break;
                }
                case 3: {
                    defaults.setDomain(aValue.toString());
                    break;
                }
                case 4: {
                    defaults.setWssType(aValue.toString());
                    break;
                }
                case 5: {
                    defaults.setWssTimeToLive(aValue.toString());
                    break;
                }
                case 6: {
                    defaults.setOutgoingWss(aValue.toString());
                    break;
                }
                case 7: {
                    defaults.setIncomingWss(aValue.toString());
                    break;
                }
                case 8: {
                    defaults.setMode(EndpointConfig.Mode.Enum.forString(aValue.toString()));
                    break;
                }
            }
        }
View Full Code Here

TOP

Related Classes of com.eviware.soapui.impl.wsdl.endpoint.DefaultEndpointStrategy.EndpointDefaults

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.