Developing an asp.net application to manage users in general (AD, etc) and as part of that I want to be able to add a new user to a BES using the new 5.0.3 web services as this seems the way forward, cross platform (Domino, Exchange, etc) - note also I haven't used the previous/existing API before.
Using the links you provided to the documentation I've managed to crib from the example "program.cs" to setup the web services calls (using Active Directory rather then example BES access) and have duplicated the "getusers" from the example too so I have the calls to web services working fine, the SSL all working, and can make requests and get responses.
What I'm struggling with though is to make a call to the CreateUsersRequest one needs to create a NewUser object with it's respective UserAttributes, AccountAttributes and Server objects which although detailed field wise in the API doc I found (your links's invalid?) I'm not sure exactly what fields are required at a minimum and possible where to get them from?
In other words is there fuller documentation or a tutorial/example maybe (similar to the example in the getting started) that shows how to add a new user to BES rather than just how to get a list of users?
Thanks & regards,
I used the BlackBerry Administration API for Microsoft Visual C# developers. It has a sample for creating users.
There is an online version:
Hope this helps,
As discussed previously, you mention...
For more information on BWS, including full documentation and more details on why it will be the way to develop moving forward...
In BAA, there seems to be quite a few methods that are no longer available in BWS. As for example, the coreWebService.findServices(); method. Does BWS offer the same / even more capability that what BAA offered ?
Also, in the even where I'm trying to fetch the supported BCS instances and the supported MDS instances... which BWS method should I be invoking ?
BWS does not have all the methods provided by BAA, but it needed to start somewhere. It's not that methods are "no longer available", they just have not been created yet. Functionality will continue to be added with each subsequent release as can be seen already when comparing the 5.0.3 to 6.0.0 API documentation:
Could you clarify what you mean by "BCS instances"?
With BWS all classes represent business objects, and the calls are fairly straight-forward, so if there is no MDS-CS class listed, and no calls in the get*() section that retrieve services, then it will not likely be possible to retrieve these specific objects currently. In this case the service instances cannot be returned currently (apart from the BES and BWS services).
Ok, I see... So BAA is to be phased out and BWS will eventually provide all or most functionality has it progress !
As for the BCS instance, I'm refering to the following BAS information... So in my custom app, I would like to pull the Collaboration instances and the MDS connection service instance in order to retreive it's statuses...