DSS WSDL1.1 WCF给出无法导入wsdl:binding,无法导入wsdl:port,无法导入wsdl:

时间:2013-05-06 17:56:29

标签: wso2dss

我有一个WSO2数据服务,我正在使用WSDL 1.1并尝试使用WCF添加VS2010服务引用,它会生成3个WSDL错误,我无法弄清楚。

    Warning 1   Custom tool warning: Cannot import wsdl:binding
Detail: The given key was not present in the dictionary.
XPath to Error Source: //wsdl:definitions[@targetNamespace='http://ws.wso2.org/dataservice']/wsdl:binding[@name='MzpIDMgmtHttpBinding'] C:\dev\AssociateEntityService\AssociateEntityService\Service References\MzIdManagementServiceReference\Reference.svcmap 1   1   AssociateEntityService

Warning 2   Custom tool warning: Cannot import wsdl:port
Detail: There was an error importing a wsdl:binding that the wsdl:port is dependent on.
XPath to wsdl:binding: //wsdl:definitions[@targetNamespace='http://ws.wso2.org/dataservice']/wsdl:binding[@name='MzpIDMgmtHttpBinding']
XPath to Error Source: //wsdl:definitions[@targetNamespace='http://ws.wso2.org/dataservice']/wsdl:service[@name='MzpIDMgmt']/wsdl:port[@name='HTTPEndpoint']    C:\dev\AssociateEntityService\AssociateEntityService\Service References\MzIdManagementServiceReference\Reference.svcmap 1   1   AssociateEntityService

Warning 3   Custom tool warning: Cannot import wsdl:port
Detail: There was an error importing a wsdl:binding that the wsdl:port is dependent on.
XPath to wsdl:binding: //wsdl:definitions[@targetNamespace='http://ws.wso2.org/dataservice']/wsdl:binding[@name='MzpIDMgmtHttpBinding']
XPath to Error Source: //wsdl:definitions[@targetNamespace='http://ws.wso2.org/dataservice']/wsdl:service[@name='MzpIDMgmt']/wsdl:port[@name='SecureHTTPEndpoint']  C:\dev\AssociateEntityService\AssociateEntityService\Service References\MzIdManagementServiceReference\Reference.svcmap 1   1   AssociateEntityService

我无法发布WSDL,因为它很敏感。此外,它只发生在三个生成的绑定之一。有没有办法来抑制生成绑定?我找到了一种方法来压制http://wso2.org/library/3821。它只在Html绑定上遇到问题。

1 个答案:

答案 0 :(得分:1)

我使用引用的文章来禁用Http绑定的生成。 OF,文章错了,你必须做“disableREST”

相关问题