我正在尝试使用Eclipse从动态WSDL文件生成一个代理类。由于导入的模式WSDL,我得到了一个错误。请帮我解决这个问题。
我得到了以下异常:
Error javax.wsdl.WSDLException: WSDLException: faultCode=PARSER_ERROR: Problem parsing 'http://172.22.4.12/PKISignWS.asmx'.: org.xml.sax.SAXParseException: The element type "p" must be terminated by the matching end-tag "</p>"但是我的WSDL中没有p。
发布于 2015-01-21 23:25:21
.asmx通常是用于ASP.NET web服务的后缀,其WSDL是通过将?wsdl添加到.asmx服务地址来访问的。
因此,您应该使用http://172.22.4.12/PKISignWS.asmx?wsdl作为WSDL文件的目标。
https://stackoverflow.com/questions/28070303
复制相似问题