简体   繁体   English

如何使用SOAP UI或Java将资产添加到WSO2治理注册表

[英]How to add assets to WSO2 Governance Registry using SOAP UI or Java

I am new to WSO2 Governance Registry, I am using the version v5.4.0. 我是WSO2治理注册表的新手,正在使用v5.4.0版本。

After successfully creating custom extension using RXT and exporting the wsdl from /services/extension? 使用RXT成功创建自定义扩展并从/ services / extension导出wsdl之后? wsdl want to add assets to registry using a Java application. wsdl希望使用Java应用程序将资产添加到注册表。

I have created a soapUI project from wsdl but the add operation only takes <ser:info xmlns:ser="http://services.add.<assettype>.governance.carbon.wso2.org"> type. 我已经从wsdl创建了soapUI项目,但是添加操作仅采用<ser:info xmlns:ser="http://services.add.<assettype>.governance.carbon.wso2.org">类型。

How do I create this? 我该如何创建呢? What happened to my attributes in RXT? RXT中我的属性发生了什么?

I am still trying to wrap my mind around WSO2 Governance Registry and would appreciate any pointer in the right direction. 我仍在尝试围绕WSO2治理注册中心做出决定,希望能向正确的方向提供指导。

Since you want to add assets using a remote java application, I think better to do it via the Governance Java API or REST API because it is simpler and cleaner. 由于您想使用远程Java应用程序添加资产,因此我认为最好通过Governance Java API或REST API进行资产添加,因为它更简单,更简洁。

if you prefer to use Governance Java API, please refer " Governance API " and " Configurable Governance Artifacts with API " 如果您更喜欢使用Governance Java API,请参阅“ Governance API ”和“可配置的带有API的Governance工件

If you like to use Governance REST API, you can refer " Governance REST API " doc. 如果您想使用Governance REST API,则可以参考“ Governance REST API ”文档。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM