欢迎使用普元产品知识库,本知识库包含普元应用开发平台EOSPlatform,流程平台BPS,企业服务总线ESB,微服务平台Microservice,运维管理平台Devops,数据集成平台DI

页面树结构

欢迎使用普元文档库

Skip to end of metadata
Go to start of metadata

【问题】

EOS Platform 7.6 逻辑流中用Web Service图元调用第三方提供的服务,报错:

Caused by: ErrCode: PARSE_EXCEPTION
Message: 解析 url 'file:/D:/primeton/apache-tomcat-7.0.54/webapps/default/WEB-INF/_srv/work/user/com.primeton.xx.xx/xx/xx.wsdl' 有异常,(cannot found xsd node parser for qname {http://java.sun.com/xml/ns/jaxb}schemaBindings)
 at com.primeton.infra.xsd.impl.node.DefaultParseContext.parse(DefaultParseContext.java:104)
 at com.primeton.ext.infra.xsd.node.parser.XMLSchemaParser.parse(XMLSchemaParser.java:121)
 at com.primeton.ext.infra.xsd.node.parser.XMLSchemaParser.parse(XMLSchemaParser.java:67)
 at com.primeton.infra.wsclient.impl.WSDLParser.parse(WSDLParser.java:98)
 at com.primeton.ext.infra.wsclient.WSDLCache.getWSDL(WSDLCache.java:55)
 at com.primeton.infra.wsclient.impl.WebServiceCaller.call(WebServiceCaller.java:190)
 at com.primeton.infra.wsclient.impl.CallerImpl.call(CallerImpl.java:46)
 at com.primeton.mobile.logic.contacts.utils.newcomponent.newbiz_biz.webService0(newbiz_biz.java:183)
 at com.primeton.mobile.logic.contacts.utils.newcomponent.newbiz_biz.__choicewebService0

......

【解答】

问题原因:第三方提供的webservice服务采用了jaxb schema,目前EOS还未兼容jaxb schema的功能,对WSDL中的jaxb:schemaBindings解析不了。

建议解决方案:尝试去除WSDLjaxb相关的节点,去除后应该不会影响WebSerivice服务

WSDLjaxb相关的节点如下图所示: