Skip to content
This repository has been archived by the owner on Jan 25, 2018. It is now read-only.

Commit

Permalink
price/currency, https URL (bug 915262, bug 914263)
Browse files Browse the repository at this point in the history
  • Loading branch information
kumar303 committed Sep 26, 2013
1 parent 7daa1d6 commit b76a8e9
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 7 deletions.
16 changes: 9 additions & 7 deletions lib/bango/wsdl/prod/token_checker.wsdl
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<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://mozilla.bango.net/" xmlns:s1="com.bango.webservices.directbilling" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" targetNamespace="http://mozilla.bango.net/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
<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="https://mozilla.bango.net/" xmlns:s1="com.bango.webservices.directbilling" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" targetNamespace="https://mozilla.bango.net/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
<wsdl:types>
<s:schema elementFormDefault="qualified" targetNamespace="http://mozilla.bango.net/">
<s:schema elementFormDefault="qualified" targetNamespace="https://mozilla.bango.net/">
<s:import namespace="com.bango.webservices.directbilling" />
<s:element name="CheckToken">
<s:complexType>
Expand All @@ -25,6 +25,8 @@
<s:element minOccurs="0" maxOccurs="1" name="MerchantTransactionId" type="s:string" />
<s:element minOccurs="1" maxOccurs="1" name="BangoUserId" type="s:long" />
<s:element minOccurs="1" maxOccurs="1" name="BangoTransactionId" type="s:long" />
<s:element minOccurs="1" maxOccurs="1" name="Price" type="s:decimal" />
<s:element minOccurs="0" maxOccurs="1" name="Currency" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="TransactionMethod" type="s1:TransactionMethod" />
</s:sequence>
</s:complexType>
Expand Down Expand Up @@ -55,7 +57,7 @@
<wsdl:binding name="TokenCheckerSoap" type="tns:TokenCheckerSoap">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
<wsdl:operation name="CheckToken">
<soap:operation soapAction="http://mozilla.bango.net/CheckToken" style="document" />
<soap:operation soapAction="https://mozilla.bango.net/CheckToken" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
Expand All @@ -67,7 +69,7 @@
<wsdl:binding name="TokenCheckerSoap12" type="tns:TokenCheckerSoap">
<soap12:binding transport="http://schemas.xmlsoap.org/soap/http" />
<wsdl:operation name="CheckToken">
<soap12:operation soapAction="http://mozilla.bango.net/CheckToken" style="document" />
<soap12:operation soapAction="https://mozilla.bango.net/CheckToken" style="document" />
<wsdl:input>
<soap12:body use="literal" />
</wsdl:input>
Expand All @@ -78,10 +80,10 @@
</wsdl:binding>
<wsdl:service name="TokenChecker">
<wsdl:port name="TokenCheckerSoap" binding="tns:TokenCheckerSoap">
<soap:address location="http://mozilla.bango.net/_/ws/tokenchecker.asmx" />
<soap:address location="https://mozilla.bango.net/_/ws/tokenchecker.asmx" />
</wsdl:port>
<wsdl:port name="TokenCheckerSoap12" binding="tns:TokenCheckerSoap12">
<soap12:address location="http://mozilla.bango.net/_/ws/tokenchecker.asmx" />
<soap12:address location="https://mozilla.bango.net/_/ws/tokenchecker.asmx" />
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
</wsdl:definitions>
2 changes: 2 additions & 0 deletions lib/bango/wsdl/readme.txt
@@ -1,3 +1,5 @@
A cached version of the WSDL. To update run:

./manage.py refresh_wsdl

To edit WSDL URLs, see solitude/management/commands/refresh_wsdl.py
2 changes: 2 additions & 0 deletions lib/bango/wsdl/test/token_checker.wsdl
Expand Up @@ -25,6 +25,8 @@
<s:element minOccurs="0" maxOccurs="1" name="MerchantTransactionId" type="s:string" />
<s:element minOccurs="1" maxOccurs="1" name="BangoUserId" type="s:long" />
<s:element minOccurs="1" maxOccurs="1" name="BangoTransactionId" type="s:long" />
<s:element minOccurs="1" maxOccurs="1" name="Price" type="s:decimal" />
<s:element minOccurs="0" maxOccurs="1" name="Currency" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="TransactionMethod" type="s1:TransactionMethod" />
</s:sequence>
</s:complexType>
Expand Down

0 comments on commit b76a8e9

Please sign in to comment.