OperationDesc operation = new OperationDesc();
operation.setName("echo");
if (second != null)
operation.addParameter(new QName("", "second"), new QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, ParameterDesc.IN, false, false);
if (first != null)
operation.addParameter(new QName("", "first"), new QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, ParameterDesc.IN, false, false);
operation.setReturnType(new QName("urn:rpcParams.wsdl.test", "EchoStruct"));
operation.setReturnClass(EchoStruct.class);
operation.setReturnQName(new QName("", "echoReturn"));
operation.setStyle(org.apache.axis.constants.Style.RPC);
operation.setUse(org.apache.axis.constants.Use.ENCODED);