soap-builder.jar,工具包,可解析wsdl

时间:2021-04-30 11:32:55
【文件属性】:

文件名称:soap-builder.jar,工具包,可解析wsdl

文件大小:5.12MB

文件格式:JAR

更新时间:2021-04-30 11:32:55

解析wsdl

样例,更多用法自行研究: public List>>> getWsdlMsg(String wsdlPath){ Wsdl wsdl = Wsdl.parse(wsdlPath); List qNameList = wsdl.getBindings(); List>>> bindList = new ArrayList>>>(); for(int i=0;i operationList = builder.getOperations(); Map>> bindMap = new HashMap>>(); List> optList = new ArrayList>(); for(int j=0;j optMap = new HashMap(); optMap.put("optName", optName); optMap.put("soapAction", soapAction==null?"":soapAction); optMap.put("requestMsg", requestMsg); optMap.put("responseMsg", responseMsg); optList.add(optMap); }catch (Exception e) { } } bindMap.put(localPart, optList); bindList.add(bindMap); } return bindList; }


网友评论