问题描述
我在lotus使用java代理调用一个webservice,但是每次运行到Serviceservice=newService();的时候就报下面的错误2009-03-2422:01:38HTTPJVM:log4j:WARNNoappenderscouldbefoundforlogger(org.apache.axis.i18n.ProjectResourceBundle).2009-03-2422:01:39HTTPJVM:log4j:WARNPleaseinitializethelog4jsystemproperly.2009-03-2422:01:39HTTPJVM:org.apache.axis.InternalException:org.apache.axis.ConfigurationException:org.apache.axis.ConfigurationException:Noengineconfigurationfile-aborting!org.apache.axis.ConfigurationException:Noengineconfigurationfile-aborting!atorg.apache.axis.configuration.FileProvider.configureEngine(FileProvider.java:175)atorg.apache.axis.AxisEngine.init(AxisEngine.java:172)atorg.apache.axis.AxisEngine.<init>(AxisEngine.java:156)atorg.apache.axis.client.AxisClien2009-03-2422:01:39HTTPJVM:atorg.apache.axis.AxisEngine.init(AxisEngine.java:174)2009-03-2422:01:39HTTPJVM:atorg.apache.axis.AxisEngine.<init>(AxisEngine.java:156)2009-03-2422:01:39HTTPJVM:atorg.apache.axis.client.AxisClient.<init>(AxisClient.java:52)2009-03-2422:01:39HTTPJVM:atorg.apache.axis.client.Service.getAxisClient(Service.java:104)2009-03-2422:01:39HTTPJVM:atorg.apache.axis.client.Service.<init>(Service.java:113)2009-03-2422:01:39HTTPJVM:atJavaAgent.NotesMain(JavaAgent.java:37)2009-03-2422:01:39HTTPJVM:atlotus.domino.AgentBase.runNotes(UnknownSource)2009-03-2422:01:39HTTPJVM:atlotus.domino.NotesThread.run(UnknownSource)我已经引用了axis的包的了!importorg.apache.axis.client.Call;importorg.apache.axis.client.Service;importjavax.xml.namespace.QName;有那位见过或者做过类似的程序呀,请指正。SOAP的方式不是太想用!先谢谢了!
解决方案
解决方案二:
http://www.coderanch.com/t/75344/Websphere/WSAD-Apache-Axis-client-config