IntelliJ不使用Apache Axis 2从{J}生成WSDL

时间:2017-09-08 23:31:01

标签: soap wsdl axis2 jetbrains-ide

我正在尝试使用IntelliJ(最新版本的最终版本)使用Apache Axis2从java代码生成WSDL,但是下面的屏幕只是摇晃几秒钟而没有任何反应。这实际上有用吗?我的网络服务是一个简单的“回声”服务...... :(

enter image description here

1 个答案:

答案 0 :(得分:2)

为了使Axis2 WSDL生成工作,您需要:

  1. https://axis.apache.org/axis2/java/core/download.html
  2. 下载Axis2二进制分发
  3. 在Intellij上打开 import talib # --------------------------------------------------- n1, n2, period, stock = 10, 21, 60, sid(24) # --------------------------------------------------- def initialize(context): schedule_function(trade, date_rules.week_start(), time_rules.market_open()) def trade(context, data): ob = 80 #"Over Bought Level" os = -80 #"Over Sold Level" if get_open_orders(): return close = data.history(stock, 'close', period + 1, '1d').dropna() low = data.history(stock, 'low', period + 1, '1d').dropna() high = data.history(stock, 'high', period + 1, '1d').dropna() ap = (high + low + close) / 3 esa = talib.EMA(ap, timeperiod=n1) d = talib.EMA(abs(ap - esa), timeperiod=n1) ci = (ap - esa) / (0.015 * d) wt1 = talib.EMA(ci, timeperiod=n2) record(wt1 = wt1[-1], ob = ob,os = os) if data.can_trade(stock): if wt1[-1] > os: order_target_percent(stock, 2) elif wt1[-1] < ob: order_target_percent(stock, 0)
  4. 将Apache Axis 2路径配置为解压缩先前下载的二进制文件的位置
  5. enter image description here

    现在Settings > Tools > Web Services选项Generate Java Code From Wsdl可以正常使用。