我有一个Web应用程序,我必须从中调用WSO2 Admin服务..我正在关注这个https://docs.wso2.com/display/IS570/Calling+Admin+Services
当我使用wsdl2java时,我得到了一个zip文件...当我打开它时,它只有一个pom.xml ..我怎么能用它?我的网络应用程序正在使用Maven本身..但是不知道如何使用这个pom.xml并调用管理服务?如何从这个pom.xml生成存根?
一旦使用maven客户端构建它,就会生成存根。见[1]作为样本。任何方式客户端存根都已在nexus中用于已发布的产品。
EX:如果我想使用ChallengeQuestionManagementAdminService的客户端存根,我可以通过添加maven依赖来实现
<dependency>
<groupId>org.wso2.carbon.identity.governance</groupId>
<artifactId>org.wso2.carbon.identity.recovery.stub</artifactId>
<version>xxx</version>
</dependency>