[英]Web Service with Java 1.6 and Tomcat6 in Debian / Linux
I tried to develop a very simple Java WebService with Jdeveloper 12 (a single string variable with getter and setter). 我尝试使用Jdeveloper 12(带有getter和setter的单个字符串变量)开发非常简单的Java WebService。 I tried debugging it on Windows and all went fine (I can get and set the values on the variable).
我尝试在Windows上调试它,但一切正常(我可以获取并设置变量的值)。
I created the " .war
" file but when I try to develop to tomcat (with basic configuration) 我创建了“
.war
”文件,但是当我尝试开发tomcat时(使用基本配置)
I can't see it on available webservices nor I can't access it... 我无法在可用的Web服务上看到它,也无法访问它...
I'm trying to develop it on Debian 6.0.7
. 我正在尝试在
Debian 6.0.7
上进行开发。
I didn't find the settings to change the port where the webservice is listening on too. 我也没有找到更改网络服务监听端口的设置。
I'll accept tutorial with Eclipse or Netbeans. 我将接受Eclipse或Netbeans的教程。
Does anyone know a guide or a complete tutorial from the developing to the deploy of the web service? 有谁知道从开发Web服务到部署Web服务的指南或完整教程? I need to know how to configure the various
.xml
files to let it working.. 我需要知道如何配置各种
.xml
文件以使其工作。
I Assume you are trying to deploy to tomcat. 我假设您正在尝试部署到tomcat。 Have you used any frameworks to convert your java program into a web service?
您是否使用过任何框架将Java程序转换为Web服务? Is there any " .wsdl " file which you can locate?
您可以找到任何“ .wsdl”文件吗?
Did you miss the points 2 & 3 ? 您是否错过了第2点和第3点?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.