Visual Studio/.NET:使用wsdl添加了基于Java的Web服务引用,但无法找到它

Fed*_*man 10 .net java web-services visual-studio-2008

我正在尝试使用由它生成的WSDL向我的.NET项目添加基于java的Web服务引用,但每次添加它时,我都无法从代码中找到它,更不用说调用它的一个web方法了.

我可以添加它,它显示在我的项目树中,但我看不到方法,我无法从我的代码中找到或访问web服务.当我右键单击它并尝试在对象浏览器中查看它时,它不会显示.是什么赋予了?

这是wsdl的内容(我省略了数据类型以保持小):

  <?xml version="1.0"?>
  <wsdl:definitions xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
        xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" 
        xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" 
        xmlns:tns="http://logiasoftware.fi/HandyManifestFargoOnRamp2010_01/" 
        targetNamespace="http://logiasoftware.fi/HandyManifestFargoOnRamp2010_01/">

      <wsdl:message name="Response">
          <wsdl:part name="DefaultInput" element="tns:Response"/>
      </wsdl:message>
      <wsdl:message name="Request">
          <wsdl:part name="DefaultOutput" element="Request"/>
      </wsdl:message>

    <wsdl:portType name="HandyManifestFargoOnRampServiceSoap">
        <wsdl:operation name="SaveFCO">
            <wsdl:input message="tns:Request"/>
              <wsdl:output message="tns:Response"/>
        </wsdl:operation>
    </wsdl:portType>
    <wsdl:binding name="HandyManifestFargoOnRampServiceSoap" type="tns:HandyManifestFargoOnRampServiceSoap">
        <soap:binding transport="http://schemas.xmlsoap.org/soap/http"/>
        <wsdl:operation name="SaveFCO">
            <soap:operation soapAction="http://logiasoftware.fi/HandyManifestFargoOnRampService/SaveFCO" style="document"/>
            <wsdl:input>
                <soap:body use="literal"/>
            </wsdl:input>
              <wsdl:output>
                <soap:body use="literal"/>
            </wsdl:output>
            <wsdl:fault name="GenericSoapFault">
                <soap:fault name="GenericSoapFault" use="literal"/>
                </wsdl:fault>
        </wsdl:operation>
    </wsdl:binding>
    <wsdl:service name="HandyManifestFargoOnRampService">
        <wsdl:port name="HandyManifestFargoOnRampServiceSoap" binding="tns:HandyManifestFargoOnRampServiceSoap">
            <soap:address location="http://logiasoftware.fi/HandyManifestFargoOnRampService/"/>
        </wsdl:port>
    </wsdl:service>
  </wsdl:definitions>
Run Code Online (Sandbox Code Playgroud)

UPDATE

尝试通过svcutil.exe运行wsdl给了我一些有趣的错误消息:

 R1014: The children of the soap:Body element in a ENVELOPE MUST be namespace qualified. The use of unqualified element names may cause naming conflicts, therefore qualified names must be used for the children of soap:Body.
   -  Part 'DefaultOutput' of message 'Request' from service description with targetNamespace='http://logiasoftware.fi/HandyManifestFargoOnRamp2010_01/'.
Run Code Online (Sandbox Code Playgroud)

和...

 Error: Unable to import binding 'HandyManifestFargoOnRampServiceSoap' from namespace 'http://logiasoftware.fi/HandyManifestFargoOnRamp2010_01/'.
   - Unable to import operation 'SaveFCO'.
   - The element 'http://logiasoftware.fi/HandyManifestFargoOnRamp2010_01/:Response' is missing.
Run Code Online (Sandbox Code Playgroud)

所以这告诉我消息元素应该在下面的部分中指定相同的命名空间(http://logiasoftware.fi/):

<wsdl:message name="Response">
    <wsdl:part name="DefaultInput" element="tns:Response"/>
</wsdl:message>
<wsdl:message name="Request">
    <wsdl:part name="DefaultOutput" element="Request"/>
</wsdl:message>
Run Code Online (Sandbox Code Playgroud)

但是我该怎么做?