当前位置: 代码迷 >> VC/MFC >> wsdl解决方案
  详细解决方案

wsdl解决方案

热度:83   发布时间:2016-05-02 03:28:28.0
wsdl
已有的wsdl中是这样的:
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions targetNamespace="地址1" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="地址1"  xmlns:intf="地址1" xmlns:tns1="地址2" xmlns:tns2="地址3" xmlns:tns3="地址4" xmlns:tns4="地址5" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <wsdl:types>
        <schema elementFromDefault="qualified" targetNamespace="地址1" xmlns="http://www.w3.org/2001/XMLSchema">
            <element name="getTransport">
                <complexType>
                    <sequence>
                        <element name="org" type="xsd:string" />
                        <element name="app" type="xsd:string" />
                    </sequence>
                </complexType>
            </element>
        </schema>
    </wsdl:types>
    ……
    ……
    ……
</wsdl:definitions>

1.能不能讲解一下wsdl:definitions后面那几个地址每一个都是做什么用的?

2.根据这个wsdl,我要发送xml文档给服务器端,下面的xml文档格式对么?
<?xml version="1.0" encoding="UTF-8"?>
<getTransport>
    <complexType>
        <sequence>
            <org>3120</org>
            <app>KH01</app>
        </sequence>
    </complexType>
<getTransport>
------解决思路----------------------
主要是一些校验wsdl语法的网址。
  相关解决方案