Sample SOAP request to add a service to users via TEWS

Document ID : KB000046892
Last Modified Date : 14/02/2018
Show Technical Document Details

Summary

The following sample SOAP request shows how a service request can be submitted for a user via TEWS.  

 

Instructions: 

Execute the following request in SOAP UI, using credentials and values appropriate to your environment:
 
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsdl="http://tews6/wsdl">
   <soapenv:Header/>
   <soapenv:Body>
      <wsdl:TaskContext>
        <admin_id>imadmin</admin_id>
<admin_password>password</admin_password>
      </wsdl:TaskContext>
      <wsdl:ManageAccessRequestMembership>
         <wsdl:ManageAccessRequestMembershipSearch>
            <wsdl:Filter index="0">
               <wsdl:Field>%FRIENDLY_NAME%</wsdl:Field>
               <wsdl:Op>EQUALS</wsdl:Op>
               <wsdl:Value>TestService01</wsdl:Value>
            </wsdl:Filter>
         </wsdl:ManageAccessRequestMembershipSearch>
         <wsdl:ManageAccessRequestMembershipUserServiceTab>
            <wsdl:ObjectList>
               <wsdl:add index="0">
                  <wsdl:FriendlyName>pxtest01</wsdl:FriendlyName>
               </wsdl:add>
 </wsdl:ObjectList>
         </wsdl:ManageAccessRequestMembershipUserServiceTab>
      </wsdl:ManageAccessRequestMembership>
   </soapenv:Body>
</soapenv:Envelope>
 
 

Additional Information:

The SOAP response will be the transaction ID number, for example:
 
<soapenv:Envelope xsi:schemaLocation="http://schemas.xmlsoap.org/soap/envelope/ http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns="http://tews6/wsdl" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
   <soapenv:Body>
      <ImsStatus version="6.0">
         <transactionId>3b27c662-2331f63f-0ec8da29-9e6eeb</transactionId>
      </ImsStatus>
   </soapenv:Body>
</soapenv:Envelope>