使用Java连接的QC API JAR [英] QC API JAR to connect using java

查看:171
本文介绍了使用Java连接的QC API JAR的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用 java/servlets/springs 集成QC(也称为ALM),并且我尝试使用以下jar来实现,但是我无法建立连接.

I'm trying to integrate QC (also known as ALM) using java/servlets/springs and I've tried the following jar to do it, however I'm not able to establish the connection.

1)"com4j"-它已经很老了,并且在该论坛上也被提及,但是最新的QC或ALM却无法通过此jar连接起来

1) "com4j" - which is quite old and is also mentioned on this forum as well, however the latest QC or ALM doesn't gets connected using this jar

使用Com4从Java进行QC连接

非常感谢您的帮助.

推荐答案

质量控制版本10.0或< 10.0不支持rest api,包括11、11.5和12在内的最新版QC也不支持其余的所有操作,例如设计步骤创建/更新/读取或易处理性链接.

QC version 10.0 or < 10.0 do not support rest api, also latest version of QC including 11, 11.5 and 12 do not support all of its operations through rest such as design-step create/update/read or tractability links.

OTA api是基于.net的纯com类,您可以在Windows计算机上注册,并使用c#或vb通过wcf/web服务公开各种功能,例如各种对象的创建,更新,读取操作(缺陷/要求/测试). .反过来,在Java中,您只需要调用自己公开的Web服务即可.

OTA api is pure .net based com classes which you can register on windows machine and use c# or vb to expose functionality such as create,update,read operations for various objects (Defect/req/test) via wcf/web services. Inturn in java you just need to call the web service which is exposed by yourself.

OTAClient api存在一个问题,由于内存分配问题,它使dll崩溃.在64x环境中很难处理它.最好的方法是使用iis通过开发的Web服务公开功能,因为iis具有自动恢复方法,可以在dll崩溃的情况下使其正常运行.

There is one issue with OTAClient api, due to which it crashes the dll because of memory allocation problems. Its hard to deal with it in 64x environment. Best approach is to expose functionality through developed web services using iis as iis have auto recovery approach to make it up and running in case dll crashes.

如果您还有其他疑问,请告诉我.

Let me know if you have further questions on this.

这篇关于使用Java连接的QC API JAR的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆