wso2 无法从注册表中找到指定的 wsdl [英] wso2 unable to locate the specified wsdl from registry

查看:27
本文介绍了wso2 无法从注册表中找到指定的 wsdl的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

好的,我们开始.问题是,使用我的代理服务,我单击设计视图,从注册表发布 wsdl,我选择已加载到注册表中的 wsdl,然后尝试保存代理,但出现以下错误:

ok, here we go. The issue is that with my proxy service i click design view, publish wsdl from registry, i pick the wsdl that i have loaded into the registry, then attempt to save the proxy but get the following error:

Couldn't build the proxy service : gasd_lookup. Unable to locate the specified WSDL to build the service {org.wso2.carbon.proxyadmin.service.ProxyServiceAdmin}

org.wso2.carbon.proxyadmin.ProxyAdminException:尝试将代理服务添加到 ESB 配置时出错:gasd_lookup :: 无法构建代理服务:gasd_lookup.无法找到指定的 WSDL 来构建服务

org.wso2.carbon.proxyadmin.ProxyAdminException: Error trying to add the proxy service to the ESB configuration : gasd_lookup :: Couldn't build the proxy service : gasd_lookup. Unable to locate the specified WSDL to build the service

自然这很烦人,因为我已经通过 web gui 从注册表中选择了资源,所以它显然在那里......

Naturally this is fairly annoying as i have selected the resource from the registry via the web gui so its obviously there...

这是我的设置:wso2esb 4.6.0服务代码通过部署同步器来自 gov Registry 4.5.3使用自定义证书连接到 BAM 2.2.0

Here is my setup: wso2esb 4.6.0 service code comes from gov registry 4.5.3 via deployment synchronizer custom cert is used connected to BAM 2.2.0

推荐答案

我通过启用缓存摆脱了我评论中的上述错误,之后我能够看到真正的错误,不幸的是它被记录为调试.错误是:

i got rid of the above error in my comment by enabling caching, after this i was able to see the real error, which was logged as debug unfortunately. The error was :

faultCode=INVALID_WSDL:遇到非法扩展元素'{http://schemas.xmlsoap.org/wsdl/}端口类型

faultCode=INVALID_WSDL: Encountered illegal extension element '{http://schemas.xmlsoap.org/wsdl/}porttype'

当我从 chrome 获取 wsdl 并保存它时,chrome 已自动将一些驼峰式外壳更改为小写.这是一个 chrome 错误.

When i took the wsdl from chrome and saved it, chrome had automatically changed some of the camel casing to lower case. This is a chrome bug.

当然,wso2 报告的初始错误完全不正确,因为它确实在注册表中找到了该文件,但它无效.

Naturally the initial error reported by wso2 was entirely incorrect, as it did find the file in the registry but it was invalid.

这篇关于wso2 无法从注册表中找到指定的 wsdl的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆