web - 尝试在 Informatica Powercenter 转换中导入 WSDL url 时出错
问题描述
我试图在 Informatica Powercenter 中导入 WSDL url,但在指定链接后,出现此错误:
错误(文件http://something/something?xsd=xsd0 , line 1, char 825 ):前缀:'q1' 无法解析为 URI。
你有同样的错误吗?
WSDL 如下:
<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:wsa10="http://www.w3.org/2005/08/addressing" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/addressing/policy" xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://tempuri.org/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" name="something" targetNamespace="http://tempuri.org/">
解决方案
我已经解决了。我编辑 xsd 存档,在架构级别声明 q1 元素。
推荐阅读
- algorithm - 如何使用共享元素对列表进行聚类
- ios - Obj-c - 在 UIWebView 中打开 PDF?
- linux - 在文件中多次替换单词之间的字符串
- python - 在 Julia 中,将逗号插入整数以进行打印,如 Python 3.6+
- sql - SQL 查询以查找前 80% 的贡献
- c# - C# 编写包含未知数量的同名节点的 XML 文件
- json - 快速格式化 JSON:JSON 写入中的类型无效 (OS_dispatch_data)
- oauth - In OpenID Connect, is it okay to pass an id token instead of an access token to a resource server for authorization?
- qt - QML 简单程序未运行
- haskell - Eta 转换以严格的语言改变语义