-
2004年12月03日
How to test shark as WEB service?
版权声明:转载时请以超链接形式标明文章原始出处和作者信息及本声明
Shark can be deployed as a WEB service, and it provides basic SOAP interfaces defined by ASAP schema and wsdl that you can find in
http://fireshort.blogbus.com/logs/524606.html
Shark/modules/SharkWebService/ASAP/API/source folder.
You can test shark using public ASAP client at: http://67.113.139.106/ASAPClient/ :
NOTE: to test it this way, you must have real IP address:
1) edit conf/sharkAxisWrapper.conf file, and uncomment line:
#wrapper.java.additional.1=-Dasap.test.myadd=www.prozone.co.yu
and instead of www.prozone.co.yu put your address
edit the line:
wrapper.app.parameter.4=8080
if you want to change the port where AXIS will listen for SOAP requests
2) deploy shark as a WEB service by using sharkAxisServiceInstall.bat and sharkAxisServiceStart.bat scripts under windows or
appropriate startup script under linux (in this moment, shark will be deployed as a WEB service, and XPDL test-JavaScript.xpdl will
be loaded into it
3) in ASAP client, enter the address where the shark is deployed, i.e:
http://www.prozone.co.yu:8080/axis/services/asapFactoryBinding
and press submit button
4) You will get the next screen with a description of shark's test-JavaScript.XPDL's math_operations process. Press create Instance
button
5) enter the process name and description, and at the bottom of the page, enter parameters P1 and P2 (delete other parameter rows)
and press button create (for the operation, you can enter multiplication, division or substraction if you want operation other than
addition to be performed on these numbers)
6) after this step, you've started shark's process for adding two numbers you've entered. This process should be immediately
finished, so press refresh button to get current state. After that go to Details where you'll see the Result sent by shark engine
(amongst other things)随机文章:
结合ToolAgent与自定义数据类型实现下拉列表 2005年10月18日Shark里面如何使用自定义数据类型 2005年09月15日how to use the Deadline Activity property 2005年09月02日如何测试shark与异种工作流引擎的交互性 2004年12月03日Example of list passing 2004年11月16日
收藏到:Del.icio.us
引用地址:





