Workflow Name: amset16queryusers#
Constituent Services: AuthenticationService, AdministrationService, InitQueryUsersWS, DateTimeWS#
Technical Notes#
Platform: GlassFishESB V2.1, NetBeans IDE 6.5.1 (including BPEL Designer, implementing WS-BPEL 2.0)
Java: 1.6.0_12; Java HotSpot(TM) Client VM 11.0-b15
System: Windows XP version 5.1 running on x86; Cp1252; en_GB (nb).
Alfresco Labs 3.1 Final running on remote server, 64-bit Java 1.6.0_13, Tomcat 6 on Red Hat Enterprise Linux 5.
Workflow Description#
This workflow returns details on all users, or on one user if the username is given as a filter in the request.
The SOAP response is shown in a snippet below. The querySession string in the response is to correlate getting large resultsets back in multiple chunks.
Input/Output#
Code snippet 16.1. AdministrationService.queryUsers() SOAP request, no filter.
<?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"> <SOAP-ENV:Header> <Security xmlns="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"> <wsu:Timestamp xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"> <wsu:Created>2009-08-30T12:56:15.46+00:00</wsu:Created> <wsu:Expires>2009-08-30T13:00:15.00+00:00</wsu:Expires> </wsu:Timestamp> <UsernameToken> <Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">TICKET_d40ee9ca0ce9c5b4a1dcfb6704fce8aafe7cfb3a</Password> <Username>admin</Username> </UsernameToken> </Security> </SOAP-ENV:Header> <SOAP-ENV:Body> <queryUsers xmlns="http://www.alfresco.org/ws/service/administration/1.0" xmlns:msgns="http://www.alfresco.org/ws/service/administration/1.0"> <msgns:filter> <msgns:userName/> </msgns:filter> </queryUsers> </SOAP-ENV:Body> </SOAP-ENV:Envelope>
Code snippet 16.2. AdministrationService.queryUsers() SOAP response, no filter.
<?xml version="1.0" encoding="UTF-8"?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soapenv:Body> <queryUsersResponse xmlns="http://www.alfresco.org/ws/service/administration/1.0"> <result> <querySession xsi:nil="true"/> <userDetails> <userName>Thing2</userName> <properties> <ns1:name xmlns:ns1="http://www.alfresco.org/ws/model/content/1.0">{http://www.alfresco.org/model/content/1.0}name</ns1:name> <ns2:isMultiValue xmlns:ns2="http://www.alfresco.org/ws/model/content/1.0">false</ns2:isMultiValue> <ns3:value xmlns:ns3="http://www.alfresco.org/ws/model/content/1.0">b66b9bb4-e4aa-4df2-ae3c-9cde7ab88e02</ns3:value> </properties> <properties> <ns4:name xmlns:ns4="http://www.alfresco.org/ws/model/content/1.0">{http://www.alfresco.org/model/system/1.0}node-dbid</ns4:name> <ns5:isMultiValue xmlns:ns5="http://www.alfresco.org/ws/model/content/1.0">false</ns5:isMultiValue> <ns6:value xmlns:ns6="http://www.alfresco.org/ws/model/content/1.0">546</ns6:value> </properties> <properties> <ns7:name xmlns:ns7="http://www.alfresco.org/ws/model/content/1.0">{http://www.alfresco.org/model/content/1.0}email</ns7:name> <ns8:isMultiValue xmlns:ns8="http://www.alfresco.org/ws/model/content/1.0">false</ns8:isMultiValue> <ns9:value xmlns:ns9="http://www.alfresco.org/ws/model/content/1.0">ben.grimm@baxtercorp.com</ns9:value> </properties> <properties> <ns10:name xmlns:ns10="http://www.alfresco.org/ws/model/content/1.0">{http://www.alfresco.org/model/content/1.0}userName</ns10:name> <ns11:isMultiValue xmlns:ns11="http://www.alfresco.org/ws/model/content/1.0">false</ns11:isMultiValue> <ns12:value xmlns:ns12="http://www.alfresco.org/ws/model/content/1.0">Thing2</ns12:value> </properties> <properties> <ns13:name xmlns:ns13="http://www.alfresco.org/ws/model/content/1.0">{http://www.alfresco.org/model/content/1.0}sizeCurrent</ns13:name> <ns14:isMultiValue xmlns:ns14="http://www.alfresco.org/ws/model/content/1.0">false</ns14:isMultiValue> <ns15:value xmlns:ns15="http://www.alfresco.org/ws/model/content/1.0">0</ns15:value> </properties> <properties> <ns16:name xmlns:ns16="http://www.alfresco.org/ws/model/content/1.0">{http://www.alfresco.org/model/content/1.0}lastName</ns16:name> <ns17:isMultiValue xmlns:ns17="http://www.alfresco.org/ws/model/content/1.0">false</ns17:isMultiValue> <ns18:value xmlns:ns18="http://www.alfresco.org/ws/model/content/1.0">Grimm</ns18:value> </properties> <properties> <ns19:name xmlns:ns19="http://www.alfresco.org/ws/model/content/1.0">{http://www.alfresco.org/model/content/1.0}firstName</ns19:name> <ns20:isMultiValue xmlns:ns20="http://www.alfresco.org/ws/model/content/1.0">false</ns20:isMultiValue> <ns21:value xmlns:ns21="http://www.alfresco.org/ws/model/content/1.0">Ben</ns21:value> </properties> <properties> <ns22:name xmlns:ns22="http://www.alfresco.org/ws/model/content/1.0">{http://www.alfresco.org/model/content/1.0}homeFolder</ns22:name> <ns23:isMultiValue xmlns:ns23="http://www.alfresco.org/ws/model/content/1.0">false</ns23:isMultiValue> <ns24:value xmlns:ns24="http://www.alfresco.org/ws/model/content/1.0">workspace://SpacesStore/98d0deed-a240-45a3-9a23-d5d75fbad54e</ns24:value> </properties> </userDetails> <userDetails> <userName>flash</userName> <properties> <ns25:name xmlns:ns25="http://www.alfresco.org/ws/model/content/1.0">{http://www.alfresco.org/model/content/1.0}name</ns25:name> <ns26:isMultiValue xmlns:ns26="http://www.alfresco.org/ws/model/content/1.0">false</ns26:isMultiValue> <ns27:value xmlns:ns27="http://www.alfresco.org/ws/model/content/1.0">a6d83fa3-9d0d-4c76-b73a-a67d1a72f5ff</ns27:value> </properties> <properties> <ns28:name xmlns:ns28="http://www.alfresco.org/ws/model/content/1.0">{http://www.alfresco.org/model/system/1.0}node-dbid</ns28:name> <ns29:isMultiValue xmlns:ns29="http://www.alfresco.org/ws/model/content/1.0">false</ns29:isMultiValue> <ns30:value xmlns:ns30="http://www.alfresco.org/ws/model/content/1.0">459</ns30:value> </properties> <properties> <ns31:name xmlns:ns31="http://www.alfresco.org/ws/model/content/1.0">{http://www.alfresco.org/model/content/1.0}organizationId</ns31:name> <ns32:isMultiValue xmlns:ns32="http://www.alfresco.org/ws/model/content/1.0">false</ns32:isMultiValue> <ns33:value xmlns:ns33="http://www.alfresco.org/ws/model/content/1.0">A39401275D1B300AA789FB22AEA4148A</ns33:value> </properties> <properties> <ns34:name xmlns:ns34="http://www.alfresco.org/ws/model/content/1.0">{http://www.alfresco.org/model/content/1.0}email</ns34:name> <ns35:isMultiValue xmlns:ns35="http://www.alfresco.org/ws/model/content/1.0">false</ns35:isMultiValue> <ns36:value xmlns:ns36="http://www.alfresco.org/ws/model/content/1.0">B.Allen@DCcomics.net</ns36:value> </properties> <properties> <ns37:name xmlns:ns37="http://www.alfresco.org/ws/model/content/1.0">{http://www.alfresco.org/model/content/1.0}middleName</ns37:name> <ns38:isMultiValue xmlns:ns38="http://www.alfresco.org/ws/model/content/1.0">false</ns38:isMultiValue> <ns39:value xmlns:ns39="http://www.alfresco.org/ws/model/content/1.0"/> </properties> <properties> <ns40:name xmlns:ns40="http://www.alfresco.org/ws/model/content/1.0">{http://www.alfresco.org/model/content/1.0}presenceUsername</ns40:name> <ns41:isMultiValue xmlns:ns41="http://www.alfresco.org/ws/model/content/1.0">false</ns41:isMultiValue> <ns42:value xmlns:ns42="http://www.alfresco.org/ws/model/content/1.0">flash</ns42:value> </properties> <properties> <ns43:name xmlns:ns43="http://www.alfresco.org/ws/model/content/1.0">{http://www.alfresco.org/model/content/1.0}organization</ns43:name> <ns44:isMultiValue xmlns:ns44="http://www.alfresco.org/ws/model/content/1.0">false</ns44:isMultiValue> <ns45:value xmlns:ns45="http://www.alfresco.org/ws/model/content/1.0"/> </properties> <properties> <ns46:name xmlns:ns46="http://www.alfresco.org/ws/model/content/1.0">{http://www.alfresco.org/model/content/1.0}jobtitle</ns46:name> <ns47:isMultiValue xmlns:ns47="http://www.alfresco.org/ws/model/content/1.0">false</ns47:isMultiValue> <ns48:value xmlns:ns48="http://www.alfresco.org/ws/model/content/1.0"/> </properties> <properties> <ns49:name xmlns:ns49="http://www.alfresco.org/ws/model/content/1.0">{http://www.alfresco.org/model/content/1.0}lastName</ns49:name> <ns50:isMultiValue xmlns:ns50="http://www.alfresco.org/ws/model/content/1.0">false</ns50:isMultiValue> <ns51:value xmlns:ns51="http://www.alfresco.org/ws/model/content/1.0">Allen</ns51:value> </properties> <properties> <ns52:name xmlns:ns52="http://www.alfresco.org/ws/model/content/1.0">{http://www.alfresco.org/model/content/1.0}homeFolder</ns52:name> <ns53:isMultiValue xmlns:ns53="http://www.alfresco.org/ws/model/content/1.0">false</ns53:isMultiValue> <ns54:value xmlns:ns54="http://www.alfresco.org/ws/model/content/1.0">workspace://SpacesStore/8a8ca6f9-a655-4603-a2f4-36eea4019c84</ns54:value> </properties> <properties> <ns55:name xmlns:ns55="http://www.alfresco.org/ws/model/content/1.0">{http://www.alfresco.org/model/content/1.0}presenceProvider</ns55:name> <ns56:isMultiValue xmlns:ns56="http://www.alfresco.org/ws/model/content/1.0">false</ns56:isMultiValue> <ns57:value xmlns:ns57="http://www.alfresco.org/ws/model/content/1.0">skype</ns57:value> </properties> <properties> <ns58:name xmlns:ns58="http://www.alfresco.org/ws/model/content/1.0">{http://www.alfresco.org/model/content/1.0}location</ns58:name> <ns59:isMultiValue xmlns:ns59="http://www.alfresco.org/ws/model/content/1.0">false</ns59:isMultiValue> <ns60:value xmlns:ns60="http://www.alfresco.org/ws/model/content/1.0"/> </properties> <properties> <ns61:name xmlns:ns61="http://www.alfresco.org/ws/model/content/1.0">{http://www.alfresco.org/model/content/1.0}sizeQuota</ns61:name> <ns62:isMultiValue xmlns:ns62="http://www.alfresco.org/ws/model/content/1.0">false</ns62:isMultiValue> <ns63:value xmlns:ns63="http://www.alfresco.org/ws/model/content/1.0">-1</ns63:value> </properties> <properties> <ns64:name xmlns:ns64="http://www.alfresco.org/ws/model/content/1.0">{http://www.alfresco.org/model/content/1.0}userName</ns64:name> <ns65:isMultiValue xmlns:ns65="http://www.alfresco.org/ws/model/content/1.0">false</ns65:isMultiValue> <ns66:value xmlns:ns66="http://www.alfresco.org/ws/model/content/1.0">flash</ns66:value> </properties> <properties> <ns67:name xmlns:ns67="http://www.alfresco.org/ws/model/content/1.0">{http://www.alfresco.org/model/content/1.0}sizeCurrent</ns67:name> <ns68:isMultiValue xmlns:ns68="http://www.alfresco.org/ws/model/content/1.0">false</ns68:isMultiValue> <ns69:value xmlns:ns69="http://www.alfresco.org/ws/model/content/1.0">0</ns69:value> </properties> <properties> <ns70:name xmlns:ns70="http://www.alfresco.org/ws/model/content/1.0">{http://www.alfresco.org/model/content/1.0}firstName</ns70:name> <ns71:isMultiValue xmlns:ns71="http://www.alfresco.org/ws/model/content/1.0">false</ns71:isMultiValue> <ns72:value xmlns:ns72="http://www.alfresco.org/ws/model/content/1.0">Barry</ns72:value> </properties> </userDetails> ... ... ... <userDetails> <userName>daredevil</userName> <properties> <ns337:name xmlns:ns337="http://www.alfresco.org/ws/model/content/1.0">{http://www.alfresco.org/model/content/1.0}name</ns337:name> <ns338:isMultiValue xmlns:ns338="http://www.alfresco.org/ws/model/content/1.0">false</ns338:isMultiValue> <ns339:value xmlns:ns339="http://www.alfresco.org/ws/model/content/1.0">ae28d03d-4043-4baa-a6f2-a61ed62dde27</ns339:value> </properties> <properties> <ns340:name xmlns:ns340="http://www.alfresco.org/ws/model/content/1.0">{http://www.alfresco.org/model/content/1.0}organizationId</ns340:name> <ns341:isMultiValue xmlns:ns341="http://www.alfresco.org/ws/model/content/1.0">false</ns341:isMultiValue> <ns342:value xmlns:ns342="http://www.alfresco.org/ws/model/content/1.0"/> </properties> <properties> <ns343:name xmlns:ns343="http://www.alfresco.org/ws/model/content/1.0">{http://www.alfresco.org/model/content/1.0}email</ns343:name> <ns344:isMultiValue xmlns:ns344="http://www.alfresco.org/ws/model/content/1.0">false</ns344:isMultiValue> <ns345:value xmlns:ns345="http://www.alfresco.org/ws/model/content/1.0">b.p.clark@leeds.ac.uk</ns345:value> </properties> <properties> <ns346:name xmlns:ns346="http://www.alfresco.org/ws/model/content/1.0">{http://www.alfresco.org/model/system/1.0}node-dbid</ns346:name> <ns347:isMultiValue xmlns:ns347="http://www.alfresco.org/ws/model/content/1.0">false</ns347:isMultiValue> <ns348:value xmlns:ns348="http://www.alfresco.org/ws/model/content/1.0">462</ns348:value> </properties> <properties> <ns349:name xmlns:ns349="http://www.alfresco.org/ws/model/content/1.0">{http://www.alfresco.org/model/content/1.0}presenceUsername</ns349:name> <ns350:isMultiValue xmlns:ns350="http://www.alfresco.org/ws/model/content/1.0">false</ns350:isMultiValue> <ns351:value xmlns:ns351="http://www.alfresco.org/ws/model/content/1.0">daredevil</ns351:value> </properties> <properties> <ns352:name xmlns:ns352="http://www.alfresco.org/ws/model/content/1.0">{http://www.alfresco.org/model/content/1.0}organization</ns352:name> <ns353:isMultiValue xmlns:ns353="http://www.alfresco.org/ws/model/content/1.0">false</ns353:isMultiValue> <ns354:value xmlns:ns354="http://www.alfresco.org/ws/model/content/1.0"/> </properties> <properties> <ns355:name xmlns:ns355="http://www.alfresco.org/ws/model/content/1.0">{http://www.alfresco.org/model/content/1.0}jobtitle</ns355:name> <ns356:isMultiValue xmlns:ns356="http://www.alfresco.org/ws/model/content/1.0">false</ns356:isMultiValue> <ns357:value xmlns:ns357="http://www.alfresco.org/ws/model/content/1.0"/> </properties> <properties> <ns358:name xmlns:ns358="http://www.alfresco.org/ws/model/content/1.0">{http://www.alfresco.org/model/content/1.0}lastName</ns358:name> <ns359:isMultiValue xmlns:ns359="http://www.alfresco.org/ws/model/content/1.0">false</ns359:isMultiValue> <ns360:value xmlns:ns360="http://www.alfresco.org/ws/model/content/1.0">murdock</ns360:value> </properties> <properties> <ns361:name xmlns:ns361="http://www.alfresco.org/ws/model/content/1.0">{http://www.alfresco.org/model/content/1.0}homeFolder</ns361:name> <ns362:isMultiValue xmlns:ns362="http://www.alfresco.org/ws/model/content/1.0">false</ns362:isMultiValue> <ns363:value xmlns:ns363="http://www.alfresco.org/ws/model/content/1.0">workspace://SpacesStore/7e0d8c9d-37e2-4954-ae58-27c4f7f6a66a</ns363:value> </properties> <properties> <ns364:name xmlns:ns364="http://www.alfresco.org/ws/model/content/1.0">{http://www.alfresco.org/model/content/1.0}presenceProvider</ns364:name> <ns365:isMultiValue xmlns:ns365="http://www.alfresco.org/ws/model/content/1.0">false</ns365:isMultiValue> <ns366:value xmlns:ns366="http://www.alfresco.org/ws/model/content/1.0">skype</ns366:value> </properties> <properties> <ns367:name xmlns:ns367="http://www.alfresco.org/ws/model/content/1.0">{http://www.alfresco.org/model/content/1.0}location</ns367:name> <ns368:isMultiValue xmlns:ns368="http://www.alfresco.org/ws/model/content/1.0">false</ns368:isMultiValue> <ns369:value xmlns:ns369="http://www.alfresco.org/ws/model/content/1.0"/> </properties> <properties> <ns370:name xmlns:ns370="http://www.alfresco.org/ws/model/content/1.0">{http://www.alfresco.org/model/content/1.0}sizeQuota</ns370:name> <ns371:isMultiValue xmlns:ns371="http://www.alfresco.org/ws/model/content/1.0">false</ns371:isMultiValue> <ns372:value xmlns:ns372="http://www.alfresco.org/ws/model/content/1.0">-1</ns372:value> </properties> <properties> <ns373:name xmlns:ns373="http://www.alfresco.org/ws/model/content/1.0">{http://www.alfresco.org/model/content/1.0}userName</ns373:name> <ns374:isMultiValue xmlns:ns374="http://www.alfresco.org/ws/model/content/1.0">false</ns374:isMultiValue> <ns375:value xmlns:ns375="http://www.alfresco.org/ws/model/content/1.0">daredevil</ns375:value> </properties> <properties> <ns376:name xmlns:ns376="http://www.alfresco.org/ws/model/content/1.0">{http://www.alfresco.org/model/content/1.0}sizeCurrent</ns376:name> <ns377:isMultiValue xmlns:ns377="http://www.alfresco.org/ws/model/content/1.0">false</ns377:isMultiValue> <ns378:value xmlns:ns378="http://www.alfresco.org/ws/model/content/1.0">0</ns378:value> </properties> <properties> <ns379:name xmlns:ns379="http://www.alfresco.org/ws/model/content/1.0">{http://www.alfresco.org/model/content/1.0}firstName</ns379:name> <ns380:isMultiValue xmlns:ns380="http://www.alfresco.org/ws/model/content/1.0">false</ns380:isMultiValue> <ns381:value xmlns:ns381="http://www.alfresco.org/ws/model/content/1.0">matt</ns381:value> </properties> </userDetails> <userDetails> <userName>guest</userName> <properties> <ns382:name xmlns:ns382="http://www.alfresco.org/ws/model/content/1.0">{http://www.alfresco.org/model/content/1.0}name</ns382:name> <ns383:isMultiValue xmlns:ns383="http://www.alfresco.org/ws/model/content/1.0">false</ns383:isMultiValue> <ns384:value xmlns:ns384="http://www.alfresco.org/ws/model/content/1.0">eeae6ae8-c42f-4519-8bd8-70c19779da55</ns384:value> </properties> <properties> <ns385:name xmlns:ns385="http://www.alfresco.org/ws/model/content/1.0">{http://www.alfresco.org/model/system/1.0}node-dbid</ns385:name> <ns386:isMultiValue xmlns:ns386="http://www.alfresco.org/ws/model/content/1.0">false</ns386:isMultiValue> <ns387:value xmlns:ns387="http://www.alfresco.org/ws/model/content/1.0">31</ns387:value> </properties> <properties> <ns388:name xmlns:ns388="http://www.alfresco.org/ws/model/content/1.0">{http://www.alfresco.org/model/content/1.0}organizationId</ns388:name> <ns389:isMultiValue xmlns:ns389="http://www.alfresco.org/ws/model/content/1.0">false</ns389:isMultiValue> <ns390:value xmlns:ns390="http://www.alfresco.org/ws/model/content/1.0"/> </properties> <properties> <ns391:name xmlns:ns391="http://www.alfresco.org/ws/model/content/1.0">{http://www.alfresco.org/model/content/1.0}email</ns391:name> <ns392:isMultiValue xmlns:ns392="http://www.alfresco.org/ws/model/content/1.0">false</ns392:isMultiValue> <ns393:value xmlns:ns393="http://www.alfresco.org/ws/model/content/1.0"/> </properties> <properties> <ns394:name xmlns:ns394="http://www.alfresco.org/ws/model/content/1.0">{http://www.alfresco.org/model/content/1.0}homeFolderProvider</ns394:name> <ns395:isMultiValue xmlns:ns395="http://www.alfresco.org/ws/model/content/1.0">false</ns395:isMultiValue> <ns396:value xmlns:ns396="http://www.alfresco.org/ws/model/content/1.0">bootstrapHomeFolderProvider</ns396:value> </properties> <properties> <ns397:name xmlns:ns397="http://www.alfresco.org/ws/model/content/1.0">{http://www.alfresco.org/model/content/1.0}userName</ns397:name> <ns398:isMultiValue xmlns:ns398="http://www.alfresco.org/ws/model/content/1.0">false</ns398:isMultiValue> <ns399:value xmlns:ns399="http://www.alfresco.org/ws/model/content/1.0">guest</ns399:value> </properties> <properties> <ns400:name xmlns:ns400="http://www.alfresco.org/ws/model/content/1.0">{http://www.alfresco.org/model/content/1.0}sizeCurrent</ns400:name> <ns401:isMultiValue xmlns:ns401="http://www.alfresco.org/ws/model/content/1.0">false</ns401:isMultiValue> <ns402:value xmlns:ns402="http://www.alfresco.org/ws/model/content/1.0">0</ns402:value> </properties> <properties> <ns403:name xmlns:ns403="http://www.alfresco.org/ws/model/content/1.0">{http://www.alfresco.org/model/content/1.0}lastName</ns403:name> <ns404:isMultiValue xmlns:ns404="http://www.alfresco.org/ws/model/content/1.0">false</ns404:isMultiValue> <ns405:value xmlns:ns405="http://www.alfresco.org/ws/model/content/1.0"/> </properties> <properties> <ns406:name xmlns:ns406="http://www.alfresco.org/ws/model/content/1.0">{http://www.alfresco.org/model/content/1.0}firstName</ns406:name> <ns407:isMultiValue xmlns:ns407="http://www.alfresco.org/ws/model/content/1.0">false</ns407:isMultiValue> <ns408:value xmlns:ns408="http://www.alfresco.org/ws/model/content/1.0">Guest</ns408:value> </properties> <properties> <ns409:name xmlns:ns409="http://www.alfresco.org/ws/model/content/1.0">{http://www.alfresco.org/model/content/1.0}homeFolder</ns409:name> <ns410:isMultiValue xmlns:ns410="http://www.alfresco.org/ws/model/content/1.0">false</ns410:isMultiValue> <ns411:value xmlns:ns411="http://www.alfresco.org/ws/model/content/1.0">workspace://SpacesStore/3fbf5f19-c784-4aa2-95ad-34d6905badeb</ns411:value> </properties> </userDetails> </result> </queryUsersResponse> </soapenv:Body> </soapenv:Envelope>