xfrie生成的wsdl如下
- XML code
<?xml version="1.0" encoding="UTF-8" ?> - <wsdl:definitions targetNamespace="http://webService.beans.com" xmlns:soapenc12="http://www.w3.org/2003/05/soap-encoding" xmlns:tns="http://webService.beans.com" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap11="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc11="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">- <wsdl:types>- <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://webService.beans.com">- <xsd:element name="getReports">- <xsd:complexType>- <xsd:sequence> <xsd:element maxOccurs="1" minOccurs="1" name="in0" nillable="true" type="xsd:string" /> </xsd:sequence> </xsd:complexType> </xsd:element>- <xsd:element name="getReportsResponse">- <xsd:complexType>- <xsd:sequence> <xsd:element maxOccurs="1" minOccurs="1" name="out" nillable="true" type="xsd:string" /> </xsd:sequence> </xsd:complexType> </xsd:element>- <xsd:element name="getReport">- <xsd:complexType>- <xsd:sequence> <xsd:element maxOccurs="1" minOccurs="1" name="in0" nillable="true" type="xsd:string" /> <xsd:element maxOccurs="1" minOccurs="1" name="in1" nillable="true" type="xsd:string" /> </xsd:sequence> </xsd:complexType> </xsd:element>- <xsd:element name="getReportResponse">- <xsd:complexType>- <xsd:sequence> <xsd:element maxOccurs="1" minOccurs="1" name="out" nillable="true" type="xsd:string" /> </xsd:sequence> </xsd:complexType> </xsd:element>- <xsd:element name="getReportNames">- <xsd:complexType>- <xsd:sequence> <xsd:element maxOccurs="1" minOccurs="1" name="in0" nillable="true" type="xsd:string" /> </xsd:sequence> </xsd:complexType> </xsd:element>- <xsd:element name="getReportNamesResponse">- <xsd:complexType>- <xsd:sequence> <xsd:element maxOccurs="1" minOccurs="1" name="out" nillable="true" type="xsd:string" /> </xsd:sequence> </xsd:complexType> </xsd:element> </xsd:schema> </wsdl:types>- <wsdl:message name="getReportNamesRequest"> <wsdl:part name="parameters" element="tns:getReportNames" /> </wsdl:message>- <wsdl:message name="getReportRequest"> <wsdl:part name="parameters" element="tns:getReport" /> </wsdl:message>- <wsdl:message name="getReportsRequest"> <wsdl:part name="parameters" element="tns:getReports" /> </wsdl:message>- <wsdl:message name="getReportNamesResponse"> <wsdl:part name="parameters" element="tns:getReportNamesResponse" /> </wsdl:message>- <wsdl:message name="getReportResponse"> <wsdl:part name="parameters" element="tns:getReportResponse" /> </wsdl:message>- <wsdl:message name="getReportsResponse"> <wsdl:part name="parameters" element="tns:getReportsResponse" /> </wsdl:message>- <wsdl:portType name="WSReportPortType">- <wsdl:operation name="getReports"> <wsdl:input name="getReportsRequest" message="tns:getReportsRequest" /> <wsdl:output name="getReportsResponse" message="tns:getReportsResponse" /> </wsdl:operation>- <wsdl:operation name="getReport"> <wsdl:input name="getReportRequest" message="tns:getReportRequest" /> <wsdl:output name="getReportResponse" message="tns:getReportResponse" /> </wsdl:operation>- <wsdl:operation name="getReportNames"> <wsdl:input name="getReportNamesRequest" message="tns:getReportNamesRequest" /> <wsdl:output name="getReportNamesResponse" message="tns:getReportNamesResponse" /> </wsdl:operation> </wsdl:portType>- <wsdl:binding name="WSReportHttpBinding" type="tns:WSReportPortType"> <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" /> - <wsdl:operation name="getReports"> <wsdlsoap:operation soapAction="" /> - <wsdl:input name="getReportsRequest"> <wsdlsoap:body use="literal" /> </wsdl:input>- <wsdl:output name="getReportsResponse"> <wsdlsoap:body use="literal" /> </wsdl:output> </wsdl:operation>- <wsdl:operation name="getReport"> <wsdlsoap:operation soapAction="" /> - <wsdl:input name="getReportRequest"> <wsdlsoap:body use="literal" /> </wsdl:input>- <wsdl:output name="getReportResponse"> <wsdlsoap:body use="literal" /> </wsdl:output> </wsdl:operation>- <wsdl:operation name="getReportNames"> <wsdlsoap:operation soapAction="" /> - <wsdl:input name="getReportNamesRequest"> <wsdlsoap:body use="literal" /> </wsdl:input>- <wsdl:output name="getReportNamesResponse"> <wsdlsoap:body use="literal" /> </wsdl:output> </wsdl:operation> </wsdl:binding>- <wsdl:service name="WSReport">- <wsdl:port name="WSReportHttpPort" binding="tns:WSReportHttpBinding"> <wsdlsoap:address location="http://data.dofcom.gov.cn/services/WSReport" /> </wsdl:port> </wsdl:service> </wsdl:definitions>