wso2 unable to locate the specified wsdl from registry

痞子三分冷 提交于 2019-12-11 02:16:40

问题


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: 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

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

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


回答1:


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: Encountered illegal extension element '{http://schemas.xmlsoap.org/wsdl/}porttype'

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.

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




回答2:


Same error message here. Perhaps a quicker solution: I used WSO2 Developer Studio to validate the project WSDL's which identifies the problem soon enough. (Go to the WSDL, right-click, "validate", and your error appears in the problem view)



来源:https://stackoverflow.com/questions/16025038/wso2-unable-to-locate-the-specified-wsdl-from-registry

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!