我想创建基于 WSDL 的 .net WCF 代理类,它描述了 java soap 服务。当我尝试生成类时,出现以下错误
Error: Cannot import wsdl:port
Detail: There was an error importing a wsdl:binding that the wsdl:port is depend
ent on.
XPath to wsdl:binding: //wsdl:definitions[@targetNamespace='mywsdl.wsdl']/wsdl:binding[@name='SomethingSoap12
']
XPath to Error Source: //wsdl:definitions[@targetNamespace='mywsdl.wsdl']/wsdl:service[@name='test']/wsdl:port[@name='SomethingSoap12']
svcutil 生成 .CS 文件,但是当我调用服务并查看 SOAP 消息时,它与服务期望的不同。