系统发布于linux + tomcat5.5.33 + jdk1.6_45 + java,其中系统及时启动服务器发布webService错误,如下图所示:
代码如下
public void updateResponse(final String message) {
runOnUiThread(new Runnable() {
//MainActivity.this.runOnUiThread(new Runnable() {
@Override
public void run() {
ListView mListView = (ListView) findViewById(R.id.list_view);
String[] stringArray = message.split("\n");
// This is the array adapter, it takes the context of the activity as a
// first parameter, the type of list view as a second parameter and your
// array as a third parameter.
ArrayAdapter<String> adapter = new ArrayAdapter<>(MainActivity.this, android.R.layout.simple_list_item_1, stringArray);
mListView.setAdapter(adapter);
}
});
}
Endpoint.publish(PUBParm.FS_WS_ADDRESS_URL +"/BQFT/fs?wsdl", new CifServiceImpl());
@WebService 公共接口CifService {
package service.service;
}
public String testFsInter(String str);
@WebMethod(operationName = "findByDate")
public String findByDate(@WebParam(name="strDate")String strDate) throws Exception;
@WebMethod(operationName = "findByDateBean")
public List<CifInfo> findByDateBean(@WebParam(name="strDate")String strDate) throws Exception;
@WebService(endpointInterface =&#34; service.service.CifService&#34;,targetNamespace =&#34; http://fs.service/&#34;,serviceName =&#34; FsService&#34;,portName = &#34; FsPort&#34) 公共类CifServiceImpl实现CifService {
package service.service.impl;
}
Windows环境中的项目可以启动和释放。这可能是原因,以及如何解决它
答案 0 :(得分:0)
The problem has been solved, but since the operation too much, only suspected war package in question, or Jar package conflicts related to the project in tuscany, but the personal feeling of great might -line war issues