如何从 HTTPS 请求中获取 WSDL文件的操作? 我尝试了此操作,但不适用于 HTTPS 请求。它适用于 HTTP 。 // url = https // xyz.com?wsdl
//url = https//xyz.com?wsdl
WsdlProject project = new WsdlProject();
WsdlInterface[] wsdls = WsdlImporter.importWsdl(project,url);
int index=0;
for(WsdlInterface wsInterface: wsdls) {
index++;
Operation[] operations = wsInterface.getAllOperations();
for(Operation op:operations) {
ApiOperation operation = new ApiOperation();
operation.setName(op.getName());
//Adding operation to a list
}
}
如何获取用于HTTPS网址的WSDL文件?