eclipse根据wsdl文件生成webservice客户端
一、前期准备: (1)
1、配置log4j (1)
2、log4j使用jar包: (2)
3、wsdl使用jar包: (2)
二、开始生成文件: (2)
一、前期准备:
1、配置log4j
没有配置的场合提示下列的信息(可以不配置):
(
log4j:WARN No appenders could be found for logger (org.apache.axis.i18n.ProjectResourceBundle).
log4j:WARN Please initialize the log4j system properly.
Error: Missing argument to option -p
)
log4j.properties文件内容:
log4j.rootLogger=info,stdout,R
########################
# Console Appender
#######################
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.Target=System.out
http://www.doczj.com/doc/6f2ecb3310661ed9ad51f303.htmlyout=org.apache.log4j.PatternLayout
http://www.doczj.com/doc/6f2ecb3310661ed9ad51f303.htmlyout.ConversionPattern=%X{LKV}%d{yyyy-MM -dd HH:mm:ss,SSS}%c%t%L%p-%m%n
########################
# File Appender
#######################
log4j.appender.R=org.apache.log4j.DailyRollingFileAppender
#log4j.appender.R.File=${WORKDIR}/TestWebService/WebRoot/logs/out