The following operations are supported. For a formal definition, please review the Service Description.

Web Service Links

Namespace Children of ::openacs

Namespace Code for ::openacs

namespace eval ::openacs {
    variable bindMap {https://www.semitasker.com/openacs/CheckEmailOperation CheckEmailOperation https://www.semitasker.com/openacs/CheckPhoneOperation CheckPhoneOperation https://www.semitasker.com/openacs/CheckNaturalNumberOperation CheckNaturalNumberOperation}
    variable binding soap::documentLiteral
    variable bindingName openacsSoapBind
    variable definitions {<?xml version="1.0" encoding="utf-8"?>
<wsdl:definitions targetNamespace="http://junom.com/openacs" xmlns:tns="http://junom.com/openacs" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:whttp="http://schemas.xmlsoap.org/wsdl/http/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
 <wsdl:types>
  <xsd:schema targetNamespace="http://junom.com/openacs" elementFormDefault="qualified">
   <xsd:simpleType name="phone">
    <xsd:restriction base="xsd:string">
     <xsd:pattern value="^\(?([1-9][0-9]{2})\)?(-|\.|\ )?([0-9]{3})(-|\.|\ )?([0-9]{4})"/>
    </xsd:restriction>
   </xsd:simpleType>
   <xsd:simpleType name="email">
    <xsd:restriction base="xsd:string">
     <xsd:pattern value="^[^@\t ]+@[^@.\t]+(\.[^@.\n ]+)+$"/>
    </xsd:restriction>
   </xsd:simpleType>
   <xsd:simpleType name="naturalNum">
    <xsd:restriction base="xsd:integer">
     <xsd:pattern value="^(0*)(([1-9][0-9]*|0))$"/>
    </xsd:restriction>
   </xsd:simpleType>
   <xsd:complexType name="CheckEmailRequest">
    <xsd:sequence>
     <xsd:element form="Value" name="Email" maxOccurs="1" type="tns:email" minOccurs="1"/>
    </xsd:sequence>
   </xsd:complexType>
   <xsd:complexType name="CheckEmailResponse">
    <xsd:sequence>
     <xsd:element form="Value" name="Email" maxOccurs="1" type="tns:email" minOccurs="1"/>
     <xsd:element form="Value" name="IsEmail" maxOccurs="1" type="xsd:boolean" minOccurs="1"/>
    </xsd:sequence>
   </xsd:complexType>
   <xsd:complexType name="CheckPhoneRequest">
    <xsd:sequence>
     <xsd:element form="Value" name="Phone" maxOccurs="1" type="tns:phone" minOccurs="1"/>
    </xsd:sequence>
   </xsd:complexType>
   <xsd:complexType name="CheckPhoneResponse">
    <xsd:sequence>
     <xsd:element form="Value" name="Phone" maxOccurs="1" type="tns:phone" minOccurs="1"/>
     <xsd:element form="Value" name="IsPhone" maxOccurs="1" type="xsd:boolean" minOccurs="1"/>
    </xsd:sequence>
   </xsd:complexType>
   <xsd:complexType name="CheckNaturalNumberRequest">
    <xsd:sequence>
     <xsd:element form="Value" name="NaturalNumber" maxOccurs="1" type="tns:naturalNum" minOccurs="1"/>
    </xsd:sequence>
   </xsd:complexType>
   <xsd:complexType name="CheckNaturalNumberResponse">
    <xsd:sequence>
     <xsd:element form="Value" name="NaturalNumber" maxOccurs="1" type="tns:naturalNum" minOccurs="1"/>
     <xsd:element form="Value" name="IsNaturalNum" maxOccurs="1" type="xsd:boolean" minOccurs="1"/>
    </xsd:sequence>
   </xsd:complexType>
   <xsd:element name="CheckEmailRequest" type="tns:CheckEmailRequest"/>
   <xsd:element name="CheckEmailResponse" type="tns:CheckEmailResponse"/>
   <xsd:element name="CheckPhoneRequest" type="tns:CheckPhoneRequest"/>
   <xsd:element name="CheckPhoneResponse" type="tns:CheckPhoneResponse"/>
   <xsd:element name="CheckNaturalNumberRequest" type="tns:CheckNaturalNumberRequest"/>
   <xsd:element name="CheckNaturalNumberResponse" type="tns:CheckNaturalNumberResponse"/>
  </xsd:schema>
 </wsdl:types>
 <wsdl:message name="CheckEmailRequestMsg">
  <wsdl:part name="parameters" element="tns:CheckEmailRequest"/>
 </wsdl:message>
 <wsdl:message name="CheckEmailResponseMsg">
  <wsdl:part name="parameters" element="tns:CheckEmailResponse"/>
 </wsdl:message>
 <wsdl:message name="CheckPhoneRequestMsg">
  <wsdl:part name="parameters" element="tns:CheckPhoneRequest"/>
 </wsdl:message>
 <wsdl:message name="CheckPhoneResponseMsg">
  <wsdl:part name="parameters" element="tns:CheckPhoneResponse"/>
 </wsdl:message>
 <wsdl:message name="CheckNaturalNumberRequestMsg">
  <wsdl:part name="parameters" element="tns:CheckNaturalNumberRequest"/>
 </wsdl:message>
 <wsdl:message name="CheckNaturalNumberResponseMsg">
  <wsdl:part name="parameters" element="tns:CheckNaturalNumberResponse"/>
 </wsdl:message>
 <wsdl:portType name="openacsPortType">
  <wsdl:operation name="CheckEmailOperation">
   <wsdl:input message="tns:CheckEmailRequestMsg"/>
   <wsdl:output message="tns:CheckEmailResponseMsg"/>
  </wsdl:operation>
  <wsdl:operation name="CheckPhoneOperation">
   <wsdl:input message="tns:CheckPhoneRequestMsg"/>
   <wsdl:output message="tns:CheckPhoneResponseMsg"/>
  </wsdl:operation>
  <wsdl:operation name="CheckNaturalNumberOperation">
   <wsdl:input message="tns:CheckNaturalNumberRequestMsg"/>
   <wsdl:output message="tns:CheckNaturalNumberResponseMsg"/>
  </wsdl:operation>
 </wsdl:portType>
 <wsdl:binding name="openacsSoapBind" type="tns:openacsPortType">
  <wsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
  <wsdl:operation name="CheckEmailOperation">
   <wsoap:operation style="document" soapAction="https://www.semitasker.com/openacs/CheckEmailOperation"/>
   <wsdl:input>
    <wsoap:body use="literal"/>
   </wsdl:input>
   <wsdl:output>
    <wsoap:body use="literal"/>
   </wsdl:output>
  </wsdl:operation>
  <wsdl:operation name="CheckPhoneOperation">
   <wsoap:operation style="document" soapAction="https://www.semitasker.com/openacs/CheckPhoneOperation"/>
   <wsdl:input>
    <wsoap:body use="literal"/>
   </wsdl:input>
   <wsdl:output>
    <wsoap:body use="literal"/>
   </wsdl:output>
  </wsdl:operation>
  <wsdl:operation name="CheckNaturalNumberOperation">
   <wsoap:operation style="document" soapAction="https://www.semitasker.com/openacs/CheckNaturalNumberOperation"/>
   <wsdl:input>
    <wsoap:body use="literal"/>
   </wsdl:input>
   <wsdl:output>
    <wsoap:body use="literal"/>
   </wsdl:output>
  </wsdl:operation>
 </wsdl:binding>
 <wsdl:service name="openacsService">
  <wsdl:port name="openacsPort" binding="tns:openacsSoapBind">
   <wsoap:address location="http://www.semitasker.com/twist/ws/openacs/"/>
  </wsdl:port>
 </wsdl:service>
</wsdl:definitions>}
    variable documentLinks {config ::openacs simpleTypes ::wsdb::types::openacs complexTypes ::wsdb::elements::openacs messages ::wsdb::messages::openacs operations ::wsdb::operations::openacs portTypes ::wsdb::portTypes::openacs port ::wsdb::ports::openacsPort binding ::wsdb::bindings::openacsSoapBind service ::wsdb::services::openacsService server ::wsdb::servers::openacsServer}

    variable elements
         set elements(CheckNaturalNumberResponse) {{NaturalNumber:openacs::naturalNum IsNaturalNum:boolean} {NaturalNumber IsNaturalNum}}
         set elements(CheckPhoneRequest) {{
    {Phone:openacs::phone}
} Phone}
         set elements(CheckEmailResponse) {{Email:openacs::email IsEmail:boolean} {Email IsEmail}}
         set elements(CheckNaturalNumberRequest) {{
    {NaturalNumber:openacs::naturalNum}
} NaturalNumber}
         set elements(CheckPhoneResponse) {{Phone:openacs::phone IsPhone:boolean} {Phone IsPhone}}
         set elements(CheckEmailRequest) {{

    {Email:openacs::email}
} Email}
    variable frozen 1
    variable host www.semitasker.com
    variable hostHeader www.semitasker.com
    variable hostHeaderList www.semitasker.com
    variable operation CheckNaturalNumberOperation
    variable operations {CheckEmailOperation CheckPhoneOperation CheckNaturalNumberOperation}
    variable port 80
    variable portName openacsPort
    variable portType openacsPortType
    variable protocol https
    variable schemaIsInitialized 1
    variable serverName openacsServer
    variable serviceName openacsService
    variable showDocument 1
    variable soapActionBase https://www.semitasker.com/openacs
    variable targetNamespace http://junom.com/openacs
    variable tclNamespace ::openacs
    variable types
    variable url /twist/ws/openacs/
    variable xmlPrefix openacs

}

Procedures in ::openacs


proc ::openacs::CheckPhone {
    Phone
} {
    return [list $Phone True]
}


proc ::openacs::CheckNaturalNumber {
    NaturalNumber
} {
    return [list $NaturalNumber True]
}


proc ::openacs::CheckEmail {
    Email
} {
    return [list "$Email" "True"]
}