axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Richmond" <crichm...@referentia.com>
Subject RE: remaining 403 errors
Date Wed, 07 May 2008 23:57:35 GMT
WSDL (part 1)

 

<?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://Services.Cas.jhu.edu"
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://Services.Cas.jhu.edu"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">

  <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Provides
user management functionality.</wsdl:documentation>

  <wsdl:types>

    <s:schema elementFormDefault="qualified"
targetNamespace="http://Services.Cas.jhu.edu">

      <s:element name="CreateAccount">

        <s:complexType>

          <s:sequence>

            <s:element minOccurs="1" maxOccurs="1" name="admin_wsid"
type="s:long" />

            <s:element minOccurs="0" maxOccurs="1" name="admin_pw"
type="s:string" />

            <s:element minOccurs="0" maxOccurs="1" name="userid"
type="s:string" />

            <s:element minOccurs="0" maxOccurs="1" name="name"
type="s:string" />

            <s:element minOccurs="0" maxOccurs="1" name="email"
type="s:string" />

            <s:element minOccurs="0" maxOccurs="1" name="password"
type="s:string" />

            <s:element minOccurs="0" maxOccurs="1" name="privileges"
type="s:string" />

            <s:element minOccurs="1" maxOccurs="1" name="emaillevel"
type="s:int" />

            <s:element minOccurs="1" maxOccurs="1" name="gvisible"
type="s:short" />

          </s:sequence>

        </s:complexType>

      </s:element>

      <s:element name="CreateAccountResponse">

        <s:complexType>

          <s:sequence>

            <s:element minOccurs="1" maxOccurs="1"
name="CreateAccountResult" type="s:long" />

          </s:sequence>

        </s:complexType>

      </s:element>

      <s:element name="DeleteAccount">

        <s:complexType>

          <s:sequence>

            <s:element minOccurs="1" maxOccurs="1" name="admin_wsid"
type="s:long" />

            <s:element minOccurs="0" maxOccurs="1" name="admin_pw"
type="s:string" />

            <s:element minOccurs="1" maxOccurs="1" name="deleteme"
type="s:long" />

          </s:sequence>

        </s:complexType>

      </s:element>

      <s:element name="DeleteAccountResponse">

        <s:complexType />

      </s:element>

      <s:element name="UpdateAccount">

        <s:complexType>

          <s:sequence>

            <s:element minOccurs="1" maxOccurs="1" name="wsid" type="s:long"
/>

            <s:element minOccurs="0" maxOccurs="1" name="pw" type="s:string"
/>

            <s:element minOccurs="0" maxOccurs="1" name="user"
type="tns:CJUser" />

          </s:sequence>

        </s:complexType>

      </s:element>

      <s:complexType name="CJUser">

        <s:sequence>

          <s:element minOccurs="0" maxOccurs="1" name="UserID"
type="s:string" />

          <s:element minOccurs="0" maxOccurs="1" name="Name" type="s:string"
/>

          <s:element minOccurs="0" maxOccurs="1" name="Email"
type="s:string" />

          <s:element minOccurs="0" maxOccurs="1" name="Privileges"
type="s:string" />

          <s:element minOccurs="0" maxOccurs="1" name="Password"
type="s:string" />

          <s:element minOccurs="1" maxOccurs="1" name="GVisible"
type="s:boolean" />

          <s:element minOccurs="1" maxOccurs="1" name="WebServicesID"
type="s:long" />

          <s:element minOccurs="1" maxOccurs="1" name="EmailLevel"
type="s:int" />

          <s:element minOccurs="1" maxOccurs="1" name="TimeCreated"
type="s:dateTime" />

        </s:sequence>

      </s:complexType>

      <s:element name="UpdateAccountResponse">

        <s:complexType>

          <s:sequence>

            <s:element minOccurs="1" maxOccurs="1"
name="UpdateAccountResult" type="s:boolean" />

          </s:sequence>

        </s:complexType>

      </s:element>

      <s:element name="GetUsers">

        <s:complexType>

          <s:sequence>

            <s:element minOccurs="1" maxOccurs="1" name="admin_wsid"
type="s:long" />

            <s:element minOccurs="0" maxOccurs="1" name="admin_pw"
type="s:string" />

            <s:element minOccurs="0" maxOccurs="1" name="conditions"
type="s:string" />

          </s:sequence>

        </s:complexType>

      </s:element>

      <s:element name="GetUsersResponse">

        <s:complexType>

          <s:sequence>

            <s:element minOccurs="0" maxOccurs="1" name="GetUsersResult"
type="tns:ArrayOfCJUser" />

          </s:sequence>

        </s:complexType>

      </s:element>

      <s:complexType name="ArrayOfCJUser">

        <s:sequence>

          <s:element minOccurs="0" maxOccurs="unbounded" name="CJUser"
nillable="true" type="tns:CJUser" />

        </s:sequence>

      </s:complexType>

      <s:element name="long" type="s:long" />

      <s:element name="ArrayOfCJUser" nillable="true"
type="tns:ArrayOfCJUser" />

    </s:schema>

  </wsdl:types>

  <wsdl:message name="CreateAccountSoapIn">

    <wsdl:part name="parameters" element="tns:CreateAccount" />

  </wsdl:message>

  <wsdl:message name="CreateAccountSoapOut">

    <wsdl:part name="parameters" element="tns:CreateAccountResponse" />

  </wsdl:message>

  <wsdl:message name="DeleteAccountSoapIn">

    <wsdl:part name="parameters" element="tns:DeleteAccount" />

  </wsdl:message>

  <wsdl:message name="DeleteAccountSoapOut">

    <wsdl:part name="parameters" element="tns:DeleteAccountResponse" />

  </wsdl:message>

  <wsdl:message name="UpdateAccountSoapIn">

    <wsdl:part name="parameters" element="tns:UpdateAccount" />

  </wsdl:message>

  <wsdl:message name="UpdateAccountSoapOut">

    <wsdl:part name="parameters" element="tns:UpdateAccountResponse" />

  </wsdl:message>

  <wsdl:message name="GetUsersSoapIn">

    <wsdl:part name="parameters" element="tns:GetUsers" />

  </wsdl:message>

  <wsdl:message name="GetUsersSoapOut">

    <wsdl:part name="parameters" element="tns:GetUsersResponse" />

  </wsdl:message>

  <wsdl:message name="CreateAccountHttpGetIn">

    <wsdl:part name="admin_wsid" type="s:string" />

    <wsdl:part name="admin_pw" type="s:string" />

    <wsdl:part name="userid" type="s:string" />

    <wsdl:part name="name" type="s:string" />

    <wsdl:part name="email" type="s:string" />

    <wsdl:part name="password" type="s:string" />

    <wsdl:part name="privileges" type="s:string" />

    <wsdl:part name="emaillevel" type="s:string" />

    <wsdl:part name="gvisible" type="s:string" />

  </wsdl:message>

  <wsdl:message name="CreateAccountHttpGetOut">

    <wsdl:part name="Body" element="tns:long" />

  </wsdl:message>

  <wsdl:message name="DeleteAccountHttpGetIn">

    <wsdl:part name="admin_wsid" type="s:string" />

    <wsdl:part name="admin_pw" type="s:string" />

    <wsdl:part name="deleteme" type="s:string" />

  </wsdl:message>

  <wsdl:message name="DeleteAccountHttpGetOut" />

  <wsdl:message name="GetUsersHttpGetIn">

    <wsdl:part name="admin_wsid" type="s:string" />

    <wsdl:part name="admin_pw" type="s:string" />

    <wsdl:part name="conditions" type="s:string" />

  </wsdl:message>

  <wsdl:message name="GetUsersHttpGetOut">

    <wsdl:part name="Body" element="tns:ArrayOfCJUser" />

  </wsdl:message>

  <wsdl:message name="CreateAccountHttpPostIn">

    <wsdl:part name="admin_wsid" type="s:string" />

    <wsdl:part name="admin_pw" type="s:string" />

    <wsdl:part name="userid" type="s:string" />

    <wsdl:part name="name" type="s:string" />

    <wsdl:part name="email" type="s:string" />

    <wsdl:part name="password" type="s:string" />

    <wsdl:part name="privileges" type="s:string" />

    <wsdl:part name="emaillevel" type="s:string" />

    <wsdl:part name="gvisible" type="s:string" />

  </wsdl:message>

  <wsdl:message name="CreateAccountHttpPostOut">

    <wsdl:part name="Body" element="tns:long" />

  </wsdl:message>

  <wsdl:message name="DeleteAccountHttpPostIn">

    <wsdl:part name="admin_wsid" type="s:string" />

    <wsdl:part name="admin_pw" type="s:string" />

    <wsdl:part name="deleteme" type="s:string" />

  </wsdl:message>

  <wsdl:message name="DeleteAccountHttpPostOut" />

  <wsdl:message name="GetUsersHttpPostIn">

    <wsdl:part name="admin_wsid" type="s:string" />

    <wsdl:part name="admin_pw" type="s:string" />

    <wsdl:part name="conditions" type="s:string" />

  </wsdl:message>

  <wsdl:message name="GetUsersHttpPostOut">

    <wsdl:part name="Body" element="tns:ArrayOfCJUser" />

  </wsdl:message>

  <wsdl:portType name="UsersSoap">

    <wsdl:operation name="CreateAccount">

      <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">

Create a new user account.  Returns WebServices of account created. Requires
admin priv.&lt;br/&gt;

&lt;br/&gt;

Parameters:&lt;br/&gt;

long admin_wsid : WebServicesID of account that will create the new account.
This must be an admin account.&lt;br/&gt;

string admin_pw : Password of admin account&lt;br/&gt;

string userid : Desired UserID of new user.  Must be unique.&lt;br/&gt;

string name : Name of user&lt;br/&gt;

string email : Email of user&lt;br/&gt;

string password : Password of user.&lt;br/&gt;

string privileges : Privileges of user.  Defaults to null.&lt;br/&gt;

int emaillevel : Describes when to send automatic email to this user.  Valid
values are below&lt;br/&gt;

&amp;nbsp;0 = do not send automated mail to this user&lt;br/&gt;

&amp;nbsp;1 = send automated mail when non-quick jobs fail&lt;br/&gt;

&amp;nbsp;2 = send automated mail when non-quick jobs complete
successfully&lt;br/&gt;

&amp;nbsp;3 = send automated mail in either of the above two
cases&lt;br/&gt;

short gvisible : Determines whether a user is visible for group membership.
1 for yes, 0 for no.&lt;br/&gt;

</wsdl:documentation>

      <wsdl:input message="tns:CreateAccountSoapIn" />

      <wsdl:output message="tns:CreateAccountSoapOut" />

    </wsdl:operation>

    <wsdl:operation name="DeleteAccount">

      <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">

Fully removes an account from the system.  Requires admin priv.  This method
has no output when succesful.&lt;br/&gt;

&lt;br/&gt;

Parameters:&lt;br/&gt;

long admin_wsid : WebServicesID of admin user.&lt;br/&gt;

string admin_pw : Password of admin account&lt;br/&gt;

long deleteme : WebServicesID of account to delete

</wsdl:documentation>

      <wsdl:input message="tns:DeleteAccountSoapIn" />

      <wsdl:output message="tns:DeleteAccountSoapOut" />

    </wsdl:operation>

    <wsdl:operation name="UpdateAccount">

      <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">

Update account described by 'wsid' with information described in 'user'
param.&lt;br/&gt;  

The WebServicesID in 'user' must match 'wsid'; users may only update their
own account.&lt;br/&gt;

Fields left null in the User object will also be updated as null in the
db.&lt;br/&gt;

&lt;br/&gt;

Parameters:&lt;br/&gt;

 


Mime
View raw message