soap-simple-proxy
This software is under development.
The software provides the SOAP functions described here:
<!--
WSDL description for the Soap SIMPLE Proxy service.
Copyright 2007 AG Projects
-->
−
<wsdl:definitions targetNamespace="urn:AGProjects:SoapSIMPLEProxy">
−
<wsdl:types>
<!-- package com.ag_projects.ssp -->
−
<schema targetNamespace="urn:AGProjects:SoapSIMPLEProxy">
<import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
<!-- Complex data types -->
−
<complexType name="StringArray">
−
<complexContent>
−
<restriction base="soapenc:Array">
<attribute ref="soapenc:arrayType" wsdl:arrayType="xsd:string[]"/>
</restriction>
</complexContent>
</complexType>
−
<complexType name="IntegerArray">
−
<complexContent>
−
<restriction base="soapenc:Array">
<attribute ref="soapenc:arrayType" wsdl:arrayType="xsd:integer[]"/>
</restriction>
</complexContent>
</complexType>
−
<complexType name="SipId">
−
<sequence>
<element name="username" nillable="false" type="xsd:string"/>
<element name="domain" nillable="false" type="xsd:string"/>
</sequence>
</complexType>
−
<complexType name="SipIdArray">
−
<complexContent>
−
<restriction base="soapenc:Array">
<attribute ref="soapenc:arrayType" wsdl:arrayType="ssp:SipId[]"/>
</restriction>
</complexContent>
</complexType>
−
<complexType name="PresenceInformation">
−
<sequence>
<element name="activity" nillable="false" type="xsd:string"/>
<element name="note" nillable="false" type="xsd:string"/>
</sequence>
</complexType>
−
<complexType name="Watcher">
−
<sequence>
<element name="id" nillable="false" type="xsd:string"/>
<element name="status" nillable="false" type="xsd:string"/>
<element name="online" nillable="false" type="xsd:bool"/>
</sequence>
</complexType>
−
<complexType name="WatcherArray">
−
<complexContent>
−
<restriction base="soapenc:Array">
<attribute ref="soapenc:arrayType" wsdl:arrayType="ssp:Watcher[]"/>
</restriction>
</complexContent>
</complexType>
−
<complexType name="PresencePolicy">
−
<sequence>
<element name="allow" nillable="false" type="ssp:StringArray"/>
<element name="deny" nillable="false" type="ssp:StringArray"/>
<element name="confirm" nillable="false" type="ssp:StringArray"/>
</sequence>
</complexType>
<!-- Exceptions -->
<!-- Embedded in the detail element of the SOAP fault -->
−
<!--
Exception names to errorcodes mapping:
Error 1 general exception
InvalidTypeError 100 invalid input type
InvalidValueError 101 invalid input value
MissingInputError 102 missing input to function call
InternalError 200 server internal error
DatabaseError 201 database access error
SipProxyError 202 error accessing the sip proxy control port (ser's fifo)
NotImplementedError 900 function/feature is not implemented
AuthenticationError 901
AuthorizationError 902
-->
−
<!--
SOAP Exception structure. Provided for reference only
-->
−
<complexType name="SOAPError">
−
<sequence>
<element name="name" nillable="false" type="xsd:string"/>
<element name="errorcode" nillable="false" type="xsd:int"/>
<element name="errorstring" nillable="false" type="xsd:string"/>
</sequence>
</complexType>
</schema>
</wsdl:types>
−
<!--
========================================================================================
-->
−
<!--
========================================================================================
-->
−
<!--
========================================================================================
-->
<!-- Presence.setPresenceInformation() -->
−
<wsdl:message name="SetPresenceInformationRequest">
<wsdl:part name="sipId" type="ssp:SipId"/>
<wsdl:part name="password" type="xsd:string"/>
<wsdl:part name="information" type="ssp:PresenceInformation"/>
</wsdl:message>
−
<wsdl:message name="SetPresenceInformationResponse">
<!-- void -->
</wsdl:message>
<!-- Presence.getPresenceInformation() -->
−
<wsdl:message name="GetPresenceInformationRequest">
<wsdl:part name="sipId" type="ssp:SipId"/>
<wsdl:part name="password" type="xsd:string"/>
</wsdl:message>
−
<wsdl:message name="GetPresenceInformationResponse">
<wsdl:part name="Result" type="ssp:PresenceInformation"/>
</wsdl:message>
<!-- Presence.deletePresenceInformation() -->
−
<wsdl:message name="DeletePresenceInformationRequest">
<wsdl:part name="sipId" type="ssp:SipId"/>
<wsdl:part name="password" type="xsd:string"/>
</wsdl:message>
−
<wsdl:message name="DeletePresenceInformationResponse">
<!-- void -->
</wsdl:message>
<!-- Presence.getWatchers() -->
−
<wsdl:message name="GetWatchersRequest">
<wsdl:part name="sipId" type="ssp:SipId"/>
<wsdl:part name="password" type="xsd:string"/>
</wsdl:message>
−
<wsdl:message name="GetWatchersResponse">
<wsdl:part name="Result" type="ssp:WatcherArray"/>
</wsdl:message>
<!-- Presence.setPolicy() -->
−
<wsdl:message name="SetPolicyRequest">
<wsdl:part name="sipId" type="ssp:SipId"/>
<wsdl:part name="password" type="xsd:string"/>
<wsdl:part name="policy" type="ssp:PresencePolicy"/>
</wsdl:message>
−
<wsdl:message name="SetPolicyResponse">
<!-- void -->
</wsdl:message>
<!-- Presence.getPolicy() -->
−
<wsdl:message name="GetPolicyRequest">
<wsdl:part name="sipId" type="ssp:SipId"/>
<wsdl:part name="password" type="xsd:string"/>
</wsdl:message>
−
<wsdl:message name="GetPolicyResponse">
<wsdl:part name="Result" type="ssp:PresencePolicy"/>
</wsdl:message>
−
<!--
========================================================================================
-->
−
<!--
========================================================================================
-->
−
<!--
========================================================================================
-->
−
<wsdl:portType name="PresencePortType">
−
<!--
setPresenceInformation - publish presence data for a SIP user
-->
−
<wsdl:operation name="setPresenceInformation" parameterOrder="sipId password information">
<wsdl:input message="ssp:SetPresenceInformationRequest" name="SetPresenceInformationRequest"/>
<wsdl:output message="ssp:SetPresenceInformationResponse" name="SetPresenceInformationResponse"/>
</wsdl:operation>
−
<!--
getPresenceInformation - publish presence data for a SIP user
-->
−
<wsdl:operation name="getPresenceInformation" parameterOrder="sipId password">
<wsdl:input message="ssp:GetPresenceInformationRequest" name="GetPresenceInformationRequest"/>
<wsdl:output message="ssp:GetPresenceInformationResponse" name="GetPresenceInformationResponse"/>
</wsdl:operation>
−
<!--
deletePresenceInformation - delete publish information for a SIP user
-->
−
<wsdl:operation name="deletePresenceInformation" parameterOrder="sipId password">
<wsdl:input message="ssp:DeletePresenceInformationRequest" name="DeletePresenceInformationRequest"/>
<wsdl:output message="ssp:DeletePresenceInformationResponse" name="DeletePresenceInformationResponse"/>
</wsdl:operation>
<!-- getWatchers - get the watchers for a presentity -->
−
<wsdl:operation name="getWatchers" parameterOrder="sipId password">
<wsdl:input message="ssp:GetWatchersRequest" name="GetWatchersRequest"/>
<wsdl:output message="ssp:GetWatchersResponse" name="GetWatchersResponse"/>
</wsdl:operation>
−
<!--
setPolicy - set the presence authorization policy for a SIP user
-->
−
<wsdl:operation name="setPolicy" parameterOrder="sipId password policy">
<wsdl:input message="ssp:SetPolicyRequest" name="SetPolicyRequest"/>
<wsdl:output message="ssp:SetPolicyResponse" name="SetPolicyResponse"/>
</wsdl:operation>
−
<!--
getPolicy - get the presence authorization policy for a SIP user
-->
−
<wsdl:operation name="getPolicy" parameterOrder="sipId password">
<wsdl:input message="ssp:GetPolicyRequest" name="GetPolicyRequest"/>
<wsdl:output message="ssp:GetPolicyResponse" name="GetPolicyResponse"/>
</wsdl:operation>
</wsdl:portType>
−
<wsdl:binding name="PresenceBinding" type="ssp:PresencePortType">
<wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
−
<wsdl:operation name="setPresenceInformation">
<wsdlsoap:operation soapAction=""/>
−
<wsdl:input name="SetPresenceInformationRequest">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:AGProjects:SoapSIMPLEProxy:Presence" use="encoded"/>
</wsdl:input>
−
<wsdl:output name="SetPresenceInformationResponse">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:AGProjects:SoapSIMPLEProxy:Presence" use="encoded"/>
</wsdl:output>
</wsdl:operation>
−
<wsdl:operation name="getPresenceInformation">
<wsdlsoap:operation soapAction=""/>
−
<wsdl:input name="GetPresenceInformationRequest">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:AGProjects:SoapSIMPLEProxy:Presence" use="encoded"/>
</wsdl:input>
−
<wsdl:output name="GetPresenceInformationResponse">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:AGProjects:SoapSIMPLEProxy:Presence" use="encoded"/>
</wsdl:output>
</wsdl:operation>
−
<wsdl:operation name="deletePresenceInformation">
<wsdlsoap:operation soapAction=""/>
−
<wsdl:input name="DeletePresenceInformationRequest">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:AGProjects:SoapSIMPLEProxy:Presence" use="encoded"/>
</wsdl:input>
−
<wsdl:output name="DeletePresenceInformationResponse">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:AGProjects:SoapSIMPLEProxy:Presence" use="encoded"/>
</wsdl:output>
</wsdl:operation>
−
<wsdl:operation name="getWatchers">
<wsdlsoap:operation soapAction=""/>
−
<wsdl:input name="GetWatchersRequest">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:AGProjects:SoapSIMPLEProxy:Presence" use="encoded"/>
</wsdl:input>
−
<wsdl:output name="GetWatchersResponse">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:AGProjects:SoapSIMPLEProxy:Presence" use="encoded"/>
</wsdl:output>
</wsdl:operation>
−
<wsdl:operation name="setPolicy">
<wsdlsoap:operation soapAction=""/>
−
<wsdl:input name="SetPolicyRequest">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:AGProjects:SoapSIMPLEProxy:Presence" use="encoded"/>
</wsdl:input>
−
<wsdl:output name="SetPolicyResponse">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:AGProjects:SoapSIMPLEProxy:Presence" use="encoded"/>
</wsdl:output>
</wsdl:operation>
−
<wsdl:operation name="getPolicy">
<wsdlsoap:operation soapAction=""/>
−
<wsdl:input name="GetPolicyRequest">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:AGProjects:SoapSIMPLEProxy:Presence" use="encoded"/>
</wsdl:input>
−
<wsdl:output name="GetPolicyResponse">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:AGProjects:SoapSIMPLEProxy:Presence" use="encoded"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
−
<wsdl:service name="SoapSIMPLEProxy">
−
<wsdl:port binding="ssp:PresenceBinding" name="PresencePort">
<wsdlsoap:address location="https://secure.dns-hosting.info/ssp/"/>
</wsdl:port>
−
<wsdl:port binding="ssp:PresenceBinding" name="InternalPresencePort">
<wsdlsoap:address location="http://localhost:9300/"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
