source: pro-violet-viettel/sourcecode/application/modules/services/views/reportwsdl.php @ 758

Last change on this file since 758 was 758, checked in by dungnv, 10 years ago
File size: 4.6 KB
Line 
1<?php echo "<?xml version='1.0' encoding='UTF-8'?>";?>
2<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://tempuri.org/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" targetNamespace="http://tempuri.org/">
3  <wsdl:types>
4    <s:schema elementFormDefault="qualified" targetNamespace="http://tempuri.org/">
5      <s:element name="revenueReport">
6        <s:complexType>
7          <s:sequence>
8            <s:element minOccurs="1" maxOccurs="1" name="username" type="s:string"/>
9            <s:element minOccurs="1" maxOccurs="1" name="password" type="s:string"/>
10            <s:element minOccurs="1" maxOccurs="1" name="fromDate" type="s:string"/>
11            <s:element minOccurs="0" maxOccurs="1" name="toDate" type="s:string"/>           
12          </s:sequence>
13        </s:complexType>
14      </s:element>
15      <s:element name="revenueReportResponse">
16        <s:complexType>
17          <s:sequence>
18            <s:element minOccurs="0" maxOccurs="1" name="return" type="s:string"/>
19            <s:element minOccurs="0" maxOccurs="1" name="success" type="s:string"/>
20            <s:element minOccurs="0" maxOccurs="1" name="receiveTime" type="s:string"/>
21          </s:sequence>
22        </s:complexType>       
23      </s:element>
24      <!-- subscribersReport -->
25      <s:element name="subscribersReport">
26        <s:complexType>
27          <s:sequence>
28            <s:element minOccurs="1" maxOccurs="1" name="username" type="s:string"/>
29            <s:element minOccurs="1" maxOccurs="1" name="password" type="s:string"/>
30            <s:element minOccurs="1" maxOccurs="1" name="fromDate" type="s:string"/>
31            <s:element minOccurs="0" maxOccurs="1" name="toDate" type="s:string"/>
32          </s:sequence>
33        </s:complexType>
34      </s:element>
35      <s:element name="subscribersReportResponse">
36        <s:complexType>
37          <s:sequence>
38            <s:element minOccurs="0" maxOccurs="1" name="return" type="s:string"/>
39            <s:element minOccurs="0" maxOccurs="1" name="success" type="s:string"/>
40            <s:element minOccurs="0" maxOccurs="1" name="receiveTime" type="s:string"/>
41          </s:sequence>
42        </s:complexType>
43      </s:element>
44    </s:schema>
45  </wsdl:types>
46  <wsdl:message name="revenueReportSoapIn">
47    <wsdl:part name="parameters" element="tns:revenueReport"/>
48  </wsdl:message>
49  <wsdl:message name="revenueReportSoapOut">
50    <wsdl:part name="parameters" element="tns:revenueReportResponse"/>
51  </wsdl:message>
52 
53  <wsdl:message name="subscribersReportSoapIn">
54    <wsdl:part name="parameters" element="tns:subscribersReport"/>
55  </wsdl:message>
56  <wsdl:message name="subscribersReportSoapOut">
57    <wsdl:part name="parameters" element="tns:subscribersReportResponse"/>
58  </wsdl:message>
59     
60  <wsdl:portType name="reportReceiver">
61    <wsdl:operation name="revenueReport">
62      <wsdl:input message="tns:revenueReportSoapIn"/>
63      <wsdl:output message="tns:revenueReportSoapOut"/>
64    </wsdl:operation>
65    <wsdl:operation name="subscribersReport">
66      <wsdl:input message="tns:subscribersReportSoapIn"/>
67      <wsdl:output message="tns:subscribersReportSoapOut"/>
68    </wsdl:operation>   
69  </wsdl:portType>
70  <!-- subscribersReport -->
71
72  <wsdl:binding name="reportReceiver" type="tns:reportReceiver">
73    <soap:binding transport="http://schemas.xmlsoap.org/soap/http"/>
74    <wsdl:operation name="revenueReport">
75      <soap:operation soapAction="http://tempuri.org/revenueReport" style="document"/>
76      <wsdl:input>
77        <soap:body use="literal"/>
78      </wsdl:input>
79      <wsdl:output>
80        <soap:body use="literal"/>
81      </wsdl:output>
82    </wsdl:operation>   
83    <wsdl:operation name="subscribersReport">
84      <soap:operation soapAction="http://tempuri.org/subscribersReport" style="document"/>
85      <wsdl:input>
86        <soap:body use="literal"/>
87      </wsdl:input>
88      <wsdl:output>
89        <soap:body use="literal"/>
90      </wsdl:output>
91    </wsdl:operation>   
92  </wsdl:binding>
93  <wsdl:service name="reportReceiver">
94    <wsdl:port name="reportReceiver" binding="tns:reportReceiver">
95      <soap:address location="<?php echo base_url();?>violetservice/report/getreport"/>
96    </wsdl:port>
97  </wsdl:service>
98</wsdl:definitions>
Note: See TracBrowser for help on using the repository browser.