/** * This method generates the interface signatures for the given operation. * * @param pw * @param operation * @throws IOException */ protected void writeOperation(PrintWriter pw, Operation operation) throws IOException { writeComment(pw, operation.getDocumentationElement(), true); Parameters parms = bEntry.getParameters(operation); pw.println(parms.signature + ";"); } // writeOperation } // class JavaInterfaceWriter
/** * This method generates the interface signatures for the given operation. * * @param pw * @param operation * @throws IOException */ protected void writeOperation(PrintWriter pw, Operation operation) throws IOException { writeComment(pw, operation.getDocumentationElement(), true); Parameters parms = bEntry.getParameters(operation); pw.println(parms.signature + ";"); } // writeOperation } // class JavaInterfaceWriter
/** * This method generates the interface signatures for the given operation. * * @param pw * @param operation * @throws IOException */ protected void writeOperation(PrintWriter pw, Operation operation) throws IOException { writeComment(pw, operation.getDocumentationElement(), true); Parameters parms = bEntry.getParameters(operation); pw.println(parms.signature + ";"); } // writeOperation } // class JavaInterfaceWriter
/** * Are there any MIME parameters in the given binding's operation? * * @param bEntry * @param operation * @return */ public static boolean hasMIME(BindingEntry bEntry, BindingOperation operation) { Parameters parameters = bEntry.getParameters(operation.getOperation()); if (parameters != null) { for (int idx = 0; idx < parameters.list.size(); ++idx) { Parameter p = (Parameter) parameters.list.get(idx); if (p.getMIMEInfo() != null) { return true; } } } return false; } // hasMIME
/** * Are there any MIME parameters in the given binding's operation? * * @param bEntry * @param operation * @return */ public static boolean hasMIME(BindingEntry bEntry, BindingOperation operation) { Parameters parameters = bEntry.getParameters(operation.getOperation()); if (parameters != null) { for (int idx = 0; idx < parameters.list.size(); ++idx) { Parameter p = (Parameter) parameters.list.get(idx); if (p.getMIMEInfo() != null) { return true; } } } return false; } // hasMIME
/** * Are there any MIME parameters in the given binding's operation? * * @param bEntry * @param operation * @return */ public static boolean hasMIME(BindingEntry bEntry, BindingOperation operation) { Parameters parameters = bEntry.getParameters(operation.getOperation()); if (parameters != null) { for (int idx = 0; idx < parameters.list.size(); ++idx) { Parameter p = (Parameter) parameters.list.get(idx); if (p.getMIMEInfo() != null) { return true; } } } return false; } // hasMIME
Parameters params = bEntry.getParameters(operation);
Parameters params = bEntry.getParameters(operation);
Parameters params = bEntry.getParameters(operation);
/** * Write the body of the binding's stub file. * * @param pw * @throws IOException */ protected void writeFileBody(PrintWriter pw) throws IOException { List operations = binding.getBindingOperations(); for (int i = 0; i < operations.size(); ++i) { BindingOperation operation = (BindingOperation) operations.get(i); Operation ptOperation = operation.getOperation(); OperationType type = ptOperation.getStyle(); Parameters parameters = bEntry.getParameters(operation.getOperation()); // These operation types are not supported. The signature // will be a string stating that fact. if ((OperationType.NOTIFICATION.equals(type)) || (OperationType.SOLICIT_RESPONSE.equals(type))) { pw.println(parameters.signature); pw.println(); } else { writeOperation(pw, parameters); } } } // writeFileBody
/** * Write the body of the binding's stub file. * * @param pw * @throws IOException */ protected void writeFileBody(PrintWriter pw) throws IOException { List operations = binding.getBindingOperations(); for (int i = 0; i < operations.size(); ++i) { BindingOperation operation = (BindingOperation) operations.get(i); Operation ptOperation = operation.getOperation(); OperationType type = ptOperation.getStyle(); Parameters parameters = bEntry.getParameters(operation.getOperation()); // These operation types are not supported. The signature // will be a string stating that fact. if ((OperationType.NOTIFICATION.equals(type)) || (OperationType.SOLICIT_RESPONSE.equals(type))) { pw.println(parameters.signature); pw.println(); } else { writeOperation(pw, parameters); } } } // writeFileBody
/** * Write the body of the binding's stub file. * * @param pw * @throws IOException */ protected void writeFileBody(PrintWriter pw) throws IOException { List operations = binding.getBindingOperations(); for (int i = 0; i < operations.size(); ++i) { BindingOperation operation = (BindingOperation) operations.get(i); Operation ptOperation = operation.getOperation(); OperationType type = ptOperation.getStyle(); Parameters parameters = bEntry.getParameters(operation.getOperation()); // These operation types are not supported. The signature // will be a string stating that fact. if ((OperationType.NOTIFICATION.equals(type)) || (OperationType.SOLICIT_RESPONSE.equals(type))) { pw.println(parameters.signature); pw.println(); } else { writeOperation(pw, parameters); } } } // writeFileBody
bEntry.getParameters().values().iterator();
BindingEntry bEntry = symbolTable.getBindingEntry(binding.getQName()); Iterator i = bEntry.getParameters().keySet().iterator();
BindingEntry bEntry = symbolTable.getBindingEntry(binding.getQName()); Iterator i = bEntry.getParameters().keySet().iterator();
BindingEntry bEntry = symbolTable.getBindingEntry(binding.getQName()); Iterator i = bEntry.getParameters().keySet().iterator();
bEntry.getParameters().values().iterator();
SymbolTable symbolTable = wsdlParser.getSymbolTable(); BindingEntry bEntry = symbolTable.getBindingEntry(binding.getQName()); if(bEntry.getParameters().size() != proxyInterface.getMethods().length) { throw new ServiceException(Messages.getMessage("incompatibleSEI00", "" + proxyInterface.getName()));
SymbolTable symbolTable = wsdlParser.getSymbolTable(); BindingEntry bEntry = symbolTable.getBindingEntry(binding.getQName()); if(bEntry.getParameters().size() != proxyInterface.getMethods().length) { throw new ServiceException(Messages.getMessage("incompatibleSEI00", "" + proxyInterface.getName()));
SymbolTable symbolTable = wsdlParser.getSymbolTable(); BindingEntry bEntry = symbolTable.getBindingEntry(binding.getQName()); if(bEntry.getParameters().size() != proxyInterface.getMethods().length) { throw new ServiceException(Messages.getMessage("incompatibleSEI00", "" + proxyInterface.getName()));