玉网络服务集成网关

时间:2016-07-15 08:37:31

标签: rest soap pug

我已经浏览了以下网址,用于在jade http://jade.tilab.com/doc/tutorials/WSIG_Guide.pdf

中构建webservices

最后一页提供了运行wsig ....

给出的示例示例的说明

当我尝试运行runMathAgent.bat时...我得到以下输出

Jul 15, 2016 12:57:55 PM jade.core.BaseService init
INFO: Service jade.core.management.AgentManagement initialized
Jul 15, 2016 12:57:55 PM jade.core.BaseService init
INFO: Service jade.core.messaging.Messaging initialized
Jul 15, 2016 12:57:55 PM jade.core.BaseService init
INFO: Service jade.core.resource.ResourceManagement initialized
Jul 15, 2016 12:57:55 PM jade.core.BaseService init
INFO: Service jade.core.mobility.AgentMobility initialized
Jul 15, 2016 12:57:55 PM jade.core.BaseService init
INFO: Service jade.core.event.Notification initialized
Jul 15, 2016 12:57:55 PM jade.core.AgentContainerImpl startBootstrapAgents

> SEVERE: Cannot create agent MathAgent1: Class
> com.tilab.wsig.examples.MathAgent for agent ( agent-identifier :name
> MathAgent1@WSIGTestPlatform ) not found - Caused by: 
> com.tilab.wsig.examples.MathAgent

Jul 15, 2016 12:57:55 PM jade.core.AgentContainerImpl joinPlatform
INFO: --------------------------------------
Agent container Container-2@192.168.1.3 is ready.
--------------------------------------------

2 个答案:

答案 0 :(得分:1)

我终于为我的问题找到了解决方案。要运行jade Web服务示例,您需要使用ant(ant deploy-examples)进行部署,并且配置包括apache的juddi版本。这将解决问题。

答案 1 :(得分:0)

您需要通过部署示例来运行jade Web服务示例:using ant deploy-examples命令。