Skip to content

Instantly share code, notes, and snippets.

@atajwala
Created July 19, 2017 21:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save atajwala/295197d6f5a7ba5b29f40b010470cbee to your computer and use it in GitHub Desktop.
Save atajwala/295197d6f5a7ba5b29f40b010470cbee to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8"?>
<definitions name="CdrWs" targetNamespace="urn:ActionWebService" xmlns:typens="urn:ActionWebService"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns="http://schemas.xmlsoap.org/wsdl/">
<types>
<xsd:schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:ActionWebService">
<xsd:complexType name="CdrObjectArray">
<xsd:complexContent>
<xsd:restriction base="soapenc:Array">
<xsd:attribute ref="soapenc:arrayType" wsdl:arrayType="typens:CdrObject[]"/>
</xsd:restriction>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="CdrObject">
<xsd:all>
<xsd:element name="id" type="xsd:int"/>
<xsd:element name="start_at" type="xsd:dateTime"/>
<xsd:element name="accept_at" type="xsd:dateTime"/>
<xsd:element name="duration" type="xsd:int"/>
<xsd:element name="resident_key" type="xsd:string"/>
<xsd:element name="resident_name" type="xsd:string"/>
<xsd:element name="lang" type="xsd:string"/>
<xsd:element name="group" type="xsd:string"/>
<xsd:element name="station" type="xsd:string"/>
<xsd:element name="destination_number" type="xsd:string"/>
<xsd:element name="destination_category" type="xsd:string"/>
<xsd:element name="rate_band" type="xsd:string"/>
<xsd:element name="termination" type="xsd:string"/>
<xsd:element name="status_3way" type="xsd:string"/>
<xsd:element name="status_flag" type="xsd:boolean"/>
<xsd:element name="status_alarm" type="xsd:boolean"/>
<xsd:element name="notes" type="xsd:string"/>
<xsd:element name="audio_url" type="xsd:string"/>
<xsd:element name="vv_score" type="xsd:int"/>
</xsd:all>
</xsd:complexType>
</xsd:schema>
</types>
<message name="NextBatch">
<part name="last_cdr_id" type="xsd:int"/>
</message>
<message name="NextBatchResponse">
<part name="return" type="typens:CdrObjectArray"/>
</message>
<portType name="CdrWsCdrWsPort">
<operation name="NextBatch">
<input message="typens:NextBatch"/>
<output message="typens:NextBatchResponse"/>
</operation>
</portType>
<binding name="CdrWsCdrWsBinding" type="typens:CdrWsCdrWsPort">
<soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
<operation name="NextBatch">
<soap:operation soapAction="/cdr_ws/api/NextBatch"/>
<input>
<soap:body use="encoded" namespace="urn:ActionWebService" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</input>
<output>
<soap:body use="encoded" namespace="urn:ActionWebService" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</output>
</operation>
</binding>
<service name="CdrWsService">
<port name="CdrWsCdrWsPort" binding="typens:CdrWsCdrWsBinding">
<soap:address location="https://secure2.intelmate.com/cdr_ws/api"/>
</port>
</service>
</definitions>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment