当前位置:编程学习 > C#/ASP.NET >>

sap xi生成wsdl文件怎么用?

从sap  xi生产wsdl文件,客户端怎么做webservice? --------------------编程问答-------------------- 我是菜鸟,请详解!!不胜感激 --------------------编程问答-------------------- <?xml version="1.0" encoding="UTF-8" ?>
<wsdl:definitions name="Z_MI_MM_YS_Material_Data_OUT" targetNamespace="http://HBKY/BMS/Material_Data_download" xmlns:p1="http://HBKY/BMS/Material_Data_download" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
  <wsdl:documentation />
  <wsdl:types>
    + <xsd:schema targetNamespace="http://HBKY/BMS/Material_Data_download" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://HBKY/BMS/Material_Data_download">
      <xsd:element name="Z_MT_MM_MES_Material_data_001" type="Z_DT_MM_MES_Material_data_001" />
      - <xsd:complexType name="Z_DT_MM_MES_Material_data_001">
        - <xsd:annotation>
          <xsd:appinfo source="http://sap.com/xi/VersionID">22d14561461211df9f59002481774924</xsd:appinfo>
        </xsd:annotation>
        - <xsd:sequence>
          - <xsd:element name="MATNR" type="xsd:string" default="18">
            - <xsd:annotation>
              <xsd:appinfo source="http://sap.com/xi/TextID">ce681ed0461211dfc92800039d734bb4</xsd:appinfo>
              <xsd:documentation>物料号</xsd:documentation>
            </xsd:annotation>
          </xsd:element>
          - <xsd:element name="WERKS" type="xsd:string" default="4">
            - <xsd:annotation>
              <xsd:appinfo source="http://sap.com/xi/TextID">ce681ed1461211dfb40600039d734bb4</xsd:appinfo>
              <xsd:documentation>工厂号</xsd:documentation>
            </xsd:annotation>
          </xsd:element>
          - <xsd:element name="MAKTX" type="xsd:string" default="40">
            - <xsd:annotation>
              <xsd:appinfo source="http://sap.com/xi/TextID">ce681ed2461211df933400039d734bb4</xsd:appinfo>
              <xsd:documentation>物料描述</xsd:documentation>
            </xsd:annotation>
          </xsd:element>
          - <xsd:element name="MTART" type="xsd:string" default="4">
            - <xsd:annotation>
              <xsd:appinfo source="http://sap.com/xi/TextID">ce681ed3461211dfbb5400039d734bb4</xsd:appinfo>
              <xsd:documentation>物料类型</xsd:documentation>
            </xsd:annotation>
          </xsd:element>
          - <xsd:element name="MAKTL" type="xsd:string" default="9">
            - <xsd:annotation>
              <xsd:appinfo source="http://sap.com/xi/TextID">ce681ed4461211dfc73100039d734bb4</xsd:appinfo>
              <xsd:documentation>物料组</xsd:documentation>
            </xsd:annotation>
          </xsd:element>
          - <xsd:element name="MEINS" type="xsd:string" default="3">
            - <xsd:annotation>
              <xsd:appinfo source="http://sap.com/xi/TextID">ce681ed5461211df84dc00039d734bb4</xsd:appinfo>
              <xsd:documentation>计量单位</xsd:documentation>
            </xsd:annotation>
          </xsd:element>
          - <xsd:element name="LOEVM" type="xsd:string" default="1">
            - <xsd:annotation>
              <xsd:appinfo source="http://sap.com/xi/TextID">ce681ed6461211dfbea800039d734bb4</xsd:appinfo>
              <xsd:documentation>删除标识</xsd:documentation>
            </xsd:annotation>
          </xsd:element>
          - <xsd:element name="XCHPF" type="xsd:string" default="1">
            - <xsd:annotation>
              <xsd:appinfo source="http://sap.com/xi/TextID">ce681ed7461211df99b500039d734bb4</xsd:appinfo>
              <xsd:documentation>批次管理标识</xsd:documentation>
            </xsd:annotation>
          </xsd:element>
          - <xsd:element name="CLASS" type="xsd:string" default="18">
            - <xsd:annotation>
              <xsd:appinfo source="http://sap.com/xi/TextID">ce681ed8461211dfafdf00039d734bb4</xsd:appinfo>
              <xsd:documentation>内部对象号</xsd:documentation>
            </xsd:annotation>
          </xsd:element>
        </xsd:sequence>
      </xsd:complexType>
    </xsd:schema>
  </wsdl:types>
  - <wsdl:message name="Z_MT_MM_MES_Material_data_001">
    <wsdl:documentation />
    <wsdl:part name="Z_MT_MM_MES_Material_data_001" element="p1:Z_MT_MM_MES_Material_data_001" />
  </wsdl:message>
  - <wsdl:portType name="Z_MI_MM_YS_Material_Data_OUT">
    <wsdl:documentation />
    - <wsdl:operation name="Z_MI_MM_YS_Material_Data_OUT">
      <wsdl:input message="p1:Z_MT_MM_MES_Material_data_001" />
    </wsdl:operation>
  </wsdl:portType>
  - <wsdl:binding name="Z_MI_MM_YS_Material_Data_OUTBinding" type="p1:Z_MI_MM_YS_Material_Data_OUT">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" />
    - <wsdl:operation name="Z_MI_MM_YS_Material_Data_OUT">
      <soap:operation soapAction="http://sap.com/xi/WebService/soap1.1" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" />
      - <wsdl:input>
        <soap:body use="literal" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" />
      </wsdl:input>
    </wsdl:operation>
  </wsdl:binding>
  - <wsdl:service name="Z_MI_MM_YS_Material_Data_OUTService">
    - <wsdl:port name="Z_MI_MM_YS_Material_Data_OUTPort" binding="p1:Z_MI_MM_YS_Material_Data_OUTBinding">
      <soap:address location="http://......../XISOAPAdapter/MessageServlet?channel=:CC_YS_Material_Data_SOAP_Receiver&version=3.0&Sender.Service=BS_MES&Interface=http%3A%2F%2FHBKY%2FBMS%2FMaterial_Data_download%5EZ_MI_MM_YS_Material_Data_OUT" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" />
    </wsdl:port>
  </wsdl:service>
</wsdl:definitions> --------------------编程问答-------------------- 这是wsdl文件
补充:.NET技术 ,  Web Services
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,